aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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.
* Refactor the revision pagesChristopher Baines2019-10-14
| | | | | | Move the code to a more specific controller and html module. There's a lot of code related to the revision pages, and having it separated will help with refactoring it.
* Remove the query-parameters from controller-with-database-connectionChristopher Baines2019-10-13
| | | | As I believe it's unused.
* Refactor the jobs pages codeChristopher Baines2019-10-13
| | | | | | Move the code out of the main controller and html modules. There's now too much code in these modules, so begin to separate the functionality, starting with the small amount of code for the jobs pages.
* Add a compare-by-datetime pageChristopher Baines2019-10-13
| | | | | | | | | | This is to compare the state of a branch (or two different branches) at two different times. This complements the ability to compare by revision to be able to just compare by date and time. The relevant revisions are determined, and then compared as normal. This is only a very rough initial implementation, as I'm hoping to refactor the code to reduce duplication.
* Add a variant of compare/derivations to work with a branch and datetimeChristopher Baines2019-10-13
|
* Add select-guix-revision-for-branch-and-datetimeChristopher Baines2019-10-13
| | | | To get the guix revision that was on a branch at a given date and time.
* Improve linking between the Jobs and Job queue pagesChristopher Baines2019-10-12
|
* Improve error handling for comparison pagesChristopher Baines2019-10-12
|
* Add a page for queued jobsChristopher Baines2019-10-12
|
* Remove the now redundant with-base-and-target-commits functionChristopher Baines2019-10-12
| | | | Uses of this have been replaced with parse-query-parameters.
* Switch the compare page to use parse-query-parametersChristopher Baines2019-10-12
|
* Switch the compare/packages page to use parse-query-parametersChristopher Baines2019-10-12
|
* Don't automatically shutdown the test databaseChristopher Baines2019-10-11
| | | | | As this leaves a process running, it's better just to stop the database manually.
* Fix the environment variables in the check-with-tmp-database targetChristopher Baines2019-10-11
| | | | So that they're actually set for sqitch.
* Improve the check-with-tmp-database targetChristopher Baines2019-10-11
| | | | | To better manage the environment, and stop the database upon completion of the tests.
* Add a check-with-tmp-database targetChristopher Baines2019-10-08
| | | | | | | This is aimed at testing using pg_tmp, to create a temporary test database (and instance of PostgreSQL). This is both useful for testing all the migrations, but should also be useful for running the tests within the guix package.
* Add support for using a database URIChristopher Baines2019-10-08
| | | | As this is useful when working with pg_tmp.
* Sort package versions on a branch by version as wellChristopher Baines2019-10-08
| | | | To fix the order when the first_datetime matches.