Add a statistics page
To show the total number of derivations, and guix revisions.
This commit is contained in:
parent
0c72ee747c
commit
6022edd074
2 changed files with 29 additions and 0 deletions
|
|
@ -293,6 +293,10 @@
|
|||
(apply render-html
|
||||
(view-builds (select-build-stats conn)
|
||||
(select-builds-with-context conn))))
|
||||
((GET "statistics")
|
||||
(apply render-html
|
||||
(view-statistics (count-guix-revisions conn)
|
||||
(count-derivations conn))))
|
||||
((GET "revision" commit-hash)
|
||||
(apply render-html
|
||||
(view-revision commit-hash
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue