Commit graph

963 commits

Author SHA1 Message Date
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
31475374f7 Support selecting compared package derivations by build change 2020-11-19 21:02:30 +00:00
80c6fbd1ac Clean up some unused code in the compare controller 2020-11-19 20:59:02 +00:00
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
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
e07b3291e8 Vacuum the package derivations table after each job
As each job deletes lots of rows in the table, vacuum it to free up space for
the next job.

I don't think this is something to do widely, but I wanted to try it out for
the tables which have a lot of churn.
2020-11-17 20:47:16 +00:00
5fb3fa177d Rework some of the table entries in the package through time tables
Try to clarify what the data means, make the revision commit more prominent
compared to the date and improve the display on smaller screens.
2020-11-16 18:49:20 +00:00
c13a0ef4c1 Use a darker grey on the tables through time
Just to make sure it's easy to see.
2020-11-16 18:20:10 +00:00
375a6a37dc Support not querying pending builds
As this can take some time.
2020-11-01 22:52:53 +00:00
f485423d5a Allow only fetching builds for a specific system 2020-11-01 22:49:49 +00:00
2732ba8f68 Support limiting fetching pending builds to specific revisions 2020-11-01 22:34:59 +00:00
adc1d01525 Only query recent pending builds
To avoid old pending builds that never leave the scheduled/started state.
2020-11-01 21:53:19 +00:00
5674f8838d Improve verbose output for fetching build information 2020-11-01 21:53:04 +00:00
6235c6e33b Fix call-with-time-logging in (guix-data-service utils)
It was just recording 0.
2020-11-01 21:17:31 +00:00
e394d1d6ad Show build information when comparing package derivations
As this is useful to see, as it can indicate that a change to the derivation
has led to the builds to start failing/succeeding.
2020-10-31 15:55:11 +00:00
1573fe566b Remove a few peek calls that snuck in 2020-10-31 15:54:34 +00:00