File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 "pattern" : " ^https://github.com/([^/]+)/([^/]+)(?<!.git)$" ,
1212 "format" : " uri"
1313 },
14+ "branch" : {
15+ "description" : " Optional branch within Git repo." ,
16+ "type" : " string" ,
17+ "pattern" : " ^.+$"
18+ },
1419 "directory" : {
1520 "description" : " Optional path within Git repo where the Raft implementation is located." ,
1621 "type" : " string" ,
17- "pattern" : " ^[^/].*/ $"
22+ "pattern" : " ^[^/].*[^/] $"
1823 },
1924 "name" : {
2025 "description" : " Implementation project name. If the project is referred to as 'Raft', disambiguate it." ,
Original file line number Diff line number Diff line change 10071007 },
10081008 {
10091009 "repoURL" : " https://github.com/dotnet/dotNext" ,
1010- "directory" : " src/cluster/ " ,
1010+ "directory" : " src/cluster" ,
10111011 "name" : " .NEXT Raft" ,
10121012 "authors" : [
10131013 {
12881288 "persistence" : true
12891289 }
12901290 },
1291+ {
1292+ "repoURL" : " https://github.com/glycerine/rpc25519" ,
1293+ "directory" : " tube" ,
1294+ "name" : " Tube" ,
1295+ "authors" : [
1296+ {
1297+ "name" : " Jason E. Aten, Ph.D." ,
1298+ "github" : " glycerine"
1299+ }
1300+ ],
1301+ "language" : " Go" ,
1302+ "license" : " BSD-3-Clause" ,
1303+ "features" : {
1304+ "basic" : true ,
1305+ "membershipChanges" : true ,
1306+ "logCompaction" : true ,
1307+ "persistence" : true
1308+ }
1309+ },
12911310 {
12921311 "repoURL" : " https://github.com/goraft/raft" ,
12931312 "name" : " go-raft" ,
13841403 },
13851404 {
13861405 "repoURL" : " https://github.com/hazelcast/hazelcast" ,
1387- "directory" : " hazelcast/src/main/java/com/hazelcast/cp/internal/raft/ " ,
1406+ "directory" : " hazelcast/src/main/java/com/hazelcast/cp/internal/raft" ,
13881407 "name" : " hazelcast-raft" ,
13891408 "authors" : [
13901409 {
20062025 },
20072026 {
20082027 "repoURL" : " https://github.com/permazen/permazen" ,
2009- "directory" : " permazen/permazen -kv-raft/ " ,
2028+ "directory" : " permazen-kv-raft" ,
20102029 "name" : " Permazen/RaftKVDatabase" ,
20112030 "authors" : [
20122031 {
Original file line number Diff line number Diff line change 3131 row . append ( $ ( '<td>' ) . text ( stars ) ) ;
3232
3333 const name = $ ( '<td>' ) ;
34- name . append ( $ ( '<a>' ) . attr ( 'href' , impl . repoURL ) . text ( impl . name ) ) ;
34+ let url = impl . repoURL ;
35+ if ( impl . branch ) {
36+ url += '/tree/' + impl . branch ;
37+ if ( impl . directory ) {
38+ url += '/' + impl . directory ;
39+ }
40+ } else {
41+ if ( impl . directory ) {
42+ url += '/tree/HEAD/' + impl . directory ;
43+ }
44+ }
45+ name . append ( $ ( '<a>' ) . attr ( 'href' , url ) . text ( impl . name ) ) ;
3546 if ( impl . archived === true ) {
3647 name . append ( ' (archived)' ) ;
3748 }
You can’t perform that action at this time.
0 commit comments