Skip to content

Commit 1243069

Browse files
authored
Merge pull request #201 from raft/missing-archived-impls
Annotate archived repos with "(archived)", etc
2 parents 729aae3 + ffc9d8c commit 1243069

File tree

3 files changed

+12
-72
lines changed

3 files changed

+12
-72
lines changed

fetch_repo_info.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
"""
1414
Possibly interesting fields:
15+
- archived
1516
- created_at
1617
- description
1718
- forks_count
@@ -101,7 +102,8 @@ def main(filename='repos.jsonp'):
101102
json.dump(dict([(url,
102103
{'rank': repo['rank'],
103104
'stars': repo['stargazers_count'],
104-
'updated': repo['updated_at']})
105+
'updated': repo['updated_at'],
106+
'archived': repo['archived']})
105107
for (url, repo) in repos]),
106108
f,
107109
indent=4)

implementations.json

Lines changed: 0 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -280,23 +280,6 @@
280280
"persistence": true
281281
}
282282
},
283-
{
284-
"repoURL": "https://github.com/adi/raft.ts",
285-
"name": "raft.ts",
286-
"authors": [
287-
{
288-
"name": "Adrian Punga",
289-
"github": "adi"
290-
}
291-
],
292-
"language": "TypeScript",
293-
"license": "Apache-2.0",
294-
"features": {
295-
"basic": false,
296-
"membershipChanges": false,
297-
"logCompaction": false
298-
}
299-
},
300283
{
301284
"repoURL": "https://github.com/adsharma/raft",
302285
"name": "python3-raft",
@@ -740,22 +723,6 @@
740723
"logCompaction": false
741724
}
742725
},
743-
{
744-
"repoURL": "https://github.com/chicm/CmRaft",
745-
"name": "chicm/CmRaft",
746-
"authors": [
747-
{
748-
"name": "Cheng Min Chi"
749-
}
750-
],
751-
"language": "Java",
752-
"license": "Apache-2.0",
753-
"features": {
754-
"basic": true,
755-
"membershipChanges": false,
756-
"logCompaction": false
757-
}
758-
},
759726
{
760727
"repoURL": "https://github.com/cloud-software-foundation/c5-replicator",
761728
"name": "C5 replicator",
@@ -1978,24 +1945,6 @@
19781945
"persistence": true
19791946
}
19801947
},
1981-
{
1982-
"repoURL": "https://github.com/pi-plan/praft",
1983-
"name": "PRaft",
1984-
"authors": [
1985-
{
1986-
"name": "Buqing Ma",
1987-
"github": "laomafeima"
1988-
}
1989-
],
1990-
"language": "Python",
1991-
"license": "BSD",
1992-
"features": {
1993-
"basic": true,
1994-
"membershipChanges": true,
1995-
"logCompaction": true,
1996-
"persistence": true
1997-
}
1998-
},
19991948
{
20001949
"repoURL": "https://github.com/pingcap/tikv",
20011950
"name": "TiKV",
@@ -2155,22 +2104,6 @@
21552104
"persistence": true
21562105
}
21572106
},
2158-
{
2159-
"repoURL": "https://github.com/rodriguezvalencia/rafting",
2160-
"name": "rodriguezvalencia/rafting",
2161-
"authors": [
2162-
{
2163-
"name": "Sergio Rodriguez"
2164-
}
2165-
],
2166-
"language": "Clojure",
2167-
"license": "MIT",
2168-
"features": {
2169-
"basic": false,
2170-
"membershipChanges": false,
2171-
"logCompaction": false
2172-
}
2173-
},
21742107
{
21752108
"repoURL": "https://github.com/royaltm/node-zmq-raft",
21762109
"name": "\u00d8MQ Raft for node.js",

index.html

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,12 @@
3030
}
3131
row.append($('<td>').text(stars));
3232

33-
row.append($('<td>')
34-
.append($('<a>').attr('href', impl.repoURL).text(impl.name)));
33+
const name = $('<td>');
34+
name.append($('<a>').attr('href', impl.repoURL).text(impl.name));
35+
if (impl.archived === true) {
36+
name.append(' (archived)');
37+
}
38+
row.append(name);
3539

3640
const authors = $('<td>');
3741
if (impl.authors !== undefined) {
@@ -93,6 +97,7 @@
9397
impl.rank = repo.rank;
9498
impl.stars = repo.stars;
9599
impl.updated = repo.updated;
100+
impl.archived = repo.archived;
96101
}
97102
});
98103
impls.sort(function(a, b) { return b.rank - a.rank; })
@@ -634,7 +639,7 @@ <h2>Courses teaching Raft</h2>
634639
<a href="https://changlousys.github.io/">Chang Lou</a>.
635640
Includes lecture on Raft and programming assignment (Go). (Spring 2024 ...)
636641
</li>
637-
642+
638643
<li>
639644
<a href="https://ucsd.edu">University of California, San Deigo</a>,
640645
<a href="https://canvas.ucsd.edu/courses/43955/assignments/syllabus">CSE224: Graduate Networked Systems</a>,
@@ -649,7 +654,7 @@ <h2>Courses teaching Raft</h2>
649654
<a href="https://martin.kleppmann.com/">Martin Kleppmann</a>.
650655
Includes lecture on Raft. (Winter 2022/2023, ...)
651656
</li>
652-
657+
653658
<li>
654659
<a href="https://illinois.edu">University of Illinois Urbana-Champaign</a>,
655660
<a href="https://courses.grainger.illinois.edu/cs425/">CS425: Distributed Systems</a>,

0 commit comments

Comments
 (0)