aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Set the locale at the start of the process jobs scriptChristopher Baines2020-09-20
| | | | | | This might help with the odd [1] errors regarding PostgreSQL queries. 1: invalid byte sequence for encoding "UTF8":
* Increase the stack trace width when processing jobsChristopher Baines2020-09-20
| | | | As this might result in more useful error messages.
* Add a Prometheus metrics page, with some database metricsChristopher Baines2020-09-06
| | | | | The database size is growing, but it's hard to know what parts are growing the fastest. These metrics will hopefully help with understanding that.
* Add guile-prometheus to guix-dev.scmChristopher Baines2020-09-06
|
* Tweak inputs in guix-dev.scmChristopher Baines2020-08-26
| | | | | Using guile-3.0-latest rather than guile-3.0 to avoid bytecode issues with guix.
* Add JSON representation for the store item pageDanjela Lura2020-08-26
| | | | Signed-off-by: Christopher Baines <mail@cbaines.net>
* Add JSON representation for the derivation pageDanjela Lura2020-08-26
| | | | Signed-off-by: Christopher Baines <mail@cbaines.net>
* Use 'guile-3.0' instead of 'guile-next' in 'guix-dev.scm'.Ludovic Courtès2020-08-26
|
* Add dependency on Guile-lzlib.Ludovic Courtès2020-08-26
| | | | | Guix no longer provides the (guix lzlib) module. This commit arranges to use Guile-lzlib instead.
* Change a package_descriptions index to use MD5 of the descriptionChristopher Baines2020-08-23
| | | | | | | | | | To avoid the index data being too large. This was first seen in guix commit 1bb4fd64b7bbe5a17eda6f0ca8105283c038f7c8: psql-query-error (fatal-error PGRES_FATAL_ERROR ERROR: index row size 2808 exceeds maximum 2712 for index "package_descriptions_locale_description_key" HINT: Values larger than 1/3 of a buffer page cannot be indexed.
* Postpone the execution of the query that displays locale optionsDanjela Lura2020-08-14
| | | | Signed-off-by: Christopher Baines <mail@cbaines.net>
* Guard against null package metadata idsDanjela Lura2020-08-13
| | | | Signed-off-by: Christopher Baines <mail@cbaines.net>
* Modify the search-packages-in-revision query to make it fasterDanjela Lura2020-08-12
| | | | Signed-off-by: Christopher Baines <mail@cbaines.net>
* Make call-with-time-logging handle multiple return valuesDanjela Lura2020-08-12
| | | | Signed-off-by: Christopher Baines <mail@cbaines.net>
* Update the package_metadata_tsvectors with new entriesDanjela Lura2020-08-12
| | | | Signed-off-by: Christopher Baines <mail@cbaines.net>
* Add the package_metadata_tsvectors tableDanjela Lura2020-08-12
| | | | Signed-off-by: Christopher Baines <mail@cbaines.net>
* Avoid problems with lint warnings for duplicate packagesChristopher Baines2020-08-09
| | | | | | Use the deduplicated list of packages when fetching lint warnings, to avoid duplicates. This was first seen in the following Guix commit 843344273c6a587b8e6c84d8406500fd64d8908a.
* Fix rendering the required failed builds for builds by idChristopher Baines2020-07-13
| | | | | Use the derivation-file-name from the database, rather than the query parameter.
* Change select-required-builds-that-failed to exclude succeeded buildsChristopher Baines2020-07-13
| | | | | | Only include a failed build if that build server hasn't had any success building that output. The Guix Build Coordinator can build one output with many different builds, so this helps avoid showing lots of spurious failures.
* Also show related failed builds for scheduled buildsChristopher Baines2020-07-13
| | | | | Because the Guix Build Coordinator doesn't mark builds blocked by failures as failed-dependency, they're just left as scheduled.
* Add builds to the store item pageChristopher Baines2020-07-04
|
* Add a index to derivation_output_details_setsChristopher Baines2020-07-04
| | | | | | | | This helps with queries like: SELECT * FROM derivation_output_details_sets WHERE ARRAY[5563227] <@ derivation_output_details_ids;
* Improve the revision builds pageChristopher Baines2020-07-03
| | | | | Allow specifying how many results to show, and say how many results are being shown.
* Improve select-builds-with-contextChristopher Baines2020-07-03
| | | | Support specifying the limit, and improve the ordering.
* Fix the builds table headersChristopher Baines2020-07-02
|
* Fix a bug with the derivation and output history JSON representationChristopher Baines2020-07-01
| | | | Thanks to zimoun for reporting.
* Improve the linking to build serversChristopher Baines2020-07-01
| | | | | Add a build-url function that returns the URL to use, and use this where appropriate.
* Change select-build procedures to avoid join issuesChristopher Baines2020-07-01
| | | | | The number of build_status rows coming back was being amplified by the INNER JOIN, using a subquery guards against this.
* Remove the constraint on having one derivation build per serverChristopher Baines2020-07-01
| | | | As the Guix Build Coordinator can build one derivation many times.
* Avoid duplicate build status entriesChristopher Baines2020-07-01
| | | | This effectively makes adding build status entries idempotent to some degree.
* Implement more support for builds from the Guix Build CoordinatorChristopher Baines2020-07-01
| | | | | | Builds from the Guix Build Coordinator might not have timestamps, and the id from the build server is more important, as one build server can build the same derivation many times.
* Fix match in render-buildsChristopher Baines2020-06-28
|
* Fix compute-tokenChristopher Baines2020-06-28
| | | | For some reason the string-filter arguments were the wrong way around.
* Support storing the id's representing builds in other servicesChristopher Baines2020-06-27
| | | | | | | Like Cuirass, or the Guix Data Service. This isn't so necessary with Cuirass, as the derivation/output are unique identifiers, but for the Guix Build Coordinator, one derivation/output can be built many times, with potentially differing results.
* Make build_status.timestamp nullableChristopher Baines2020-06-27
| | | | | | The Guix Build Coordinator doesn't record timestamps for events currently. This is something to fix, but allow for build statuses without timestamps as they're not necessary.
* Implement insert-build-status using insert-build-statuesChristopher Baines2020-06-27
| | | | To reduce the number of code paths.
* Add the packages-translation-availability pageDanjela Lura2020-06-26
| | | | Signed-off-by: Christopher Baines <mail@cbaines.net>
* Add indications for no translations available in the lint warnings pageDanjela Lura2020-06-26
| | | | Signed-off-by: Christopher Baines <mail@cbaines.net>
* Add locale values in the JSON response for the lint warnings pageDanjela Lura2020-06-26
| | | | Signed-off-by: Christopher Baines <mail@cbaines.net>
* Include locale in search-packages-in-revisionDanjela Lura2020-06-26
| | | | Signed-off-by: Christopher Baines <mail@cbaines.net>
* Add indications for no translations available in the packages pageDanjela Lura2020-06-26
| | | | Signed-off-by: Christopher Baines <mail@cbaines.net>
* Embed the locale option in the URI of the package pageDanjela Lura2020-06-26
| | | | Signed-off-by: Christopher Baines <mail@cbaines.net>
* Include locale in the JSON response for the packages pageDanjela Lura2020-06-26
| | | | Signed-off-by: Christopher Baines <mail@cbaines.net>
* Support package derivations for the latest revisionChristopher Baines2020-06-20
|
* Add missing locale parameter to the latest revision packages pageChristopher Baines2020-06-20
|
* Fix the test-model-package-metadata testDanjela Lura2020-06-19
| | | | Signed-off-by: Christopher Baines <mail@cbaines.net>
* Fix the test-model-package testDanjela Lura2020-06-19
| | | | Signed-off-by: Christopher Baines <mail@cbaines.net>
* Provide the packages page with translationsDanjela Lura2020-06-19
| | | | Signed-off-by: Christopher Baines <mail@cbaines.net>
* Get the translated package synopsis and descriptions into the databaseDanjela Lura2020-06-19
| | | | Signed-off-by: Christopher Baines <mail@cbaines.net>
* Guard against some changes in how guile-json represents null valuesChristopher Baines2020-06-19
|