Commit graph

945 commits

Author SHA1 Message Date
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
f05af4479d Add a way of displaying build statuses as small labels 2020-10-31 15:53:50 +00:00
c05cbd8438 Rename some derivation comparison procedures
As they actually just relate to package derivations.
2020-10-31 13:52:08 +00:00
54616bc9e4 Add default "none" target to the package derivation outputs page
This avoids odd results for the links from the package substitute availability
page.
2020-10-31 13:27:06 +00:00
67f1ace9eb Add index to speed up deleting revisions
This is necessary to quickly delete entries from package_derivaitons.
2020-10-27 16:59:09 +00:00
6a7f6b5a0e Fix create small backup issue with latest_build_status 2020-10-23 20:01:43 +01:00
6c47212c4d Improve the failed comparison page 2020-10-23 16:23:16 +01:00
faa32234d8 Fix compare package derivations JSON link 2020-10-23 12:47:43 +01:00
63fc1917f8 Sort the pending builds by timestamp
So that builds that have been pending for a longer time are fetched first.
2020-10-21 20:49:58 +01:00
5124f3be3e Update insert-new-latest-status-entries
To use the status first for ordering, then the timestamp. This ensures
sensible behaviour regardless of what timestamps are present.
2020-10-21 20:25:59 +01:00
2e859ed981 Increase the limit on pending builds to query
As there are quite a lot of pending builds.
2020-10-21 20:08:02 +01:00
553f00d4cf Fix rendering of the /builds page 2020-10-21 20:05:37 +01:00
266a2d867c Limit the builds displayed on the /builds page
Otherwise it can't render if there are lots of builds.
2020-10-21 19:58:27 +01:00
fa6e4ac842 Use the status for ordering, as well as timestamp
As this will handle cases where the timestamps from Cuirass don't make sense,
like a build being canceled with a timestamp of 0 (1970).
2020-10-21 19:47:11 +01:00
6a04d474c0 Regenerate the latest_build_status table
As it doesn't handle wierdness for statuses, like builds being canceled with a
timestamp of 0.
2020-10-21 19:46:27 +01:00
efb26a616d Add a view build link on the build page 2020-10-21 19:26:18 +01:00
41a7f38f44 Cleanup scheduled and started builds with "0" timestamps
Not sure how these appeared, but deleting them seems to be sensible.
2020-10-21 19:25:30 +01:00
b5b89b3645 Fix broken links to builds 2020-10-21 18:38:29 +01:00
971a474f65 Update delete-unreferenced-derivations
To delete from latest_build_status as well.
2020-10-13 20:33:07 +01:00