Christopher Baines
5fb3fa177d
Rework some of the table entries in the package through time tables
...
Try to clarify what the data means, make the revision commit more prominent
compared to the date and improve the display on smaller screens.
2020-11-16 18:49:20 +00:00
Christopher Baines
c13a0ef4c1
Use a darker grey on the tables through time
...
Just to make sure it's easy to see.
2020-11-16 18:20:10 +00:00
Christopher Baines
54616bc9e4
Add default "none" target to the package derivation outputs page
...
This avoids odd results for the links from the package substitute availability
page.
2020-10-31 13:27:06 +00:00
Christopher Baines
d05a7397fb
Improve latest processed revision pages for reproducibility stuff
...
Support the package-derivation-outputs page, and switch the
package-reproducibility page across to use it.
2020-10-11 17:05:38 +01:00
Christopher Baines
9f9c23010e
Support storing whether to authenticate commits by git repository
...
To allow using the Guix Data Service when commits aren't authenticated.
2020-10-07 18:50:13 +01:00
Christopher Baines
a8d5ea4654
Fix the no latest revision behaviour for the latest revision links
...
Previously the render-unknown-revision procedure would error, as it wasn't
meant for this purpose.
2020-10-04 15:12:26 +01:00
Christopher Baines
c3c9c07f9a
Completely rework the way db connections are handled during requests
...
Previously, a connection was passed through the code handling the
request. When queries were performed, this could block the thread though,
potentially leaving the server unable to serve other requests.
Instead, this now runs queries in a pool of threads. This should remove the
possibility of blocking the threads used by the web server, and in doing so,
some of the queries have been parallelised.
I''m still not sure about the naming and syntax, but I think the functionality
is a sort of step forward.
2020-10-03 21:35:31 +01:00
Christopher Baines
033858410b
Add a JSON page for repository branches
2020-09-27 16:32:56 +01:00
Christopher Baines
f7933807ac
Add a JSON representation for repositories
2020-09-27 16:26:45 +01:00
Christopher Baines
53341c70fc
Change the locale codeset representation
...
From the normalized one, to the one actually contained within glibc. Recent
versions of glibc also contain symlinks linking the normalized codeset to the
locales with the .UTF-8 ending, but older ones do not.
Maybe handling codeset normalisation for queries would be good, but the locale
values ending in .UTF-8 are more compatible and allow the code to be
simplified. For querying, maybe there should be a locales table which handles
different representations.
2020-09-26 11:45:57 +01:00
Christopher Baines
bbf8011c95
Fix a bug with the derivation and output history JSON representation
...
Thanks to zimoun for reporting.
2020-07-01 19:58:36 +01:00
Christopher Baines
0b4825427d
Support package derivations for the latest revision
2020-06-20 18:56:42 +01:00
Christopher Baines
94cad47b82
Add missing locale parameter to the latest revision packages page
2020-06-20 18:56:25 +01:00
Danjela Lura
d3096de655
Use lint checker related translations on some pages
...
Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-06-07 20:17:03 +01:00
Christopher Baines
e7e5a281ee
Support package substitute availability for the latest revision
2020-06-03 20:14:16 +01:00
Christopher Baines
67cda8f9cc
Make the package-reproducibility page work for the latest revision
2020-06-03 20:06:26 +01:00
Christopher Baines
b6754c8a4c
Add a lookup_builds field to the build_servers table
...
This is to allow for build servers where only the substitutes should be
queried, and it shouldn't be assumed that they're running Cuirass.
2020-05-24 17:02:53 +01:00
Christopher Baines
5af213a165
Include if data is available in the JSON response for a branch
2020-04-24 18:54:12 +01:00
Christopher Baines
c2ba4e7142
Fix the field names for the JSON representation of a branch
2020-04-24 10:38:34 +01:00
Christopher Baines
08eb4731d1
Add missing locale parameter to the latest revision lint warnings
2020-04-15 19:39:50 +01:00
Danjela lura
6ee9a674cd
Store output of most-recent-commits-for-branch in a local variable
...
Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-03-29 21:12:35 +01:00
spf50
f980b6c2ac
Include data in JSON response for the branch page
...
Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-03-28 14:15:00 +00:00
Christopher Baines
00bc6535f9
Add an unimplemented JSON response for the branch page
2020-03-26 09:14:00 +00:00
Christopher Baines
7d2309d344
Add a page for package output history on a branch
...
This complements the existing pages for the version history, and derivation
history. As well as the new page, the buttons and styling of the two existing
pages has been made to match better to enable easier navigation between the
pages.
2020-03-21 10:38:20 +00:00
Christopher Baines
07b97fcb73
Fix target handling on the package derivation history page
2020-02-16 13:38:07 +00:00
Christopher Baines
f1989e8758
Rework cross derivations support
...
Stop using the system values as targets, and remove package derivation entries
where this is the case.
Switch the non-cross derivation case to have a target of "", rather than
matching the system, as this makes more sense, and is more consistent now that
the target values no longer match the system values.
Hardcode some more correct target values, and use these instead. Hopefully
this can be better integrated with Guix in the future.
This commit also includes a migration attempting to shrink some indexes.
2020-02-08 11:16:08 +00:00
Christopher Baines
744ab9366b
Add a very basic repositories page
2020-02-01 13:33:14 +01:00
Christopher Baines
ffcf937c6a
Don't hardcode the system and target for the derivation history page
2020-01-05 11:17:39 +00:00
Christopher Baines
6f34d12c4c
Extract out the derivation-history rendering code
2020-01-05 10:32:47 +00:00
Christopher Baines
3d51d88d06
Fix the table layout on the derivation history page
2020-01-03 21:49:03 +00:00
Christopher Baines
50f550d642
Link to the versions page from the latest revision package page
2019-12-27 10:13:34 +00:00
Christopher Baines
1ce1a405a6
Link to the derivation history page from the branch package page
2019-12-27 10:13:01 +00:00
Christopher Baines
8628a68b0f
Fix the colspan for the derivation history table chart rows
...
It should have been changed to 4 when the builds column was added.
2019-12-26 18:10:38 +00:00
Christopher Baines
e45db1cd30
Include builds on the derivation history page
2019-12-22 21:42:49 +00:00
Christopher Baines
161c10bdc5
Use the full width of the page for the derivation history table
...
As it's quite big. Also remove the (More information) links, as they weren't
useful.
2019-12-22 21:42:23 +00:00
Christopher Baines
af1324855e
Fix the JSON output for the derivation history page
2019-11-26 07:17:24 +00:00
Christopher Baines
ae150888d8
Remove some peek statements that snuck in
2019-11-21 20:48:41 +00:00
Christopher Baines
62cabc80bf
Link to the comparison page when viewing derivation history
2019-11-21 19:56:19 +00:00
Christopher Baines
04bb2d52bc
Add first version of a page with the history of package derivations
...
Some filtering options need adding for the system and target, as it's
currently hardcoded, but the general page does work.
2019-11-09 20:07:34 +00:00
Christopher Baines
5e2bc7c6e9
Fix various warnings relating to the controller refactoring
2019-10-18 18:44:42 +01:00
Christopher Baines
263eb0e0a9
Handle unknown requests better within controllers
2019-10-18 17:23:59 +01:00
Christopher Baines
86db73c05a
Refactor the repository pages code
...
Move it out of the main controller and html modules to better separate the
code, which should allow to make it easier to read in the future.
2019-10-14 18:28:25 +01:00