aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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
|
* Use the --no-comments option to pg_dumpChristopher Baines2020-03-25
| | | | | | | | | | Hopefully this will help with the pg_restore in the create-small-backup script: pg_restore: [archiver (db)] Error while PROCESSING TOC: pg_restore: [archiver (db)] Error from TOC entry 2875; 0 0 COMMENT EXTENSION plpgsql pg_restore: [archiver (db)] could not execute query: ERROR: must be owner of extension plpgsql Command was: COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';
* Create an index on narinfo_fetch_recordsChristopher Baines2020-03-25
| | | | This greatly improves the performance of the derivation-outputs page.
* Handle channel instances in create-small-backupChristopher Baines2020-03-25
| | | | Otherwise this table is empty.
* Handle system test derivations in create-small-backupChristopher Baines2020-03-25
| | | | Otherwise this table is empty.
* Remove redundant DISTINCT from the derivation range INSERT queryChristopher Baines2020-03-24
| | | | This was redundant and slow, so don't do it.
* Pass #:store to checkers that support itChristopher Baines2020-03-24
| | | | | | The derivation checker currently opens a store connection on its own, but by passing the already open connection in, it won't have to do that, and hopefully this will make checking all the packages faster.
* Stop using package_versions_by_guix_revision_rangeChristopher Baines2020-03-24
| | | | It's been replaced by the package_derivations_by_guix_revision_range table.
* Implement version history using the derivations tableChristopher Baines2020-03-24
| | | | | | | | | Rather than having two big tables looking at the history, just use the derivations table as it has all the information. This will allow deleting the package_versions_by_guix_revision_range table which should help save time when importing revisions, and reduce the size of the database.
* Fix the date ordering on the package output history pageChristopher Baines2020-03-24
|
* Sort the lint-warning-message-ids when queryingChristopher Baines2020-03-23
| | | | | This might solve errors where the Guix Data Service is trying to insert a lint_warning_message_set that already exists.
* Say that there are no lint warningsChristopher Baines2020-03-21
| | | | Rather than having an empty table.
* Change the sort order for derivations on the package version pageChristopher Baines2020-03-21
| | | | Put the non-cross built derivations first.
* Add a page for package output history on a branchChristopher Baines2020-03-21
| | | | | | | This complements the existing pages for the version history, and derivation history. As well as the new page, the buttons and styling of the two existing pages has been made to match better to enable easier navigation between the pages.
* Add a new function to get the outputs for a package on a branchChristopher Baines2020-03-21
| | | | | Similar to the one above for derivations, this just looks at outputs. This filters out equivalent derivations, which can be useful.
* Fix some tab issues in the Makefile.am fileChristopher Baines2020-03-20
|
* Avoid failures related to renice and ioniceChristopher Baines2020-03-20
| | | | | These parts of the backup scripts are optional, so don't fail if they don't work.
* Generate and store system test derivations for all supported systemsChristopher Baines2020-03-20
| | | | | | | Rather than just the native system. I'm not quite sure of the value here, as I guess system tests should behave the same regardless of the way the software is compiled, but this seems like it could be useful, and being explicit about the system the derivation is for is good.
* Fix marking jobs as failed when exceptions are raisedChristopher Baines2020-03-19
| | | | | The switch away from catch broke this, I obviously still don't quite get how with-exception-handler works. Therefore, use it twice as that seems to help.
* Move and improve the "starting the server" messageChristopher Baines2020-03-14
| | | | Move it after the output relating to narinfo signing, and include the host.
* Provide more information if the server can't bind the portChristopher Baines2020-03-14
| | | | As this could be a common problem.
* Improve the 404 pagesChristopher Baines2020-03-14
| | | | Render some HTML rather than the plain response.
* Improve handling of errorsChristopher Baines2020-03-14
| | | | | Adjust the previously unused error page code, and start to use it. Only show the error if configured to do so, to avoid leaking secret information.
* Increase the batch size for fetching builds/narinfo filesChristopher Baines2020-03-14
| | | | | To increase the likelyhood that all the builds and narinfo files for the latest revisions are fetched.
* Set an order for select-outputs-without-known-nar-entriesChristopher Baines2020-03-14
| | | | Pulling out the recent entries first.
* Don't use TRUNCATE CASCADE in the create small backup scriptChristopher Baines2020-03-13
| | | | As it makes it clearer what tables will be truncated.
* Trip the derivation output details table in the small data dumpChristopher Baines2020-03-13
|
* Trim derivation source file tables in the small data dumpChristopher Baines2020-03-13
|
* Query for more recent derivation outputs by defaultChristopher Baines2020-03-12
| | | | | Rather than looking for the oldest unknown outputs, as the new ones are generally more useful.
* Remove peek call that snuck in to the builds moduleChristopher Baines2020-03-02
|