Skip to content

Commit

Permalink
Merge pull request #201 from raft/missing-archived-impls
Browse files Browse the repository at this point in the history
Annotate archived repos with "(archived)", etc
  • Loading branch information
ongardie authored May 8, 2024
2 parents 729aae3 + ffc9d8c commit 1243069
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 72 deletions.
4 changes: 3 additions & 1 deletion fetch_repo_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

"""
Possibly interesting fields:
- archived
- created_at
- description
- forks_count
Expand Down Expand Up @@ -101,7 +102,8 @@ def main(filename='repos.jsonp'):
json.dump(dict([(url,
{'rank': repo['rank'],
'stars': repo['stargazers_count'],
'updated': repo['updated_at']})
'updated': repo['updated_at'],
'archived': repo['archived']})
for (url, repo) in repos]),
f,
indent=4)
Expand Down
67 changes: 0 additions & 67 deletions implementations.json
Original file line number Diff line number Diff line change
Expand Up @@ -280,23 +280,6 @@
"persistence": true
}
},
{
"repoURL": "https://github.com/adi/raft.ts",
"name": "raft.ts",
"authors": [
{
"name": "Adrian Punga",
"github": "adi"
}
],
"language": "TypeScript",
"license": "Apache-2.0",
"features": {
"basic": false,
"membershipChanges": false,
"logCompaction": false
}
},
{
"repoURL": "https://github.com/adsharma/raft",
"name": "python3-raft",
Expand Down Expand Up @@ -740,22 +723,6 @@
"logCompaction": false
}
},
{
"repoURL": "https://github.com/chicm/CmRaft",
"name": "chicm/CmRaft",
"authors": [
{
"name": "Cheng Min Chi"
}
],
"language": "Java",
"license": "Apache-2.0",
"features": {
"basic": true,
"membershipChanges": false,
"logCompaction": false
}
},
{
"repoURL": "https://github.com/cloud-software-foundation/c5-replicator",
"name": "C5 replicator",
Expand Down Expand Up @@ -1978,24 +1945,6 @@
"persistence": true
}
},
{
"repoURL": "https://github.com/pi-plan/praft",
"name": "PRaft",
"authors": [
{
"name": "Buqing Ma",
"github": "laomafeima"
}
],
"language": "Python",
"license": "BSD",
"features": {
"basic": true,
"membershipChanges": true,
"logCompaction": true,
"persistence": true
}
},
{
"repoURL": "https://github.com/pingcap/tikv",
"name": "TiKV",
Expand Down Expand Up @@ -2155,22 +2104,6 @@
"persistence": true
}
},
{
"repoURL": "https://github.com/rodriguezvalencia/rafting",
"name": "rodriguezvalencia/rafting",
"authors": [
{
"name": "Sergio Rodriguez"
}
],
"language": "Clojure",
"license": "MIT",
"features": {
"basic": false,
"membershipChanges": false,
"logCompaction": false
}
},
{
"repoURL": "https://github.com/royaltm/node-zmq-raft",
"name": "\u00d8MQ Raft for node.js",
Expand Down
13 changes: 9 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,12 @@
}
row.append($('<td>').text(stars));

row.append($('<td>')
.append($('<a>').attr('href', impl.repoURL).text(impl.name)));
const name = $('<td>');
name.append($('<a>').attr('href', impl.repoURL).text(impl.name));
if (impl.archived === true) {
name.append(' (archived)');
}
row.append(name);

const authors = $('<td>');
if (impl.authors !== undefined) {
Expand Down Expand Up @@ -93,6 +97,7 @@
impl.rank = repo.rank;
impl.stars = repo.stars;
impl.updated = repo.updated;
impl.archived = repo.archived;
}
});
impls.sort(function(a, b) { return b.rank - a.rank; })
Expand Down Expand Up @@ -634,7 +639,7 @@ <h2>Courses teaching Raft</h2>
<a href="https://changlousys.github.io/">Chang Lou</a>.
Includes lecture on Raft and programming assignment (Go). (Spring 2024 ...)
</li>

<li>
<a href="https://ucsd.edu">University of California, San Deigo</a>,
<a href="https://canvas.ucsd.edu/courses/43955/assignments/syllabus">CSE224: Graduate Networked Systems</a>,
Expand All @@ -649,7 +654,7 @@ <h2>Courses teaching Raft</h2>
<a href="https://martin.kleppmann.com/">Martin Kleppmann</a>.
Includes lecture on Raft. (Winter 2022/2023, ...)
</li>

<li>
<a href="https://illinois.edu">University of Illinois Urbana-Champaign</a>,
<a href="https://courses.grainger.illinois.edu/cs425/">CS425: Distributed Systems</a>,
Expand Down

0 comments on commit 1243069

Please sign in to comment.