This project is mirrored from https://git.savannah.gnu.org/git/guix/guix-cuirass.git/.
Pull mirroring updated .
- May 30, 2021
-
-
Mathieu Othacehe authored
* src/cuirass/scripts/remote-server.scm (%fetch-workers): New variable. (cuirass-remote-server): Start 8 fetch workers.
-
- May 29, 2021
-
-
Mathieu Othacehe authored
* tests/database.scm ("dependencies trigger"): Call db-update-failed-builds! procedure.
-
Mathieu Othacehe authored
The build_dependencies trigger scales really poorly when there is a large number of pending builds. Remove this trigger and replace it with a periodical update thread. * src/sql/upgrade-12.sql: New file. * Makefile.am (dist_sql_DATA): Add it. * src/schema.sql (update_build_dependencies, build_dependencies): Remove them. * src/cuirass/database.scm (db-update-resumable-builds!): New procedure. * src/cuirass/scripts/remote-server.scm (start-periodic-updates-thread): New procedure. (remote-server): Call it.
-
- May 28, 2021
-
-
Mathieu Othacehe authored
* src/cuirass/database.scm (db-get-latest-evaluation): Return false when no evaluation is found. * src/cuirass/http.scm (url-handler): Adapt it.
-
Mathieu Othacehe authored
* src/static/images/badge-running.svg: Remove it. * Makefile.am (dist_images_DATA): Ditto. * src/cuirass/database.scm (db-get-latest-evaluation, db-get-evaluation-absolute-summary): New procedures. * src/cuirass/http.scm (url-handler): Fix badge display. * src/cuirass/templates.scm (badge-svg): Adapt it. * tests/database.scm ("db-get-evaluation-absolute-summary", "db-get-latest-evaluation"): New tests. * doc/cuirass.texi (Badges): Adapt it.
-
Mathieu Othacehe authored
* src/cuirass/templates.scm (build-details): Fix dependencies display.
-
Mathieu Othacehe authored
* src/cuirass/base.scm (default-gc-root-directory): New procedure. (%gc-root-directory): Use it. * src/cuirass/scripts/remote-server.scm (remote-server): Reset the GC root directory once the user privileges have been gathered.
-
Mathieu Othacehe authored
* src/static/images/badge-error.svg: New file. * src/static/images/badge-per.svg: New file. * src/static/images/badge-running.svg: New file. * Makefile.am (dist_images_DATA): Add them. * src/cuirass/templates.scm (badge-svg): New procedure. * src/cuirass/http.scm (badge-string): New procedure. (url-handler): Add a new "/jobset/spec/badge" route. * doc/cuirass.texi (Badges): New section.
-
- May 26, 2021
-
-
Mathieu Othacehe authored
* src/cuirass/database.scm (db-get-evaluations): Add an optional spec parameter an honor it. * src/cuirass/http.scm (url-handler): Add an optional spec parameter to the /api/evaluations route and pass it to the db-get-evaluations procedure. * doc/cuirass.texi (Web API): Document it.
-
Mathieu Othacehe authored
* src/cuirass/templates.scm (build-details): Print an underscore when there are no dependencies.
-
Mathieu Othacehe authored
* src/cuirass/base.scm (register-gc-roots): Add a mode argument to register the derivation outputs or the derivation itself as GC roots. (build-packages): Register a GC root for each new derivation.
-
Mathieu Othacehe authored
* src/cuirass/scripts/remote-worker.scm (%default-options): Lower the default TTL to 1d.
-
Mathieu Othacehe authored
Add a TTL argument and use it to register GC roots for the successfully built items. * src/cuirass/scripts/remote-server.scm (show-help): Add a TTL argument. (%options): Ditto. (%default-options): Ditto. (run-fetch): Register GC roots for the successfully built derivation outputs. (remote-server): Add a TTL argument.
-
- May 25, 2021
-
-
Mathieu Othacehe authored
* src/sql/upgrade-11.sql: Add missing table.
-
Mathieu Othacehe authored
* src/cuirass/database.scm (db-register-builds): Return true.
-
Mathieu Othacehe authored
* src/schema.sql (BuildDependencies): New table. * src/sql/upgrade-11.sql: New file. * Makefile.am (dist_sql_DATA): Add it. * src/cuirass/database.scm (db-add-build-dependencies, db-get-build-dependencies, db-update-failed-builds): New procedures. * src/cuirass/http.scm (http-handler): Pass the build dependencies to the build-details procedure. * src/cuirass/scripts/remote-server.scm (pop-build): Select a build with no dependencies. (read-worker-exp): Remove the scheduled builds with failed dependencies. * src/cuirass/templates.scm (build-details): Add a dependencies argument and use it to display the build dependencies and their status. * src/static/js/cuirass.js: Animate the dependencies collapse button. * tests/database.scm ("db-add-build-dependencies", "db-get-build-dependencies", "dependencies trigger"): New tests.
-
- May 20, 2021
-
-
Mathieu Othacehe authored
* src/cuirass/remote.scm (publish-server): Set the publish negative TTL to zero.
-
- May 19, 2021
-
-
Mathieu Othacehe authored
Add a TTL argument and use it to register GC roots for the successfully built items. * src/cuirass/scripts/remote-worker.scm (show-help): Add a TTL argument. (%options): Ditto. (%default-options): Ditto. (run-build): Register GC roots for the successfully built derivation outputs. (remote-worker): Add a TTL argument.
-
Mathieu Othacehe authored
Factorize GC root creation in a new register-gc-roots procedure. * src/cuirass/base.scm (gc-roots): Move it out of handle-build-event procedure. (register-gc-roots): New procedure. (handle-build-event): Use it.
-
- May 14, 2021
-
-
Mathieu Othacehe authored
* doc/accessibility-report.pdf: New file.
-
- Apr 30, 2021
-
-
Mathieu Othacehe authored
* src/cuirass/scripts/evaluate.scm (cuirass-evaluate): Fix typo.
-
Mathieu Othacehe authored
* src/cuirass/base.scm (process-specs): Update the specification to include possible channel dependencies.
-
Mathieu Othacehe authored
* src/cuirass/database.scm (read-sql-file): Return the given SQL file as a single string. (db-load): Adapt it.
-
- Apr 29, 2021
-
-
Mathieu Othacehe authored
* src/cuirass/http.scm (body->specification): Fix custom build type edition. * src/cuirass/templates.scm (specification-edit): Ditto. * src/static/js/cuirass.js: Ditto.
-
Mathieu Othacehe authored
* src/cuirass/http.scm (uri-handler): Remove the old doctype. * src/cuirass/templates.scm (specification-edit): Fix label element without end tag.
-
Mathieu Othacehe authored
* src/cuirass/database.scm (db-update-build-status!): Remove the Jobs status update that is now done using a trigger.
-
Mathieu Othacehe authored
* src/sql/upgrade-10.sql: New file. * Makefile.am (dist_sql_DATA): Update it. * src/schema.sql (update_job_status): New function, (build_status): new trigger.
-
- Apr 28, 2021
-
-
Mathieu Othacehe authored
* src/cuirass/database.scm (db-cancel-pending-builds!): Fix query.
-
Mathieu Othacehe authored
* src/cuirass/specification.scm (%build-types): Add 'custom build type. * doc/cuirass.texi (Specifications): Document it.
-
- Apr 26, 2021
-
-
Mathieu Othacehe authored
* src/cuirass/templates.scm (search-form): Fix search label.
-
Mathieu Othacehe authored
* src/cuirass/templates.scm: Improve accessibility and move scripts to ... * src/static/js/cuirass.js: ... this file. * src/static/css/cuirass: Adapt it.
-
- Apr 24, 2021
-
-
Mathieu Othacehe authored
-
- Apr 23, 2021
-
-
Mathieu Othacehe authored
* src/cuirass/templates.scm (specifications-table): Improve accessibility.
-
Mathieu Othacehe authored
* src/cuirass/templates.scm (specifications-table): Fix buttons size.
-
Mathieu Othacehe authored
Using the application/xhtml+xml causes issues when using bootstrap.js. * src/cuirass/http.scm (url-handler): Use the text/html content type.
-
Mathieu Othacehe authored
* src/static/js/popper.min.js: New file. * src/static/js/jquery-3.6.0.min.js: Remove it. * src/static/js/jquery-3.3.1.min.js: New file. * src/static/js/cuirass.js: New file. * src/static/js/bootstrap.min.js: New file. * src/static/css/bootstrap.css: Rename it ... * src/static/css/bootstrap.min.css: ... into this new file. * src/cuirass/templates.scm (html-page): Adapt it. * Makefile.am (dist_css_DATA, dist_js_DATA): Adapt them.
-
Mathieu Othacehe authored
* src/cuirass/templates.scm (specifications-table): Fix indentation.
-
Mathieu Othacehe authored
* src/cuirass/templates.scm (html-page): Fix focus order.
-
Mathieu Othacehe authored
* src/cuirass/templates.scm (html-page): Improve Status dropdown accessibility. * src/static/css/cuirass.css: Remove unused sections.
-
Mathieu Othacehe authored
* src/static/js/bootstrap.bundle.min.js: New file. * Makefile.am (dist_js_DATA): Add it. * src/cuirass/http.scm (%file-white-list): Ditto. * src/cuirass/templates.scm: Ditto.
-