2
0
Fork 0
mirror of git://git.savannah.gnu.org/guix/guix-cuirass.git synced 2023-12-14 06:03:04 +01:00
Commit graph

39 commits

Author SHA1 Message Date
Mathieu Lirzin
c7c9e91876
schema: Separate 'Evaluations' from 'Builds'.
Adapt src/cuirass/database.scm and its tests.
2016-07-25 02:12:41 +02:00
Mathieu Lirzin
cf7e290dc2
maint: Update file headers. 2016-07-25 02:12:41 +02:00
Mathieu Lirzin
730832c2fb
cuirass: Fix specification file error message. 2016-07-25 02:12:38 +02:00
Mathieu Lirzin
89b1f89cfc
Move '%program-name' to (cuirass ui) module. 2016-07-25 02:12:37 +02:00
Mathieu Lirzin
3efe57e0ca cuirass: Fix 'show-help'. 2016-07-14 17:44:23 +02:00
Mathieu Lirzin
0808ab3ecd Remove unnecessary (cuirass job) module. 2016-07-13 14:16:36 +02:00
Mathieu Lirzin
53c12be409 Evaluate derivations in a separate process.
This fixes a bug where different Guix branches gave the same
derivations.
2016-07-13 14:07:24 +02:00
Mathieu Lirzin
85d3ba4e45 cuirass: process-spec: Use 'when' instead of 'and'.
This is done because 'set-load-path!' returns a undefined value.
2016-07-04 13:51:03 +02:00
Mathieu Lirzin
987f83b000 Fix single char for 'database' in %options. 2016-07-03 16:22:23 +02:00
Mathieu Lirzin
3377d948ef cuirass: Add '--one-shot' command line argument. 2016-07-02 23:08:52 +02:00
Mathieu Lirzin
7e9af4298e cuirass: Remove '--use-file' command line argument. 2016-07-02 23:00:17 +02:00
Mathieu Lirzin
4b53493c3b cuirass: Move code from main to auxiliary procedures. 2016-07-02 22:30:17 +02:00
Mathieu Lirzin
b65612c264 cuirass: Remove unneeded quasiquote. 2016-07-02 18:08:06 +02:00
Mathieu Lirzin
13db5aa618 λ all the things! 2016-07-02 15:49:34 +02:00
Mathieu Lirzin
7ae6ce0690 Add %package-cachedir parameter. 2016-07-02 15:34:40 +02:00
Mathieu Lirzin
2bace10106 Add (cuirass utils) module.
Move 'with-directory-excursion' here.
2016-07-02 03:13:29 +02:00
Mathieu Lirzin
94f910355c job: Add load-path field to <job-spec>. 2016-07-02 01:51:56 +02:00
Mathieu Lirzin
b185505db0 cuirass: Remove dead code. 2016-07-02 01:04:34 +02:00
Mathieu Lirzin
ca6b5d6677 job: Add 'commit' and 'tag' field to <job-spec>. 2016-07-01 16:46:10 +02:00
Mathieu Lirzin
efef5c29c8 Fix 0f04df2691. 2016-07-01 16:44:46 +02:00
Mathieu Lirzin
a62624301b base: Add %program-name parameter object. 2016-07-01 16:00:14 +02:00
Mathieu Lirzin
0f04df2691 Avoid pattern matching on records which relies on slot order. 2016-07-01 16:00:04 +02:00
Mathieu Lirzin
990c902fcc Store build logs in the database. 2016-06-29 16:16:48 +02:00
Mathieu Lirzin
5ff38984e8 Make %package-database a parameter object.
Move it to (cuirass database).
2016-06-26 22:54:49 +02:00
Mathieu Lirzin
5efdcb4441 Add a '--database' command line argument. 2016-06-26 17:02:23 +02:00
Mathieu Lirzin
944f8b5467 Store derivation results in the database. 2016-06-26 16:59:27 +02:00
Mathieu Lirzin
992b57dade Support multiples <job-spec> evaluation. 2016-06-16 11:42:59 +02:00
Mathieu Lirzin
b103ab7eae Change <job-spec> and <job> semantics. 2016-06-16 02:12:33 +02:00
Mathieu Lirzin
7d7251a974
cuirass: Adapt output of 'build-packages'.
* bin/cuirass.in (build-packages): Display derivation and output file
names.
2016-06-13 18:11:25 +02:00
Mathieu Lirzin
6642651271
cuirass: Add --subset command line option.
bin/cuirass.in (%options, show-help): Add --subset option.
(evaluate): Add ARGS argument.
(main): Adjust accordingly.
2016-06-13 18:11:02 +02:00
Mathieu Lirzin
49ab3c8b0d
job: Add <job-spec> record type.
* src/cuirass/job.scm <job-spec>: New record type.
(%make-job-spec, make-job-spec, job-spec-name, job-spec-proc)
(job-spec-metadata): New procedures.
* tests/gnu-system.scm (package-job): Rename to ...
(package-job-spec): ... this.  Use 'make-job-spec'.
(package-cross-job): Rename to ...
(package-cross-job-spec): ... this.  Use 'make-job-spec'.
(tarball-jobs): Rename to ...
(tarball-job-specs): ... this.  Use 'make-job-spec'.
(package->alist): Rename to ...
(package-metadata): ... this.  Adapt.
(package->job): Rename to ...
(package->jobspec): ... this.  Adapt.
(hydra-jobs): Adapt.
2016-06-13 18:10:52 +02:00
Mathieu Lirzin
9f5896ccd2
cuirass: Build packages outside of 'evaluate' procedure.
* bin/cuirass.in (evaluate): Move 'build-packages' call to ...
(main): ... here.
2016-06-13 18:10:39 +02:00
Mathieu Lirzin
b4c615fb73
cuirass: Use always the same connection to the store.
* bin/cuirass.in (evaluate): Add STORE argument.  Move 'open-connection'
call to ...
(main): ... here.
2016-06-13 18:10:14 +02:00
Mathieu Lirzin
64c64d8d71
cuirass: Fix 'show-help' argument.
* bin/cuirass.in (show-help): Remove reference to unbound variable
'program-name'.  Turn PROG into a mandatory argument.
2016-06-13 18:09:55 +02:00
Mathieu Lirzin
ab54de1f35
cuirass: Allow defining jobs outside of the repository.
* tests/gnu-system.scm: New file.
* bin/cuirass.in (evaluate, main): Use it.
2016-06-13 18:09:23 +02:00
Mathieu Lirzin
ecffeb7536
job: Add <job> record type.
* src/cuirass/job.scm: New file.
* Makefile.am (dist_pkgmodule_DATA): Add it.
* bin/cuirass.in (evaluate, build-packages): Use it.
2016-06-10 23:39:27 +02:00
Mathieu Lirzin
d3487acc42
cuirass: Add --file command line option.
bin/cuirass.in (%options, show-help): Add --file option.
(evaluate): Add SPEC argument.
(main): Adjust accordingly.
2016-06-10 23:39:12 +02:00
Mathieu Lirzin
87a79ae33d
cuirass: Add command line options.
* bin/cuirass.in (show-help, %options): new variables.
(main): Adapt.
* src/cuirass/ui.scm: New file.
* Makefile.am (dist_pkgmodule_DATA): Add it.
2016-06-10 23:39:01 +02:00
Mathieu Lirzin
9d5fda76bb
Initial commit. 2016-05-29 19:53:17 +02:00