6c1adfa9e6
Fix the help text on the jobs page
2019-12-27 13:14:58 +00:00
485b79a6de
Add a page to show the public key used to sign substitutes
2019-12-27 13:03:17 +00:00
6f8ac2eccc
Change indentation in the nar-controller parameters
2019-12-27 13:02:02 +00:00
4aa69f1910
Add a link to the derivations page
...
From the revision page.
2019-12-27 10:29:44 +00:00
50f550d642
Link to the versions page from the latest revision package page
2019-12-27 10:13:34 +00:00
1ce1a405a6
Link to the derivation history page from the branch package page
2019-12-27 10:13:01 +00:00
7654877991
Improve the builds info on the revision package version page
...
Show multiple builds, and link to the build page.
2019-12-27 00:09:07 +00:00
0e3c28ffbd
Fix more cases where equivalent builds were missed
2019-12-26 23:22:54 +00:00
5163398e54
Add pagination to the jobs page
2019-12-26 23:03:12 +00:00
b877b64eb8
Remove reverse from the copy of http-multiple-get
...
This makes assumptions about the return value of the provided procedure, and
fails if it doesn't return a list.
2019-12-26 23:01:34 +00:00
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
7342280ead
Guard against failures when loading the narinfo signing public key
2019-12-26 10:49:14 +00:00
54b3d8d93a
Fix the option alist element names for the narinfo signing key
2019-12-26 10:47:29 +00:00
0cea51cc79
Add copyright and license headers to a bunch of source files
...
That were missing them.
2019-12-26 10:16:55 +00:00
9ffe884711
Remove a rogue 1 from the (guix-data-service model nar) module
2019-12-26 10:16:16 +00:00
a3ea38d545
Serve the /nix-cache-info response
...
This should be the last piece of the puzzle for providing substitutes for
derivations.
2019-12-26 10:07:55 +00:00
66e886a6b4
Serve narinfo files for derivations
2019-12-26 09:34:43 +00:00
120af42c24
Add a function to fetch references for derivations
...
This replicates the store item references for the derivation, through looking
up the inputs which the derivation references, and also the sources.
2019-12-26 09:34:41 +00:00
e3d8a23716
Add a function to fetch a derivation by file name hash
2019-12-26 09:34:35 +00:00
b504094262
Use the returned file name in select-derivation-by-file-name
...
They should be the same, but it seems more sensible to return the value from
the database.
2019-12-26 09:34:08 +00:00
ff01144e87
Create an index for the hash component of derivation filenames
...
This is to aid rendering of narinfo files. They're requested with the path
/HASH.narinfo, so to quickly find the relevant derivation, this index can be
used.
2019-12-26 09:28:20 +00:00
a8d58e0541
Sort the web modules in the SOURCES list in Makefile.am
2019-12-26 09:28:12 +00:00
f78e3126e5
Render nar files for derivations
...
In the same manor that Guix publish does. This is working towards being able
to serve substitutes for derivations.
2019-12-26 09:25:27 +00:00
43013fc16b
Add a "plain" view for derivations
2019-12-26 09:04:53 +00:00
16879a8182
Add a helper function to render text
2019-12-26 09:04:46 +00:00
a92d4d0cf2
Add a function serialize a derivation
...
This effectively duplicates the behaviour in Guix for serializing derivations,
but this uses the database representation in the Guix Data Service, rather
than the records Guix uses.
2019-12-26 09:04:00 +00:00
21e298f68c
Ensure output ordering for derivations is correct
...
This affects the formatted derivation output.
2019-12-26 09:03:38 +00:00
dd94f59acf
Fix the representation of the fixed output derivation hashes
...
Previously, they were nix-base32-string encoded, but the representation in the
derivations is base16, so it doesn't make sense to use a different
representation in the database.
Therefore, add some code that runs before the start of each job to convert the
data in the database. It was easier to do this in Guile with the existing
support for working with these bytevector representations. After some
migration period, the code for converting the old hashes can be removed.
2019-12-26 08:53:51 +00:00
4eb5a3417c
Group derivation input outputs together by derivation
...
Both in terms of the code fetching the data from the database, as well as the
formatted and detail outputs. This corrects an error in the formatted output
for derivations where inputs would be duplicated.
2019-12-26 08:52:04 +00:00
566f20a03d
Use HTTP pipelining when making requests to build servers
...
This removes some overhead in making a connection for each request.
2019-12-26 08:42:44 +00:00
801ebdfa9e
Fix the successful builds outputs query where there are no revisions
...
As it was erroring before.
2019-12-26 08:35:33 +00:00
e359cfea2b
Fix the derivations list on the builds page
2019-12-23 22:36:53 +00:00
5c643e09e5
Fix the unknown build counts on the builds pages
2019-12-23 21:30:36 +00:00
474d942cbb
Better handle errors within process-load-new-guix-revision-job
2019-12-23 19:28:13 +00:00
d2e0fc53c1
Fix an error when updating the package derivation versions table
2019-12-23 19:27:42 +00:00
96305ec406
Fix the query-build-servers script when no commits are provided
2019-12-23 19:27:23 +00:00
c516154816
Fix the default max-processes for the process-jobs script
2019-12-22 23:26:45 +00:00
31110acc91
Fix a bug with argument handling in the query-build-servers script
2019-12-22 22:35:43 +00:00
e45db1cd30
Include builds on the derivation history page
2019-12-22 21:42:49 +00:00
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
2e0c1b4fcb
Add a function to rebuild the package_derivations_by_guix_revision
...
At the moment, some data is missing, but this code will fix that.
2019-12-22 17:37:18 +00:00
69d95b133f
Extract out some functions from update-package-derivations-table
...
To allow these to be used independently.
2019-12-22 16:20:08 +00:00
639f24bb22
Extract management of package_derivations_by_guix_revision_range
...
... entries in to a separate module, to split the code up a little further.
2019-12-22 16:09:32 +00:00
ebefc7815e
Fix the use of defined? in relation to channel news
...
This worked fine in a REPL, but here it seems the module needs to be passed.
2019-12-22 15:23:16 +00:00
0b0d734a97
Add links from the builds pages to the pages for individual builds
2019-12-22 15:23:03 +00:00
14b7993636
Allow filtering the revision builds page by system
2019-12-22 14:27:59 +00:00
e4a7f221c9
Filter builds on the revision builds page by revision
2019-12-22 14:27:49 +00:00
ff433dfce6
Handle derivations with no known build
...
When displaying build stats.
2019-12-22 14:27:49 +00:00
89e34f3df8
Ignore cross built derivations for the build stats
2019-12-22 14:27:49 +00:00
a019a5ed82
Improve the error handling for the build page
2019-12-16 20:43:16 +00:00