Commit graph

1003 commits

Author SHA1 Message Date
417541f116 Properly encode branch names in links
At least from the home page, this fixes links where the branch name contains a
/.
2021-02-09 21:36:34 +00:00
146ffbe5eb Fix excluding derivations for unchanged outputs 2021-02-08 22:18:27 +00:00
110a3b7ce5 Exclude derviations with unchanged outputs from the comparison page
As these aren't useful to look at. This should probably default to #f and be a
parameter.
2021-02-08 22:04:26 +00:00
f2d98b626d Support more query parameters on the /builds page 2021-02-08 21:31:39 +00:00
15d7756ef8 Filter out narinfos with excessive size
This is currently an issue with ci.guix.gnu.org
https://issues.guix.gnu.org/46212 for substitutes for outputs who's size
exceed 32 bits of information.
2021-02-07 09:01:53 +00:00
c2254754d5 Fix a squee update issue with the package reproducibility page 2021-02-06 19:30:05 +00:00
b7ba8d0c2c Fix comparing by datetime
When the latest revisions haven't been processed successfully yet.
2021-02-05 11:07:31 +00:00
07f903abaf Fix dropping the job lock 2021-02-05 11:07:07 +00:00
02b75d857a Reformat queries in the load-new-guix-revision module 2021-02-05 09:16:08 +00:00
39f52e3a2e Update parse-commit for the guix-revision changes 2021-02-04 10:28:04 +00:00
4c14e16148 Adjust all-branches-with-most-recent-commit for recent changes
Look at the job succeeded_at, rather than the guix_revisions.id field.
2021-02-03 13:20:41 +00:00
b0b87cced7 Improve the revision page when a revision hasn't been processed 2021-02-03 12:57:29 +00:00
9a9d156366 Update most-recent-commits-for-branch to handle data availability 2021-02-03 12:55:23 +00:00
570c667222 Tweak exception handling when loading revisions 2021-02-03 12:53:53 +00:00
481b1c186f Fix latest processed commit for branch 2021-02-03 10:58:55 +00:00
643753ff46 Better handle retries for jobs
This was broken when the guix_revisions entry started being added before the
final commit.
2021-02-03 10:35:56 +00:00
7fbcb3a3c2 Store channel instance derivations in a separate transaction
This means that these derivations are stored, even if a later part of the
process fails. Having the channel instance derivations stored might help work
out why the failure occurred, or better display information about it.
2021-02-02 23:36:56 +00:00
6195d7b18f Remove store_path from select-guix-revision-for-branch-and-datetime
As I want to remove the field from the database.
2021-02-02 19:49:09 +00:00
f868591d1c Show finished builds on the fixed output package derivations page
Rather than scheduled builds as well, as that's not useful information.
2021-02-02 19:37:35 +00:00
060df92557 Adjust for the introduction of (guix narinfo) 2021-02-01 08:42:26 +00:00
54c5fbe9fb Fix a Squee null handling issue with latest fixed output derivations 2021-01-14 22:09:32 +00:00
ea7331ad25 Don't ignore all system tests if computing one derivation fails 2021-01-14 20:45:03 +00:00
a88e9db1ff Fix issue with the system test comparison page 2021-01-14 20:44:41 +00:00
1050070067 Implement compare by datetime for system test derivations
Also fix some general issues with the rendering.
2021-01-04 22:59:28 +00:00
b4bb92c8a9 Fix a copy paste error in system-test-derivations-differences-data 2021-01-04 22:58:53 +00:00
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