-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add impls section and shortcode for dashboard (#1011)
- Loading branch information
1 parent
f2f5f65
commit 75cc859
Showing
11 changed files
with
136 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
title: Implementations | ||
weight: 8 | ||
|
||
dashboardhidden: true | ||
--- | ||
|
||
# Filecoin Implementations | ||
--- | ||
|
||
In the meantime, you can follow each implementation’s progress at its respective repo on GitHub: | ||
|
||
{{<dashboard-impl>}} | ||
|
||
https://filecoin.io/blog/announcing-filecoin-implementations-in-rust-and-c++/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
title: Forest | ||
weight: 3 | ||
implAudit: 0 | ||
implSpecCompliance: 0 | ||
implRepo: https://github.com/ChainSafe/forest | ||
--- | ||
|
||
# Forest is an implementation of Filecoin written in Rust | ||
--- | ||
|
||
Forest is an implementation of Filecoin written in Rust. The implementation will take a modular approach to building a full Filecoin node in two parts — (i) building Filecoin’s security critical systems in Rust from the Filecoin Protocol Specification, specifically the virtual machine, blockchain, and node system, and (ii) integrating functional components for storage mining and storage & retrieval markets to compose a fully functional Filecoin node implementation. | ||
|
||
https://github.com/ChainSafe/forest | ||
|
||
https://chainsafe.github.io/forest/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
title: Fuhon (cpp-filecoin) | ||
weight: 4 | ||
implAudit: 0 | ||
implSpecCompliance: 0 | ||
implRepo: https://github.com/filecoin-project/cpp-filecoin | ||
--- | ||
|
||
# Fuhon (cpp-filecoin) | ||
--- | ||
|
||
C++17 implementation of blockchain based digital storage | ||
|
||
https://github.com/filecoin-project/cpp-filecoin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
title: Filecoin (go-filecoin) | ||
weight: 2 | ||
implAudit: 0 | ||
implSpecCompliance: 0 | ||
implRepo: https://github.com/filecoin-project/go-filecoin | ||
--- | ||
|
||
# Filecoin (go-filecoin) | ||
--- | ||
|
||
The original Filecoin node implementation in Go. | ||
|
||
https://github.com/filecoin-project/go-filecoin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
title: Lotus | ||
weight: 1 | ||
|
||
implAudit: 0 | ||
implSpecCompliance: 0 | ||
implRepo: https://github.com/filecoin-project/lotus | ||
--- | ||
|
||
# Lotus | ||
--- | ||
|
||
Lotus is an implementation of the Filecoin Distributed Storage Network. You can run the Lotus software client to join the Filecoin Testnet. | ||
|
||
https://github.com/filecoin-project/lotus | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,8 +9,4 @@ dashboardTests: 0 | |
--- | ||
|
||
# Token | ||
--- | ||
|
||
## Status Overview | ||
|
||
{{<dashboard-level open="true">}} | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<table id="dashboard-impls" class="sort"> | ||
<thead> | ||
<tr> | ||
<th>Implementation</th> | ||
<th>Test Coverage</th> | ||
<th>Compliance Tests</th> | ||
<th>Audit</th> | ||
<th>CI</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{{- template "dashboard-impls-children" (dict "Section" ($.Site.GetPage "implementations") ) -}} | ||
</tbody> | ||
</table> | ||
|
||
<!-- Children Template --> | ||
{{ define "dashboard-impls-children" }} | ||
{{- $pages := where .Section.Pages "Params.bookhidden" "ne" true -}} | ||
{{- range sort $pages "Weight" "asc" -}} | ||
{{ $parts := split .Params.implRepo "/" }} | ||
{{ $size := len $parts }} | ||
{{ $path := delimit (slice (index $parts (sub $size 2)) (index $parts (sub $size 1))) "/" }} | ||
{{ $url := printf "https://codecov.io/api/gh/%s" $path }} | ||
{{ $data := getJSON $url }} | ||
{{ $cov := $data.commit.totals.c }} | ||
{{ $color := "bg-na"}} | ||
{{ if gt $cov 0 }} | ||
{{ $color = "bg-incorrect"}} | ||
{{ else if gt $cov 25 }} | ||
{{ $color = "bg-wip"}} | ||
{{ else if gt $cov 50 }} | ||
{{ $color = "bg-incomplete"}} | ||
{{ else if gt $cov 75 }} | ||
{{ $color = "bg-stable"}} | ||
{{ end }} | ||
<tr> | ||
<td><a title="{{.Title}}" href="{{.Permalink}}">{{.Title}}</a></td> | ||
<td class="text-black {{ $color }}"> | ||
{{ if $data.commit.totals.c }}{{ math.Round $data.commit.totals.c }}%{{ else }}N/A{{end}} | ||
</td> | ||
<td class="text-transparent {{ if gt .Page.Params.implSpecCompliance 0 }}bg-stable{{ else }}bg-incorrect{{end}}"> | ||
{{ .Page.Params.implSpecCompliance }} | ||
</td> | ||
<td class="text-transparent {{ if gt .Page.Params.implAudit 0 }}bg-stable{{ else }}bg-incorrect{{end}}"> | ||
{{ .Page.Params.implAudit }} | ||
</td> | ||
<td class="text-transparent {{ if eq $data.commit.ci_passed true }}bg-stable{{ else if eq $data.commit.ci_passed false }}bg-incorrect {{ else }}bg-na{{end}}"> | ||
|
||
</td> | ||
</tr> | ||
|
||
{{ end }} | ||
{{ end }} |
File renamed without changes.