aboutsummaryrefslogtreecommitdiff
path: root/scripts
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';
* 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.
* Stop using package_versions_by_guix_revision_rangeChristopher Baines2020-03-24
| | | | It's been replaced by the package_derivations_by_guix_revision_range table.
* 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.
* Move and improve the "starting the server" messageChristopher Baines2020-03-14
| | | | Move it after the output relating to narinfo signing, and include the host.
* 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.
* 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
|
* Add scripts for generating database dumpsChristopher Baines2020-03-02
|
* 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.
* Make it possible to query builds servers for specific outputsChristopher Baines2020-02-16
|
* Add verbose output to the query-build-servers scriptChristopher Baines2020-02-15
|
* Warn if process-branch-updated-mbox won't match any emailsChristopher Baines2020-02-01
|
* Guard against failures when loading the narinfo signing public keyChristopher Baines2019-12-26
|
* Fix the option alist element names for the narinfo signing keyChristopher Baines2019-12-26
|
* Serve narinfo files for derivationsChristopher Baines2019-12-26
|
* Fix the query-build-servers script when no commits are providedChristopher Baines2019-12-23
|
* Fix the default max-processes for the process-jobs scriptChristopher Baines2019-12-22
|
* Allow customising the maximum number of processesChristopher Baines2019-12-16
|
* Add options to the query-build-servers scriptChristopher Baines2019-12-12
| | | | So you can select to query specific build servers.
* Query build servers for narinfo fileswip-narinfoChristopher Baines2019-11-30
| | | | | As well as making it possible to only query build servers for builds relating to a specific revision.
* Rework the builds and build_status tables as well as related codeChristopher Baines2019-11-24
| | | | | | | Allow for build status information to be submitted by POST request. This required some changes to the builds and build_status tables, as for example, the Cuirass build id may not be available, and the derivation may not be know yet, so just record the derivation file name.
* Add a script to help manage build serversChristopher Baines2019-11-23
| | | | | This computes and displays the tokens needed to send build events to the Guix Data Service.
* Rewrite localhost for sqitchChristopher Baines2019-10-01
| | | | As this means that like psql, the unix socket will be used.
* 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.
* Switch to processing emails as bytevectorsChristopher Baines2019-09-26
| | | | | This is better, as different parts of the email might be encoded differently, and guile-email will take care of this if handed a bytevector.
* Improve error handling for processing emailsChristopher Baines2019-08-31
|
* Add a process-job commandChristopher Baines2019-07-12
| | | | | | This allows easily processing an individual job by id. This may be useful to use manually, but also when processing jobs in parallel, as forking doesn't work well with the libpq library used by squee.
* Associate a name with database connectionsChristopher Baines2019-07-12
| | | | This helps when working out which connection to the database is doing what.
* Use line buffering for the input and output portsChristopher Baines2019-06-17
| | | | | As these are used for logging, which is done on a line by line basis. Remove the now redundant calls to (force-output).
* Add --port and --host as options to the guix-data-serviceChristopher Baines2019-06-13
|
* Add an option to create a pid-fileChristopher Baines2019-06-11
| | | | | This'll help the a service manager (like the shepherd) know when the service is ready, which at the moment, means the database migrations have happened.
* Change to the sqitch directory to run deployChristopher Baines2019-06-11
| | | | As this means it can find the relevant files.
* Pass the --db-client option to sqitch deployChristopher Baines2019-06-11
| | | | So that it can always find psql.
* Pass --plan-file to the sqitch deploy commandChristopher Baines2019-06-08
|
* Add a --update-database optionChristopher Baines2019-06-07
| | | | | | This runs Sqitch on startup, which should make managing the database easier, as you just have to restart the service with this option, and the database should be updated if necessary.
* Add missing (guix-data-service database) importChristopher Baines2019-04-17
|
* Extract out some database functionality to another moduleChristopher Baines2019-04-14
|
* Remove built guix-data-service-process-branch-updated-email fileChristopher Baines2019-04-08
| | | | It should never have been committed.
* Add support for processing branch updated emailsChristopher Baines2019-03-19
|
* Add functionality to query build serversChristopher Baines2019-03-06
|
* Initial commitChristopher Baines2019-02-07
This is a service designed to provide information about Guix. At the moment, this initial prototype gathers up information about packages, the associated metadata and derivations. The initial primary use case is to compare two different revisions of Guix, detecting which packages are new, no longer present, updated or otherwise different. It's based on the Mumi project. [1]: https://git.elephly.net/software/mumi.git