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

630 commits

Author SHA1 Message Date
Christopher Baines 00d9664714 Query builds for system test derivations 2020-02-03 09:57:35 +01:00
Christopher Baines 8f0d5b51b1 Store information about system tests 2020-02-03 09:57:02 +01:00
Christopher Baines 65850669a0 Log the time to lock package_versions_by_guix_revision_range 2020-02-02 11:14:35 +01:00
Christopher Baines 908f6d3eee Log the time to lock load-new-guix-revision-inserts 2020-02-02 11:14:35 +01:00
Christopher Baines 956aa9ecb0 Log the time taken to acquire advisory session locks 2020-02-02 10:10:25 +01:00
Christopher Baines f59354ed23 Call add-temp-root for the derivation file names
In an attempt to stop the derivations from being garbage collected between the
time they're generated, and when they're potentially read by the Guix Data
Service.
2020-02-02 08:30:02 +01:00
Christopher Baines 381acf312e Warn if process-branch-updated-mbox won't match any emails 2020-02-01 14:03:26 +01:00
Christopher Baines 671a85f798 Add a function to check how many repositories have x_git_repo_header 2020-02-01 13:59:41 +01:00
Christopher Baines 744ab9366b Add a very basic repositories page 2020-02-01 13:33:14 +01:00
Christopher Baines 6bc753dd0e Add a build servers page 2020-02-01 13:12:01 +01:00
Christopher Baines e5e9442b44 Add an Overview section to the README
To try and provide some information about the motivation for the Guix Data
Service.
2020-02-01 10:40:11 +01:00
Christopher Baines ee82c2c71d Refactor processing lint warnings
Extract out a function to make the code slightly easier to read.
2020-02-01 10:32:49 +01:00
Christopher Baines 91249f5ee0 Fix indentation 2020-02-01 10:31:19 +01:00
Christopher Baines 9754a274b4 Add ephemeralpg to the guix-dev.scm file
This is used for running the tests.
2020-01-31 12:46:21 +01:00
Christopher Baines 1ab6ecd64f Use the line numbers to make the package deduplication more stable
Previously this would just compare on the version if the name was the same,
but there are package definitions that share the name and version (itstool is
one example).

