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

40 commits

Author SHA1 Message Date
Christopher Baines e8e1459769 URI encode some derivation names in links
To handle characters like +.
2023-09-07 11:14:11 +01:00
Leo Famulari 8c2f97eef8 Comparing package derivations: Fix inconsistent verbage.
Harmonize "Build change" options between the selection menu and the
documentation

* guix-data-service/web/compare/html.scm (compare/package-derivations):
Replace "Still broken" with "Still failing" in the "Build change" help text.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-02-17 17:10:52 +00:00
Christopher Baines f68822cad2 Include some useful numbers on the package derivations comparison
As it's frequently useful to know how many packages/builds some change has
affected.
2023-02-15 15:48:45 +00:00
Christopher Baines 752d21ad05 Improve the way the field fields work on various pages
Remove the brackets from the values since this makes the set of values more
consistent, and don't display the no additional fields value on the page.
2022-01-31 20:25:06 +00:00
Luciana Lima Brito 767e60b2b3 Change data handling when comparing derivations
comparison.scm: return query data for derivation comparison as an alist,
instead of list.
html.scm: Access derivation differences data using assq-ref.
controller.scm: remove mapping for outputs/inputs/sources.
utils.scm: add group-to-alist/vector function.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2021-04-27 21:18:51 +01:00
Canan Talayhan fe97021cd0 Set more informative page titles
For many pages where previously the title was just "Guix Data Service".

Signed-off-by: Christopher Baines <mail@cbaines.net>
2021-04-23 12:00:03 +01:00
Christopher Baines a88e9db1ff Fix issue with the system test comparison page 2021-01-14 20:44:41 +00:00
Christopher Baines 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
Christopher Baines 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
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 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 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 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 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 c05cbd8438 Rename some derivation comparison procedures
As they actually just relate to package derivations.
2020-10-31 13:52:08 +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 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 8daf35e2df Change the derivation comparison targets
To be targets, rather than systems.
2020-10-09 19:29:58 +01:00
Christopher Baines 1f55718d75 Link to the revisions in the comparison header 2020-10-09 19:29:38 +01:00
Danjela Lura d3096de655 Use lint checker related translations on some pages
Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-06-07 20:17:03 +01:00
Christopher Baines 704f149645 Improve the compare-invalid-parameters messages 2020-01-18 10:18:17 +00:00
Christopher Baines 75665e3203 Fix a few list styling issues 2020-01-02 21:18:42 +00:00
Christopher Baines 23f60a6bbb Include news entries on the comparison page 2019-11-21 19:56:19 +00:00
Christopher Baines 5d7dadc9fe Add more links to store items
On the formatted derivation and derivation comparison pages.
2019-11-21 19:54:54 +00:00
Christopher Baines 78e830d91e Link to derivation comparison page from the compare/derivations page 2019-11-21 19:54:54 +00:00
Christopher Baines e31f370de0 Add a basic derivation comparison page 2019-11-21 19:54:54 +00:00
Christopher Baines edb21317a6 Remove a couple of peek calls that snuck in 2019-11-21 19:54:54 +00:00
Christopher Baines 4ce8d9e830 Extract the comparison pages out from the main modules
In to their own modules. This should help make the code more understandable,
and allow future refactoring for readability.
2019-10-14 19:24:14 +01:00