aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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
|
* Split the Direnv section in the READMEChristopher Baines2019-10-18
| | | | | Move the bit about the paramstring to after the database setup, as you need to have set the password.
* Handle unknown requests better within controllersChristopher Baines2019-10-18
|
* Send inferior error output to stderrChristopher Baines2019-10-18
| | | | | | | | Ideally this would go in to the database somehow as well, but the only idea I have for that is pass in a pipe, and then spawn a thread to read from the other end of that pipe in a loop to send the output to the database. That hasn't been written yet, so just send the output to stderr for now.
* Remove unused inferior-package-transitive-supported-systems functionChristopher Baines2019-10-18
|
* Fix some missing branch constraints in package-versions-for-branchChristopher Baines2019-10-17
| | | | | The lack of these meant that versions on other branches could appear in the results.
* Fix some long lines in the package-versions-for-branch queryChristopher Baines2019-10-17
|
* Move the database setup section later in the READMEChristopher Baines2019-10-15
| | | | | | Given that the .envrc file and direnv setup in the previous step may provide the PostgreSQL tools that you need to run here, it's probably more sensible to re-order the steps in this way.
* Extract the comparison pages out from the main modulesChristopher Baines2019-10-14
| | | | | In to their own modules. This should help make the code more understandable, and allow future refactoring for readability.
* Move the unknown-revision function to the correct moduleChristopher Baines2019-10-14
|
* Refactor the repository pages codeChristopher Baines2019-10-14
| | | | | Move it out of the main controller and html modules to better separate the code, which should allow to make it easier to read in the future.