aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/model
Commit message (Expand)AuthorAge
* 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. Christopher Baines2020-01-16
* Fix select-build-id-by-build-server-and-derivation-file-name•••The id will be wrapped in a list. Christopher Baines2020-01-16
* 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. Christopher Baines2020-01-11
* Use the build_servers_build_config table when querying build servers•••This allows configuing which systems a build server builds. Christopher Baines2020-01-05
* 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 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). Christopher Baines2020-01-05
* 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. Christopher Baines2020-01-05
* 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 derivations•••As that data is now unused. Christopher Baines2020-01-04
* Add more timing and debugging output to the load process•••To help identify what's taking the most time. Christopher Baines2020-01-04
* Add a #:loop? option to backfill-derivation-source-file-narsChristopher Baines2020-01-03
* Fix some instability in the lint warnings page results•••The ordering could flip around, so fix it better. Christopher Baines2020-01-02
* Make it possible to specify the batch size•••In backfill-derivation-source-file-nars. Christopher Baines2019-12-31
* Display details for the derivation source files•••If the nar file is available. Christopher Baines2019-12-30
* Add a function to backfill missing derivation source file nars•••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. Christopher Baines2019-12-30
* Rework insert-derivation-sources to use a helper function•••This means it returns ids properly. Christopher Baines2019-12-29
* 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 files•••This'll allow serving nars for these derivation source files. Christopher Baines2019-12-29
* Change the language around reproducibility/matching outputs•••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. Christopher Baines2019-12-27
* Improve the builds info on the revision package version page•••Show multiple builds, and link to the build page. Christopher Baines2019-12-27
* Fix more cases where equivalent builds were missedChristopher Baines2019-12-26
* Add copyright and license headers to a bunch of source files•••That were missing them. Christopher Baines2019-12-26
* Remove a rogue 1 from the (guix-data-service model nar) moduleChristopher Baines2019-12-26
* Add a function to fetch references for derivations•••This replicates the store item references for the derivation, through looking up the inputs which the derivation references, and also the sources. Christopher Baines2019-12-26
* Add a function to fetch a derivation by file name hashChristopher Baines2019-12-26
* Use the returned file name in select-derivation-by-file-name•••They should be the same, but it seems more sensible to return the value from the database. Christopher Baines2019-12-26
* Add a function serialize a derivation•••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. Christopher Baines2019-12-26
* Ensure output ordering for derivations is correct•••This affects the formatted derivation output. Christopher Baines2019-12-26
* Fix the representation of the fixed output derivation hashes•••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. Christopher Baines2019-12-26
* Group derivation input outputs together by derivation•••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. Christopher Baines2019-12-26
* Fix the successful builds outputs query where there are no revisions•••As it was erroring before. Christopher Baines2019-12-26
* 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_revision•••At the moment, some data is missing, but this code will fix that. Christopher Baines2019-12-22
* Extract out some functions from update-package-derivations-table•••To allow these to be used independently. Christopher Baines2019-12-22
* Extract management of package_derivations_by_guix_revision_range•••... entries in to a separate module, to split the code up a little further. Christopher Baines2019-12-22
* 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 page•••So that this can match up with the package reproducibility page. Christopher Baines2019-12-16
* 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-alist•••To not just append elements to the alist. Christopher Baines2019-12-16
* Move group-to-alist to the model utils module•••So it can be more widely used. Christopher Baines2019-12-16
* Add a function to find the builds required for a build that failedChristopher Baines2019-12-16