aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/model
Commit message (Collapse)AuthorAge
* Fix insert-build when derivation_output_details_set_id is NULLChristopher Baines2020-01-16
| | | | | I can't figure out how to insert NULL through a param, so just construct a query to insert the values directly.
* Fix select-build-id-by-build-server-and-derivation-file-nameChristopher Baines2020-01-16
| | | | The id will be wrapped in a list.
* Don't hardcode the expected x-git-repo header valueChristopher Baines2020-01-11
| | | | | 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.
* Use the build_servers_build_config table when querying build serversChristopher Baines2020-01-05
| | | | This allows configuing which systems a build server builds.
* Add a basic page for build serversChristopher Baines2020-01-05
|
* Add a couple of comments to select-outputs-without-known-nar-entriesChristopher Baines2020-01-05
|
* Remove -for-successful-builds from procedure nameChristopher Baines2020-01-05
| | | | | 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).
* Make valid-systems quickerChristopher Baines2020-01-05
| | | | | In the future, it would be good to pull this from the database again, but in some way which is really quick.
* Implement the search query input on the derivation outputs pageChristopher Baines2020-01-04
|
* Add a function to search for derivations in a revisionChristopher Baines2020-01-04
|
* Remove the outputs from the query behind the revision derivationsChristopher Baines2020-01-04
| | | | As that data is now unused.
* Add more timing and debugging output to the load processChristopher Baines2020-01-04
| | | | To help identify what's taking the most time.
* Add a #:loop? option to backfill-derivation-source-file-narsChristopher Baines2020-01-03
|
* Fix some instability in the lint warnings page resultsChristopher Baines2020-01-02
| | | | The ordering could flip around, so fix it better.
* Make it possible to specify the batch sizeChristopher Baines2019-12-31
| | | | In backfill-derivation-source-file-nars.
* Display details for the derivation source filesChristopher Baines2019-12-30
| | | | If the nar file is available.
* Add a function to backfill missing derivation source file narsChristopher Baines2019-12-30
| | | | | | | If the file exists in the local store, then read it and add an entry to the derivation_source_file_nars table. This will help to fill in the missing entries, as currently entries are only added when the derivation source file isn't in the database when the load new revision job runs.
* Rework insert-derivation-sources to use a helper functionChristopher Baines2019-12-29
| | | | This means it returns ids properly.
* Serve narinfo files for derivation sourcesChristopher Baines2019-12-29
|
* Serve nar files for the derivation source filesChristopher Baines2019-12-29
|
* Generate and store nars for derivation source filesChristopher Baines2019-12-29
| | | | This'll allow serving nars for these derivation source files.
* Change the language around reproducibility/matching outputsChristopher Baines2019-12-27
| | | | | | | | It's more accurate to describe the specifics of the relevant data here through terms like "matching" and "not matching", as a statement that something built reproducibility needs to be made alongside the test conditions. So just say that build outputs matched, or didn't match, as this is more descriptive of the data available.
* Improve the builds info on the revision package version pageChristopher Baines2019-12-27
| | | | Show multiple builds, and link to the build page.
* Fix more cases where equivalent builds were missedChristopher Baines2019-12-26
|
* Add copyright and license headers to a bunch of source filesChristopher Baines2019-12-26
| | | | That were missing them.
* Remove a rogue 1 from the (guix-data-service model nar) moduleChristopher Baines2019-12-26
|
* Add a function to fetch references for derivationsChristopher Baines2019-12-26
| | | | | This replicates the store item references for the derivation, through looking up the inputs which the derivation references, and also the sources.
* Add a function to fetch a derivation by file name hashChristopher Baines2019-12-26
|
* Use the returned file name in select-derivation-by-file-nameChristopher Baines2019-12-26
| | | | | They should be the same, but it seems more sensible to return the value from the database.
* Add a function serialize a derivationChristopher Baines2019-12-26
| | | | | | This effectively duplicates the behaviour in Guix for serializing derivations, but this uses the database representation in the Guix Data Service, rather than the records Guix uses.
* Ensure output ordering for derivations is correctChristopher Baines2019-12-26
| | | | This affects the formatted derivation output.
* Fix the representation of the fixed output derivation hashesChristopher Baines2019-12-26
| | | | | | | | | | | Previously, they were nix-base32-string encoded, but the representation in the derivations is base16, so it doesn't make sense to use a different representation in the database. Therefore, add some code that runs before the start of each job to convert the data in the database. It was easier to do this in Guile with the existing support for working with these bytevector representations. After some migration period, the code for converting the old hashes can be removed.
* Group derivation input outputs together by derivationChristopher Baines2019-12-26
| | | | | | Both in terms of the code fetching the data from the database, as well as the formatted and detail outputs. This corrects an error in the formatted output for derivations where inputs would be duplicated.
* Fix the successful builds outputs query where there are no revisionsChristopher Baines2019-12-26
| | | | As it was erroring before.
* Fix the derivations list on the builds pageChristopher Baines2019-12-23
|
* Fix the unknown build counts on the builds pagesChristopher Baines2019-12-23
|
* Fix an error when updating the package derivation versions tableChristopher Baines2019-12-23
|
* Include builds on the derivation history pageChristopher Baines2019-12-22
|
* Add a function to rebuild the package_derivations_by_guix_revisionChristopher Baines2019-12-22
| | | | At the moment, some data is missing, but this code will fix that.
* Extract out some functions from update-package-derivations-tableChristopher Baines2019-12-22
| | | | To allow these to be used independently.
* Extract management of package_derivations_by_guix_revision_rangeChristopher Baines2019-12-22
| | | | ... entries in to a separate module, to split the code up a little further.
* Allow filtering the revision builds page by systemChristopher Baines2019-12-22
|
* Filter builds on the revision builds page by revisionChristopher Baines2019-12-22
|
* Ignore cross built derivations for the build statsChristopher Baines2019-12-22
|
* Allow filtering by system and target on the derivation-outputs pageChristopher Baines2019-12-16
| | | | So that this can match up with the package reproducibility page.
* Fix matching equivalent derivations in another functionChristopher Baines2019-12-16
|
* Add a page with charts to show package reproducibilityChristopher Baines2019-12-16
|
* Fix group-to-alistChristopher Baines2019-12-16
| | | | To not just append elements to the alist.
* Move group-to-alist to the model utils moduleChristopher Baines2019-12-16
| | | | So it can be more widely used.
* Add a function to find the builds required for a build that failedChristopher Baines2019-12-16
|