To try and make this more stable, to avoid weird errors, and unstable
comparisons between revisions, use the line number when deduplicating
packages.
2020-01-21 23:55:36 +00:00
Christopher Baines a66cbd41f9 Fail early if a package lookup fails when loading a revision
I think this might be happening when packages are filtered out as
duplicates (by name and version), but then a reference to a duplicate occurs
somewhere, like in a lint warning.
2020-01-21 23:53:52 +00:00
Christopher Baines bf25a8db02 Add a job events page 2020-01-20 19:46:00 +00:00
Christopher Baines f3ebe83532 Tweak the recent events table on the jobs page 2020-01-20 19:33:45 +00:00
Christopher Baines 704f149645 Improve the compare-invalid-parameters messages 2020-01-18 10:18:17 +00:00
Christopher Baines cf407fe830 Switch to querying builds by output, rather than derivation
This is better, as Cuirass will return a build for the derivation it built to
generate that output. This avoids having to query for multiple derivations
that generate a single output, until the one that Cuirass used is found.
2020-01-16 20:42:56 +00:00
Christopher Baines bd52629674 Fix insert-build when derivation_output_details_set_id is NULL
I can't figure out how to insert NULL through a param, so just construct a
query to insert the values directly.
2020-01-16 20:37:02 +00:00
Christopher Baines 54baf32be6 Fix select-build-id-by-build-server-and-derivation-file-name
The id will be wrapped in a list.
2020-01-16 20:34:44 +00:00
Christopher Baines b43fe39ab8 Fix setting GUIX_LOCPATH when using open-inferior/container 2020-01-13 22:24:18 +00:00
Christopher Baines 2062badf51 Add a small table of recent job events
To make it easier to see what recently happened.
2020-01-12 17:30:52 +00:00
Christopher Baines 331e3e789d Remove a couple of items from the roadmap in the README
As they've at least partially been done.
2020-01-11 18:06:07 +00:00
Christopher Baines 2f36d47b1b Don't hardcode the expected x-git-repo header value
Rather than expecting it always to be "guix", store the expected value in the
database, and use the value of the header to find the relevant repository.
2020-01-11 17:25:08 +00:00
Christopher Baines 57cbac891e Delete unused assoc-ref-multiple function 2020-01-10 17:28:12 +00:00
Christopher Baines c7e3a1bd0b Use the build_servers_build_config table when querying build servers
This allows configuing which systems a build server builds.
2020-01-05 12:48:49 +00:00
Christopher Baines 1679c985c4 Add a table to configure which build servers build what 2020-01-05 12:16:21 +00:00
Christopher Baines c388f3ee13 Add a basic page for build servers 2020-01-05 12:01:06 +00:00
Christopher Baines 726674486f Add a couple of comments to select-outputs-without-known-nar-entries 2020-01-05 12:01:06 +00:00
Christopher Baines 0759be52de Remove -for-successful-builds from procedure name
This used to be the case, but now it just selects all outputs, as that's
quicker overall (as querying the build server is quick).
2020-01-05 12:01:06 +00:00
Christopher Baines e070c20030 Make valid-systems quicker
In the future, it would be good to pull this from the database again, but in
some way which is really quick.
2020-01-05 12:01:06 +00:00
Christopher Baines ffcf937c6a Don't hardcode the system and target for the derivation history page 2020-01-05 11:17:39 +00:00
Christopher Baines 6f34d12c4c Extract out the derivation-history rendering code 2020-01-05 10:32:47 +00:00
Christopher Baines 012e51fc2a Fix the help text on the derivation outputs page 2020-01-04 22:16:58 +00:00
Christopher Baines d7036bdd37 Implement the search query input on the derivation outputs page 2020-01-04 22:15:39 +00:00
Christopher Baines 6cb7e92257 Support the search query input on the revision derivations page 2020-01-04 21:46:22 +00:00
Christopher Baines 444649cbc9 Fix the help text on the revision derivations page 2020-01-04 21:46:01 +00:00
Christopher Baines 2f56e59e5b Fix some missing arguments to view-revision-derivations 2020-01-04 21:45:41 +00:00
Christopher Baines ceb1f95a19 Add a function to search for derivations in a revision 2020-01-04 21:45:27 +00:00
Christopher Baines 0ceb62cbc8 Drop bottom margin of the dl's on the revision derivations page
This makes the table display better.
2020-01-04 21:21:17 +00:00
Christopher Baines dc67655a34 Add missing headings to the revision derivations page table 2020-01-04 21:21:07 +00:00
Christopher Baines e5aca1f317 Remove the outputs from the query behind the revision derivations
As that data is now unused.
2020-01-04 21:20:32 +00:00
Christopher Baines 04ab01725b Add a revision header and link to the package reproducibility page
To make it easier to get back to the revision page, as well as setting the
content more in context.
2020-01-04 21:08:39 +00:00
Christopher Baines 8a3b0d97b8 Add a revision header and link on the revision builds page
To make it easier to get back to the revision page, as well as setting the
page content in context.
2020-01-04 21:07:56 +00:00
Christopher Baines b26ba82dad Add more timing and debugging output to the load process
To help identify what's taking the most time.
2020-01-04 11:20:02 +00:00
Christopher Baines 3d51d88d06 Fix the table layout on the derivation history page 2020-01-03 21:49:03 +00:00
Christopher Baines d107830300 Add a #:loop? option to backfill-derivation-source-file-nars 2020-01-03 21:42:52 +00:00
Christopher Baines 4ed14007c4 Fix some instability in the lint warnings page results
The ordering could flip around, so fix it better.
2020-01-02 21:19:43 +00:00