aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* 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
|
* Add scripts for generating database dumpsChristopher Baines2020-03-02
|
* Update http-multiple-getChristopher Baines2020-03-02
| | | | Update this by copying the code from Guix again.
* Improve the builds verbose outputChristopher Baines2020-03-01
|
* Make the dumps page work when dumps is a symlinkChristopher Baines2020-03-01
|
* Order build statuses by id, not timestampChristopher Baines2020-03-01
| | | | | Some builds from Cuirass change status at the same timestamp, so use the id for ordering instead.
* Redirect to the latest version of a fileChristopher Baines2020-02-29
|
* Support customising the latest branch revision max processesChristopher Baines2020-02-28
| | | | | This makes it possible to set a higher or lower value depending on what you want.
* Log the time spent in a locked sectionChristopher Baines2020-02-28
|
* Improve the locking around fetching channel instancesChristopher Baines2020-02-28
| | | | | | | I think there's still the potential for a race condition when working with the cached checkout of the repository, but this lock was far too wide. The sensitive section is just the latest-channel-instances call, as it adds the relevant files to the store, and that's what's returned.
* Use Guile 3 for developmentChristopher Baines2020-02-27
|
* Enable using Guile 3Christopher Baines2020-02-27
|
* Do some more mocking in the jobs-load-new-guix-revision testsChristopher Baines2020-02-27
| | | | To help with getting them running on Guile 3.
* Improve the error reporting within process-load-new-guix-revision-jobChristopher Baines2020-02-27
| | | | By including a backtrace.
* Prevent inlining for a number of proceduresChristopher Baines2020-02-27
| | | | So that the load-new-guix-revision tests work with Guile 3.
* Add some syntax to prevent inlining within modulesChristopher Baines2020-02-27
| | | | | This is relevant, as it prevents the mock function used in tests working with Guile 3.
* Remove unused mock-inferior importChristopher Baines2020-02-27
|
* Add a few imports in preparation for Guile 3Christopher Baines2020-02-27
|
* Generate .go files for the testsChristopher Baines2020-02-27
| | | | I think this might help with getting relevant stack traces.
* Make the test output more verboseChristopher Baines2020-02-27
|
* Don't use the (tests driver) moduleChristopher Baines2020-02-27
| | | | | As I forget why I even added it. I'm sure it was to try and make test failures more understandable, but I'm not sure it worked.
* Add a missing importChristopher Baines2020-02-27
|