Commit Graph

64 Commits (master)

Author SHA1 Message Date
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