Commit graph

1128 commits

Author SHA1 Message Date
b84014dca5 Remove some left over debugging 2021-01-04 22:58:45 +00:00
6f89066355 Support comparing revision system test derivations
This should come in useful for testing patches, as you can see what system
tests are affected, and check the build status.
2021-01-04 19:15:01 +00:00
dd044c9f53 Cleanup in the comparison module 2021-01-04 07:58:58 +00:00
2a8a574f4a Allow customising the pg_dump command used
As this
2021-01-03 19:05:41 +00:00
3ae27baa01 Fix broken build links in view-revision-package-and-version 2021-01-03 14:58:46 +00:00
e3878fefb4 Fix a regression in the metrics page
From the squee NULL handling change.
2021-01-03 12:50:07 +00:00
7b66253639 Add missing build server build ids to various queries 2021-01-03 11:05:29 +00:00
48cdf102fe Fix various issues linking to builds 2021-01-03 10:54:45 +00:00
e476239479 Fix another squee upgrade issue 2021-01-03 09:43:24 +00:00
bd8390673e Fix squee upgrade issues in the load-new-guix-revision module 2021-01-02 11:13:30 +00:00
e85131a004 Fix squee compatability issues for serving derivations 2021-01-02 10:55:25 +00:00
d8e0b24e4c Fix indentation in (tests model-license-set) 2021-01-02 10:07:47 +00:00
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
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
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
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
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
8d6f255646 Add latest revision version of the fixed output package derivations 2020-12-27 09:09:47 +00:00
f633b8edb9 Add parse-build-status to the query-parameters module 2020-12-27 09:09:10 +00:00
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
844bd32f22 Add select-fixed-output-package-derivations-in-revision 2020-12-26 13:39:45 +00:00
1887ad2b4f Support strings or symbol keys in build-status-alist->build 2020-12-26 13:38:58 +00:00
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
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
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
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
74980bce70 Improve build links on the package derivations page 2020-12-09 19:08:19 +00:00
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
ba511d73b0 Support querying package derivations by build status 2020-12-09 19:06:59 +00:00
de3ca9d074 Improve the parse-commit invalid parameter handling 2020-11-28 19:36:47 +00:00
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
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
56c786e309 Fix typo with build_change parameter
For the compare by datetime package derivations page.
2020-11-21 21:23:39 +00:00
e93da1ae8f Fix the JSON link on the compare package derivations page 2020-11-21 21:10:33 +00:00
7e1cba3309 Consolidate the package derivation comparison code 2020-11-21 21:00:40 +00:00
0c3e208a83 Start merging the package derivation comparison code 2020-11-21 20:29:14 +00:00
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
814a5d7cba Fix some links on the compare page 2020-11-21 20:11:21 +00:00
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
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
8cafd93f22 Specify an invalid parameter message in parse-datetime 2020-11-21 18:31:59 +00:00
d0a4143c7c Avoid errors in form-horizontal-control
When invalid parameters don't have a message.
2020-11-21 18:31:39 +00:00
c751031a26 Avoid crashing when no compare arguments are provided 2020-11-21 16:49:58 +00:00
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
00c84640c5 Improve the headings on the compare derivations page 2020-11-20 19:37:12 +00:00
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
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
d98c676563 Fix typo 2020-11-19 21:46:47 +00:00
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