aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Query build servers for narinfo fileswip-narinfoChristopher Baines2019-11-30
| | | | | As well as making it possible to only query build servers for builds relating to a specific revision.
* Fix selecting pending buildsChristopher Baines2019-11-30
|
* Don't create misleading scheduled build status entriesChristopher Baines2019-11-30
| | | | | | | | Cuirass provides a timestamp field in build responses, and sometimes this means when the build was scheduled, but when the build is finished, it's the stoptime. So only use the timestamp when the build hasn't finished.
* Support handling jsonb in insert-missing-data-and-return-all-idsChristopher Baines2019-11-30
|
* Begin to add support for importing narinfo filesChristopher Baines2019-11-30
| | | | | This commit adds the tables, as well as code to support extracting data from narinfo files.
* Fix some queries relating to the build_status table changesChristopher Baines2019-11-28
|
* Fix the JSON output for the derivation history pageChristopher Baines2019-11-26
|
* Add the build-server-token-seed.scm file to Makefile.amChristopher Baines2019-11-26
|
* Extract the builds page in to it's own set of modulesChristopher Baines2019-11-24
| | | | To allow for expanding it, without cluttering the root controller.
* Respond to any method with a 404, if the request is unrecognisedChristopher Baines2019-11-24
|
* Just update the package derivation entries that need updatingChristopher Baines2019-11-24
| | | | | | | Previously, all the entries for the branch were deleted, but not, only the entries for the branch, that are present in the revision that was loaded will be deleted. This is more efficient, as it avoids deleting and recreating entries in the table that shouldn't have changed.
* Rework the builds and build_status tables as well as related codeChristopher Baines2019-11-24
| | | | | | | Allow for build status information to be submitted by POST request. This required some changes to the builds and build_status tables, as for example, the Cuirass build id may not be available, and the derivation may not be know yet, so just record the derivation file name.
* Add a script to help manage build serversChristopher Baines2019-11-23
| | | | | This computes and displays the tokens needed to send build events to the Guix Data Service.
* Add guile-gcrypt to the guix-dev.scm fileChristopher Baines2019-11-23
|
* Add a new module to handle build server token seedsChristopher Baines2019-11-23
| | | | | | | | | The intent with these tokens is for them to be provided when build events are submitted, preventing unauthorised submission of build events. It should be possible to make the database public, so it shouldn't contain any secret information. To have secret tokens that aren't in the database, store a token seed, and combine this with some secret data to compute the secret.
* Add new table to store token seeds for build serversChristopher Baines2019-11-23
|
* Improve select-build-servers to convert strings to appropriate typesChristopher Baines2019-11-23
|
* Add a page to render the channel news entries for a revisionChristopher Baines2019-11-22
|
* Expand compare by datetime outputChristopher Baines2019-11-21
| | | | Include the commit and datetime for the revisions that were compared.
* Include the datetime in select-guix-revision-for-branch-and-datetimeChristopher Baines2019-11-21
|
* Fix select-guix-revision-for-branch-and-datetimeChristopher Baines2019-11-21
| | | | | | | Flip the inequality and order, as this was picking the first revision after the datetime, rather than the last revision before it, which was the intention, as this should give you the revision on the branch, at the datetime.
* Remove some peek statements that snuck inChristopher Baines2019-11-21
|
* Include news entries on the comparison pageChristopher Baines2019-11-21
|
* Add a function to get the channel news entries in a revisionChristopher Baines2019-11-21
|
* Link to the comparison page when viewing derivation historyChristopher Baines2019-11-21
|
* Insert channel news entries when loading new guix revisionsChristopher Baines2019-11-21
| | | | If the channel-news-for-commit function is present.
* Extract out creating the guix-revision from extract-information-fromChristopher Baines2019-11-21
| | | | To allow for using the guix-revision-id when inserting channel news entries.
* Add a new channel-news module, along with tables the relevant dataChristopher Baines2019-11-21
|
* Refactor channel handling in the load-new-guix-revision moduleChristopher Baines2019-11-21
| | | | To allow for passing the channel to channel-news-for-commit.
* Add a basic page for derivation source filesChristopher Baines2019-11-21
| | | | Just so that the links work.
* Add a function for selecting derivation source filesChristopher Baines2019-11-21
|
* Add more links to store itemsChristopher Baines2019-11-21
| | | | On the formatted derivation and derivation comparison pages.
* Add a generic way of presenting values that may be store itemsChristopher Baines2019-11-21
|
* Link to the formatted derivation pageChristopher Baines2019-11-21
|
* Link to derivation comparison page from the compare/derivations pageChristopher Baines2019-11-21
|
* Add a basic derivation comparison pageChristopher Baines2019-11-21
|
* Remove a couple of peek calls that snuck inChristopher Baines2019-11-21
|
* Include the hash algorithm and hash on the formatted derivation pageChristopher Baines2019-11-10
|
* Improve select-derivation-outputs-by-derivation-idChristopher Baines2019-11-10
| | | | It now converts the recursive value to a boolean.
* Add a page to show a formatted derivation representationChristopher Baines2019-11-09
| | | | | | The HTML is very rough, and the way it's displayed is also rough, but it does provide a way to understand the derivation. I'm also unsure it's a perfect representation, but it's a start at least.
* Add a function to select derivation sourcesChristopher Baines2019-11-09
|
* Improve some derivation model functionsChristopher Baines2019-11-09
| | | | | | Return integer values for ids, rather than strings (as this type is more appropriate). Also, better parse the derivation arguments and environment variables.
* Add a function to help parse PostgreSQL arraysChristopher Baines2019-11-09
|
* Add first version of a page with the history of package derivationsChristopher Baines2019-11-09
| | | | | Some filtering options need adding for the system and target, as it's currently hardcoded, but the general page does work.
* Add a new table to describe the history of derivationsChristopher Baines2019-11-09
| | | | | There's already the package_versions_by_guix_revision_range table, but I think it would be also useful to be able to see how derivations change over time.
* Sort the derivation inputs by derivation file nameChristopher Baines2019-11-03
| | | | As this is the way they're sorted in the derivation.
* Work around a problem loading guix revisionsChristopher Baines2019-11-03
| | | | | | Between b13b9384bc43bf93c754c037956c8ef9a99c2b41 and 601171a9bc7ca6e4acb932895a07c0ca9aedfdac, this method failed, so catch the error to allow loading the affected revisions.
* Fix various warnings relating to the controller refactoringChristopher Baines2019-10-18
|
* Add missing files to the SOURCES list in Makefile.amChristopher Baines2019-10-18
|
* Sort the SOURCES in the Makefile.amChristopher Baines2019-10-18
|