Christopher Baines
3ae27baa01
Fix broken build links in view-revision-package-and-version
2021-01-03 14:58:46 +00:00
Christopher Baines
e3878fefb4
Fix a regression in the metrics page
...
From the squee NULL handling change.
2021-01-03 12:50:07 +00:00
Christopher Baines
7b66253639
Add missing build server build ids to various queries
2021-01-03 11:05:29 +00:00
Christopher Baines
48cdf102fe
Fix various issues linking to builds
2021-01-03 10:54:45 +00:00
Christopher Baines
e476239479
Fix another squee upgrade issue
2021-01-03 09:43:24 +00:00
Christopher Baines
bd8390673e
Fix squee upgrade issues in the load-new-guix-revision module
2021-01-02 11:13:30 +00:00
Christopher Baines
e85131a004
Fix squee compatability issues for serving derivations
2021-01-02 10:55:25 +00:00
Christopher Baines
d8e0b24e4c
Fix indentation in (tests model-license-set)
2021-01-02 10:07:47 +00:00
Christopher Baines
64a4058cce
Start to add compatibility with squee returning #f for null values
...
While maintaining compatibility for older versions of squee.
2021-01-02 10:06:27 +00:00
Christopher Baines
7df6f92036
Improve select-fixed-output-package-derivations-in-revision
...
Refactor the query to make it more performant.
2020-12-29 18:14:20 +00:00
Christopher Baines
6e390c9b9d
Increase statistics targets for the derivation_inputs table
...
It has a lot of rows, and this seems to help the query planning for
select-required-builds-that-failed, as I think it helps PostgreSQL better
estimate the row counts that different parts of the query will produce.
2020-12-27 10:37:06 +00:00
Christopher Baines
150d9c4390
Don't try to start a new transaction inside processing build events
...
As it uses a transaction with a wider scope.
2020-12-27 10:36:58 +00:00
Christopher Baines
cbe9859064
Support inserting build statuses without a transaction
...
In case this code is run as part of a bigger transaction.
2020-12-27 10:27:21 +00:00
Christopher Baines
8d6f255646
Add latest revision version of the fixed output package derivations
2020-12-27 09:09:47 +00:00
Christopher Baines
f633b8edb9
Add parse-build-status to the query-parameters module
2020-12-27 09:09:10 +00:00
Christopher Baines
f58fe208fd
Support finding fixed output derivations for packages
...
This finds all the fixed output derivations in the graph of packages. I'm
planning to use this to queue builds for these derivations on a regular basis,
to monitor when fixed output derivations break (as the thing they download has
disappeared for example).
2020-12-26 13:40:09 +00:00
Christopher Baines
844bd32f22
Add select-fixed-output-package-derivations-in-revision
2020-12-26 13:39:45 +00:00
Christopher Baines
1887ad2b4f
Support strings or symbol keys in build-status-alist->build
2020-12-26 13:38:58 +00:00
Christopher Baines
1fd5c8e379
Tweak the select-required-builds-that-failed query
...
I think this makes a little more sense.
2020-12-26 10:00:35 +00:00
Christopher Baines
89a3843fa5
Fix status in select-builds-with-context-by-derivation-file-name
...
The latest_build_status table should be used, not build_status.
2020-12-21 17:38:18 +00:00
Christopher Baines
c12959330b
Include the revision details for package dervation comparisons
...
I'm wanting the commits for tagging builds.
2020-12-20 19:37:36 +00:00
Christopher Baines
1df7b46343
Stop package metadata changes being included
...
In the package-derivation-differences-data.
2020-12-20 11:27:24 +00:00
Leo Famulari
0813ad6978
Tell the user how to specify a datetime.
...
Also correct a mistake in the error message for invalid datetime formats.
2020-12-19 17:47:53 -05:00
Christopher Baines
74980bce70
Improve build links on the package derivations page
2020-12-09 19:08:19 +00:00
Christopher Baines
69057b41a7
Support showing package derivations by build status
...
I'm particularly thinking about listing packages which fail to build.
2020-12-09 19:07:42 +00:00
Christopher Baines
ba511d73b0
Support querying package derivations by build status
2020-12-09 19:06:59 +00:00
Christopher Baines
de3ca9d074
Improve the parse-commit invalid parameter handling
2020-11-28 19:36:47 +00:00
Christopher Baines
cb871530cf
Make it possible to show HTML for the invalid parameter messages
...
So that they can include links.
2020-11-28 19:36:26 +00:00
Christopher Baines
8f702e5666
Add system and target controls to the package derivation comparison
...
By datetime, as these parameters are supported.
2020-11-25 21:05:32 +00:00
Christopher Baines
56c786e309
Fix typo with build_change parameter
...
For the compare by datetime package derivations page.
2020-11-21 21:23:39 +00:00
Christopher Baines
e93da1ae8f
Fix the JSON link on the compare package derivations page
2020-11-21 21:10:33 +00:00
Christopher Baines
7e1cba3309
Consolidate the package derivation comparison code
2020-11-21 21:00:40 +00:00
Christopher Baines
0c3e208a83
Start merging the package derivation comparison code
2020-11-21 20:29:14 +00:00
Christopher Baines
56983eb03e
Extract out the compare form controls
...
So they can be used for the package derivations page
2020-11-21 20:25:26 +00:00
Christopher Baines
814a5d7cba
Fix some links on the compare page
2020-11-21 20:11:21 +00:00
Christopher Baines
12f35c493b
Add default datetimes for compare-by-datetime
...
As this makes it easy to compare the current state of two branches.
2020-11-21 20:11:21 +00:00
Christopher Baines
7321ce4408
Improve the comparison page interface
...
Try to unify the code for the different comparison modes, so that there's less
of it.
2020-11-21 18:37:19 +00:00
Christopher Baines
8cafd93f22
Specify an invalid parameter message in parse-datetime
2020-11-21 18:31:59 +00:00
Christopher Baines
d0a4143c7c
Avoid errors in form-horizontal-control
...
When invalid parameters don't have a message.
2020-11-21 18:31:39 +00:00
Christopher Baines
c751031a26
Avoid crashing when no compare arguments are provided
2020-11-21 16:49:58 +00:00
Christopher Baines
3e15900c56
Fix build links on the derivation page
...
In the case where the build is for a different derivation with the same
outputs.
2020-11-20 21:01:09 +00:00
Christopher Baines
00c84640c5
Improve the headings on the compare derivations page
2020-11-20 19:37:12 +00:00
Christopher Baines
65507aaac1
Don't show all results on the compare package derivation page
...
By default. For comparisons involving lots of changed derivations, the page
can take too long to render.
2020-11-20 19:33:16 +00:00
Christopher Baines
7b92a6a5b3
Allow the package derivation data procedure to not return all data
...
By adding after-name and limit-results parameters.
2020-11-20 19:28:39 +00:00
Christopher Baines
d98c676563
Fix typo
2020-11-19 21:46:47 +00:00
Christopher Baines
ce73e4448d
Include a "Build change" filter on the package derivations page
...
This helps determine what things a change broke or fixed for example.
2020-11-19 21:02:47 +00:00
Christopher Baines
31475374f7
Support selecting compared package derivations by build change
2020-11-19 21:02:30 +00:00
Christopher Baines
80c6fbd1ac
Clean up some unused code in the compare controller
2020-11-19 20:59:02 +00:00
Christopher Baines
1431f712a6
Fix compare by datetime URL
...
Use package-derivations rather than derivations, as this is more accurate.
2020-11-19 20:58:38 +00:00
Christopher Baines
276c4ecd71
Vacuum the log parts table after deleting entries from it
...
To help keep the number of dead tuples down.
2020-11-17 20:49:47 +00:00