2
0
Fork 0
mirror of git://git.savannah.gnu.org/guix/data-service.git synced 2023-12-14 03:23:03 +01:00
Commit graph

412 commits

Author SHA1 Message Date
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 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 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 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 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
Christopher Baines 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
Christopher Baines 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
Christopher Baines 1573fe566b Remove a few peek calls that snuck in 2020-10-31 15:54:34 +00:00
Christopher Baines f05af4479d Add a way of displaying build statuses as small labels 2020-10-31 15:53:50 +00:00
Christopher Baines c05cbd8438 Rename some derivation comparison procedures
As they actually just relate to package derivations.
2020-10-31 13:52:08 +00:00
Christopher Baines 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
Christopher Baines 6c47212c4d Improve the failed comparison page 2020-10-23 16:23:16 +01:00
Christopher Baines faa32234d8 Fix compare package derivations JSON link 2020-10-23 12:47:43 +01:00
Christopher Baines 553f00d4cf Fix rendering of the /builds page 2020-10-21 20:05:37 +01:00
Christopher Baines 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
Christopher Baines efb26a616d Add a view build link on the build page 2020-10-21 19:26:18 +01:00
Christopher Baines b5b89b3645 Fix broken links to builds 2020-10-21 18:38:29 +01:00
Christopher Baines 941d1af556 Include the revision in the package derivation outputs JSON 2020-10-13 18:52:08 +01:00
Christopher Baines f15dc5ab0b Include package details for the package derivation outputs JSON
So it's easier to match the output back to the package.
2020-10-13 18:51:21 +01:00
Christopher Baines 4231f11cb8 Tweak linking to build servers
Move the logic from different places in the view code, and also start
supporting linking to guix.cbaines.net builds. I'm unsure quite how to
generalise this, but just starting doing it is probably the way forward.
2020-10-11 21:19:00 +01:00
Christopher Baines d05a7397fb Improve latest processed revision pages for reproducibility stuff
Support the package-derivation-outputs page, and switch the
package-reproducibility page across to use it.
2020-10-11 17:05:38 +01:00
Christopher Baines efbbac5099 Add a very rough JSON output for the package derivation outputs page 2020-10-11 16:53:29 +01:00
Christopher Baines 4f3be14c16 Split the jobs metric in to succeede, queued and failed
Rather than just completed or not.
2020-10-09 20:19:28 +01:00
Christopher Baines 5267bde603 Add Prometheus metrics for indexes specifically 2020-10-09 19:42:14 +01:00
Christopher Baines 2fa9f151f6 Include the base commit and target commit in the compare output
This makes it easier to make other requests with the response body.
2020-10-09 19:35:38 +01:00
Christopher Baines 3cb8ce51fc Include tablespace as a label for table metrics
As this will make it easier to tell where space is going.
2020-10-09 19:35:31 +01:00
Christopher Baines 6023aa8caf Improve select-job-for-commit
It now returns #f or a list, rather than the empty list or a nested list.
2020-10-09 19:31:51 +01:00
Christopher Baines 51204aefca Clarify that the derivations comparison only is for packages
As it excludes the channel instances and system tests.
2020-10-09 19:31:21 +01:00
Christopher Baines 853aaa6a7c Use letpar& for systems and targets in render-compare/derivations 2020-10-09 19:30:48 +01:00
Christopher Baines 8daf35e2df Change the derivation comparison targets
To be targets, rather than systems.
2020-10-09 19:29:58 +01:00