aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Split out querying of build servers and substitute serversChristopher Baines2020-05-03
| | | | | | These are related things, but somewhat separate. This change should make it easier to deal with changes regarding querying build servers, and querying substitute servers.
* Fix a window clause in package-outputs-for-branchChristopher Baines2020-05-03
| | | | This was leading to the first and last revision datetimes to be wrong.
* Fetch narinfo files first, because that's fasterChristopher Baines2020-04-25
| | | | At least than fetching builds.
* Remove odd package derivations with mismatched systemsChristopher Baines2020-04-24
| | | | | This follows on from 79993bfaeff3097d37838bc0636fc20c6fc4283d, disassociating the relevant derivations from the revisions.
* Fix the link to the package derivation outputs pageChristopher Baines2020-04-24
|
* Guard against strange derivations for packagesChristopher Baines2020-04-24
| | | | | Where the requested system doesn't match that of the returned derivation. This seems to happen for packages like dev86, wine and go.
* Add support for query parameters to the View JSON button of JobsDanjela Lura2020-04-24
| | | | Signed-off-by: Christopher Baines <mail@cbaines.net>
* Include if data is available in the JSON response for a branchChristopher Baines2020-04-24
|
* Add a JSON output for the revision channel instancesChristopher Baines2020-04-24
|
* Fix the field names for the JSON representation of a branchChristopher Baines2020-04-24
|
* Implement the JSON response for the package derivations pageChristopher Baines2020-04-24
|
* Support controlling the fields returned for package derivationsChristopher Baines2020-04-24
| | | | | Mostly so that the builds can be avoided when querying for all the derivations, as that's slow.
* Make it clearer that some things relate to package derivationsChristopher Baines2020-04-24
| | | | Rather than derivations in general.
* Set a statement timeout of 60 seconds for web requestsChristopher Baines2020-04-24
| | | | | This will help stop queries running for an unnecessarily long time, longer than NGinx will wait for example.
* Support setting a statement timeoutChristopher Baines2020-04-24
| | | | To stop queries related to the web server that run for a long time.
* Add plain text representation for the page for a single jobDanjela Lura2020-04-20
| | | | Signed-off-by: Christopher Baines <mail@cbaines.net>
* Add JSON representation for the Jobs pageDanjela Lura2020-04-20
| | | | Signed-off-by: Christopher Baines <mail@cbaines.net>
* Actually load the (guix lint) module if it's availableChristopher Baines2020-04-20
|
* Update the valid-systems testChristopher Baines2020-04-20
|
* Add i586-gnu as a valid systemChristopher Baines2020-04-20
| | | | | This is present currently on core-updates. Ideally the valid-systems would adapt to the revision, but for the moment just add it everywhere.
* Adapt to the different inferior error handlingChristopher Baines2020-04-20
| | | | | | In recent versions of Guix on the Guix Data Service side, I don't think these are system-error's, but a different type. For compatibility, just catch any error.
* Improve detecting if the (guix lint) module is availableChristopher Baines2020-04-20
| | | | | Previously it would cause an error when it's not available, which is a bit unnecessary.
* Handle when there's no system-test-data to insertChristopher Baines2020-04-20
| | | | Previously it would error in one of the INSERT queries.
* Add missing locale parameter to the latest revision lint warningsChristopher Baines2020-04-15
|
* Set a description for the index pageChristopher Baines2020-04-08
|
* Make it possible to set descriptions for pagesChristopher Baines2020-04-08
|
* Remove the meta author tagChristopher Baines2020-04-08
| | | | As I'm not the only author :)
* Specify the language on the html tagChristopher Baines2020-04-08
| | | | Rather than using a meta tag, apparently this is better.
* Print out the system tests as the derivations are being computedChristopher Baines2020-04-07
| | | | This might help with debugging failures in the load jobs around this point.
* Guard against errors loading system testsChristopher Baines2020-04-07
|
* Guard against errors when inserting log dataChristopher Baines2020-04-07
| | | | | | PostgreSQL seems to be unhappy with some data, I guess because it gets a bit jumbled. Rather than failing the job, or getting stuck not inserting logs, try and capture the error, log the details, and then keep going.
* Use the config options when creating the default paramstringChristopher Baines2020-04-07
|
* Remove some done items from the READMEChristopher Baines2020-04-05
| | | | | The derivations for channel instances (guix pull) and system tests are now captured.
* Fix another typo in the READMEChristopher Baines2020-04-05
|
* Fix typos in READMEVincent Legoll2020-04-05
| | | | Signed-off-by: Christopher Baines <mail@cbaines.net>
* Add option to change language of lint messages for the revision pageDanjela lura2020-04-04
| | | | Signed-off-by: Christopher Baines <mail@cbaines.net>
* Fix the new package-versions-for-branch queryChristopher Baines2020-03-31
| | | | | | | This recent change simply didn't work, the ordering was bad and the window function wasn't properly defined. It now should hopefully work, although there's an interesting case where different versions are available for different systems/targets, which isn't handled particularly well.
* Rebuild the package derivation ranges table for the small backupChristopher Baines2020-03-31
| | | | | | This is better than just deleting the entries that don't match up with the remaining revisions, but also not very useful for local development (due to the lack of data).
* Improve the insert-guix-revision-package-derivation-entries queryChristopher Baines2020-03-31
| | | | | Somewhat untested improvements, but these make the query a bit more rigorous in the case of multiple branches and git repositories.
* Improve filtering for no targetChristopher Baines2020-03-31
| | | | | | Previously, the select option label was empty that's not particularly informative. These changes also fix the next page link behaviour for the target parameter.
* Store output of most-recent-commits-for-branch in a local variableDanjela lura2020-03-29
| | | | Signed-off-by: Christopher Baines <mail@cbaines.net>
* Fix a missing ; in a Sqitch migrationChristopher Baines2020-03-29
|
* Handle NULL better insert-missing-data-and-return-all-ids queriesChristopher Baines2020-03-29
| | | | | | | | Actually check if fields can be NULL, and if they can be then include some extra conditions for the comparison. This will at least make the queries smaller, I'm not sure if it will have an effect on performance.
* Add a function to fetch information about a tableChristopher Baines2020-03-29
| | | | Mostly so whether a field can contain NULL values can be determined.
* Make jobs unique by commitChristopher Baines2020-03-28
| | | | | Given that a commit, regardless of what repository it comes from should contain the same exactly the same data, just track jobs by commit.
* Include data in JSON response for the branch pagespf502020-03-28
| | | | Signed-off-by: Christopher Baines <mail@cbaines.net>
* Give the temporary database more working memoryChristopher Baines2020-03-26
| | | | In the hope that this makes the script faster.
* Use EXPLAIN ANALYZE for the creation of tmp_derivationsChristopher Baines2020-03-26
| | | | | In the create-small-backup script, as this is quite a slow part, it's useful to get more information.
* Handle a couple more tables in create-small-backupChristopher Baines2020-03-26
| | | | | derivation_output_details_sets, and derivations_by_output_details_set. This required moving around some of the code.
* Add an unimplemented JSON response for the branch pageChristopher Baines2020-03-26
|