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
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
Christopher Baines
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
Christopher Baines
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
Christopher Baines
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
Christopher Baines
0b0d734a97
Add links from the builds pages to the pages for individual builds
2019-12-22 15:23:03 +00:00
Christopher Baines
14b7993636
Allow filtering the revision builds page by system
2019-12-22 14:27:59 +00:00
Christopher Baines
e4a7f221c9
Filter builds on the revision builds page by revision
2019-12-22 14:27:49 +00:00
Christopher Baines
ff433dfce6
Handle derivations with no known build
...
When displaying build stats.
2019-12-22 14:27:49 +00:00
Christopher Baines
89e34f3df8
Ignore cross built derivations for the build stats
2019-12-22 14:27:49 +00:00
Christopher Baines
a019a5ed82
Improve the error handling for the build page
2019-12-16 20:43:16 +00:00
Christopher Baines
7e476536cb
Link to the derivation outputs from the package reproducibility page
2019-12-16 20:31:13 +00:00
Christopher Baines
4af643136e
Allow filtering by system and target on the derivation-outputs page
...
So that this can match up with the package reproducibility page.
2019-12-16 20:29:28 +00:00
Christopher Baines
e1d1d372ca
Add titles to a couple of revision pages
2019-12-16 20:29:15 +00:00
Christopher Baines
dc82112bf8
Simplify the derivations page display
...
Displaing the outputs didn't add much, so focus on neatly displaying the
builds.
2019-12-16 20:18:34 +00:00
Christopher Baines
3305d85ef0
Drop the default number of derivations to display
...
As 100 is quite a lot to display by default.
2019-12-16 20:17:14 +00:00
Christopher Baines
0172338932
Add a small bottom margin to the build status span
...
So it displays better when there are items below it.
2019-12-16 20:15:11 +00:00
Christopher Baines
e6b20746be
Deduplicate the build status span code in html-utils
2019-12-16 20:12:58 +00:00
Christopher Baines
5b54259974
Fix matching equivalent derivations in another function
2019-12-16 20:11:57 +00:00
Christopher Baines
c229ace8a5
Allow customising the maximum number of processes
2019-12-16 19:57:56 +00:00
Christopher Baines
96f897cf3b
Add a page with charts to show package reproducibility
2019-12-16 19:57:36 +00:00
Christopher Baines
34b3585b48
Improve the revision derivation-outputs page
...
Neaten up the display of the hashes, and add a reproducibility status column.
2019-12-16 15:19:02 +00:00
Christopher Baines
bdcba528fc
Fix group-to-alist
...
To not just append elements to the alist.
2019-12-16 15:19:02 +00:00
Christopher Baines
a41249d8fe
Move group-to-alist to the model utils module
...
So it can be more widely used.
2019-12-16 15:19:02 +00:00
Christopher Baines
18504fba49
Show the possible failure reasons on the build page
...
When the build status is "Failed (dependency)".
2019-12-16 15:19:02 +00:00
Christopher Baines
5337b171ea
Add a function to find the builds required for a build that failed
2019-12-16 15:19:02 +00:00
Christopher Baines
771b01ef80
Link to the build pages from the derivation page
2019-12-16 15:19:02 +00:00
Christopher Baines
308d1d7102
Add a page for each build
2019-12-16 15:18:14 +00:00
Christopher Baines
a59f352046
Split out select-build-by-build-server-and-derivation-file-name
...
Create select-build-id-by-build-server-and-derivation-file-name, which just
returns the id, and then a variant that returns more fields for making a page
for each build.
2019-12-15 10:32:40 +00:00
Christopher Baines
b693d3e57d
Improve select-builds-with-context-by-derivation-file-name
...
To find builds for equivalent derivations.
2019-12-15 08:51:31 +00:00
Christopher Baines
6a0332bed2
Add a builds page for a specific revision
...
Like the /builds page, but filtered for a specific revision.
2019-12-14 21:02:27 +00:00
Christopher Baines
a84fc954d1
Extend select-build-stats to allow filtering by revision
2019-12-14 20:59:54 +00:00
Christopher Baines
633e757fe8
Break down the build stats by build server
2019-12-14 20:17:53 +00:00
Christopher Baines
6e9b07bc4a
Drop the default number of results on the derivation outputs page
...
To have it load quicker, but also because 100 results aren't necessary.
2019-12-14 17:11:46 +00:00
Christopher Baines
7cde75f8d6
Add "Fixed output" to the options for Reproducibility status
...
On the derivation outputs page, as some derivations are reproducible by
definition, so it's good to identify and exclude these.
2019-12-14 17:11:01 +00:00
Christopher Baines
9dddf2c606
Implement the reproducibility status filter
...
On the derivation-outputs page.
2019-12-14 17:10:23 +00:00
Christopher Baines
4cc678dfb1
Add a parameter to form-horizontal-control affect multiple values
...
Previously, the behaviour was to accept multiple values, but enable just
allowing one value to be entered.
2019-12-14 17:04:36 +00:00
Christopher Baines
67710065f0
Improve the next page links on the revision pages
...
To add or update the relevant query parameter, rather than replacing all the
query parameters with the new value.
2019-12-13 17:13:41 +00:00
Christopher Baines
fc9c44b715
Add a utility to help generate next page links
2019-12-13 17:13:27 +00:00
Christopher Baines
156b7eea7e
Improve the select-build-stats function
...
Account for equivalent derivations, rather than counting them as unknown.
2019-12-12 20:07:22 +00:00
Christopher Baines
af948de646
Fix the select-derivations-with-no-known-build
...
The equivalent_derivations table was an experiment that didn't work, so switch
to using the derivations_by_output_details_set table.
Also take the build server id as input, as this allows selecting derivations
which have no known build for the relevant build server.
2019-12-12 20:07:22 +00:00
Christopher Baines
c90f411e5e
Add options to the query-build-servers script
...
So you can select to query specific build servers.
2019-12-12 20:07:22 +00:00
Christopher Baines
f13077d087
Remove non-existent export from the derivation module
2019-12-12 20:07:22 +00:00
Christopher Baines
7dc0238436
Add a page to show derivation outputs for a revision
2019-12-12 20:07:22 +00:00
Christopher Baines
eecfdeb9e4
Add a function to select the outputs in a revision
2019-12-12 20:07:22 +00:00
Christopher Baines
e92d4dbbcf
Add a results count to the revision derivations page
2019-12-12 20:07:22 +00:00
Christopher Baines
05d295d6f0
Fix the all-results/limit handling in the revision derivatinos controller
2019-12-12 20:07:22 +00:00
Christopher Baines
544f122ff5
Fix related builds in select-derivations-in-revision
...
Rather than just counting builds where the derivation matches, select builds
based on the derivation outputs, which accounts for different but equivalent
derivations.
2019-12-12 20:07:22 +00:00
Christopher Baines
c8b93cb0d0
Add new derivation_output_details_set_id column to the builds table
...
As this will hopefully provide a faster way of associating derivations with
builds.
2019-12-12 20:07:22 +00:00