aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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.
* Handle potentially serving assets from the storeChristopher Baines2019-10-06
|
* Add a new static-asset-from-store-renderer functionChristopher Baines2019-10-06
| | | | | | | | | | | | Previously, the assets would be served from the store normally, but this meant that they were read from disk each time, and stat calls were used to determine when they were last modified. This doesn't work for files in the store, as the timestamps are normalised, therefore add a renderer that takes advantage of the asset directory being in the store. All the files are read at startup, and then stored in memory. Also, the process start time is used as a value for the last modified header, which isn't ideal, but it's better than 1970.
* Add assets-dir-in-store? to the config moduleChristopher Baines2019-10-06
| | | | | To allow looking up if the assets are in the store, which will happen if the Guix Data Service is running from a Guix package.
* Run the logo.png through optipngChristopher Baines2019-10-05
|
* Add "No lint warning changes" message to compare pageChristopher Baines2019-10-05
|
* Remove duplicates from the guix_revisions tableChristopher Baines2019-10-05
|
* Link from the revision package page to the version history pageChristopher Baines2019-10-03
|
* Add a package page, showing versions for a revisionChristopher Baines2019-10-03
|
* Rename render-revision-package to render-revision-package-versionChristopher Baines2019-10-03
| | | | As this name is more specific.
* Make it easier to retry jobsChristopher Baines2019-10-02
| | | | | | | | Add a new event 'retry', and run jobs where the number of retry events is greater or equal to the number of failure events. Also add an index to the git_branches table to make the finding jobs query a bit faster.
* Remove "support for viewing package history" from the RoadmapChristopher Baines2019-10-01
| | | | As there is an initial version of this feature now.
* Say "with graphs" in the READMEChristopher Baines2019-10-01
| | | | As I think this makes more sense than "including graphs".
* Rewrite localhost for sqitchChristopher Baines2019-10-01
| | | | As this means that like psql, the unix socket will be used.
* Remove non-existent test from Makefile.amChristopher Baines2019-10-01
|
* Hide deleted branches on the index pageChristopher Baines2019-09-29
| | | | | To keep the page length down. All branches can still be seen on the page for specific repositories.
* Remove a redundant query conditionChristopher Baines2019-09-29
| | | | The git_branches.commits column doesn't allow NULL values.
* Fix the 'NULL' values in git_branches for the commitsChristopher Baines2019-09-29
| | | | | | | | | | | The git_branches table had 'NULL' values for some commits where the branch was deleted, importantly this was the string 'NULL', not an actual NULL value. This commit fixes that, migrating the existing values to be '', and changing the relevant code. The primary key is also extended to include the datetime field, as this is important to allow a branch to be deleted twice.
* Add migration to create an index on load_new_guix_revision_job_eventsChristopher Baines2019-09-29
| | | | To speed up the rendering of the index page.
* Fail early if the inferior is #fChristopher Baines2019-09-29
| | | | This happens when the repl can't be loaded for example.
* Try setting the en_US.UTF-8 locale, if the normalised failsChristopher Baines2019-09-29
| | | | | Older versions of the glibc-locales package just contain the UTF-8 variants, not utf8.
* Don't error when processing revisions of Guix without graft supportChristopher Baines2019-09-29
|
* Handle loading revisions without the (guix lint) moduleChristopher Baines2019-09-29
| | | | | This is a recent addition, so to support loading revisions without it, better handle the error when loading the module.
* Unset the GUILE_LOAD_* environment variables when using inferiorsChristopher Baines2019-09-28
| | | | Otherwise modules from outside of the inferior can leak in.
* Provide the job id for jobs on the revision pageChristopher Baines2019-09-28
| | | | | Using the title element, as the identifier is internal, but it's useful for development to be able to find it out, if you want to run the job for testing.
* Add a new script to process emails in an mbox fileChristopher Baines2019-09-28
| | | | | This can be used with the mbox files for the guix-commits mailing list to add older emails in to the database.
* Add JSON output for the branch package versions pageChristopher Baines2019-09-27
|
* Add some bars to the table on the branch package versions pageChristopher Baines2019-09-27
| | | | To provide a more visual view of when the package versions were available.