Skip to content

Commit e6e76e3

Browse files
committed
Merge branch 'add_tube'
2 parents d48a1ca + e22bf54 commit e6e76e3

3 files changed

Lines changed: 40 additions & 5 deletions

File tree

implementation.schema.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,15 @@
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.",

implementations.json

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,7 +1007,7 @@
10071007
},
10081008
{
10091009
"repoURL": "https://github.com/dotnet/dotNext",
1010-
"directory": "src/cluster/",
1010+
"directory": "src/cluster",
10111011
"name": ".NEXT Raft",
10121012
"authors": [
10131013
{
@@ -1288,6 +1288,25 @@
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",
@@ -1384,7 +1403,7 @@
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
{
@@ -2006,7 +2025,7 @@
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
{

index.html

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,18 @@
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
}

0 commit comments

Comments
 (0)