2
0
Fork 0
mirror of git://git.savannah.gnu.org/guix/guix-cuirass.git synced 2023-12-14 06:03:04 +01:00
guix-cuirass/examples
Mathieu Othacehe f44618fc79
Add support for build products downloading.
* src/sql/upgrade-7.sql: New file.
* Makefile.am: Add it.
* src/cuirass/base.scm (create-build-outputs): New procedure,
(build-packages): call it,
(process-spec): add the new spec argument and pass it to create-build-outputs.
* src/cuirass/database.scm (db-add-build-product, db-get-build-product-path,
db-get-build-products): New exported procedures.
* src/cuirass/http.scm (respond-static-file): Move file sending to ...
(respond-file): ... this new procedure,
(url-handler): add a new "download/<id>" route, serving the requested file
with the new respond-file procedure. Also gather build products and pass them
to "build-details" for "build/<id>/details" route.
* src/cuirass/templates.scm (build-details): Honor the new "products" argument
to display all the build products associated to the given build.
* src/schema.sql (BuildProducts): New table,
(Specifications)[build_outputs]: new field.
* tests/database.scm: Add empty build-outputs spec.
* tests/http.scm: Ditto.
* examples/guix-jobs.scm: Ditto.
* examples/hello-git.scm: Ditto.
* examples/hello-singleton.scm: Ditto.
* examples/hello-subset.scm: Ditto.
* examples/random.scm: Ditto.
* doc/cuirass.texi (overview): Document it.
2020-06-10 16:42:21 +02:00
..
gnu-system.scm gnu-system: Accept subset with list of package names. 2017-09-17 21:47:35 +02:00
guix-jobs.scm Add support for build products downloading. 2020-06-10 16:42:21 +02:00
guix-track-git.scm Add support for multiple inputs. 2018-07-16 21:33:14 +02:00
hello-git.scm Add support for build products downloading. 2020-06-10 16:42:21 +02:00
hello-singleton.scm Add support for build products downloading. 2020-06-10 16:42:21 +02:00
hello-subset.scm Add support for build products downloading. 2020-06-10 16:42:21 +02:00
random-jobs.scm examples: random: Fail evaluation once in a while. 2018-11-07 15:28:05 +01:00
random.scm Add support for build products downloading. 2020-06-10 16:42:21 +02:00