aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* base: Create the parent directories of '%package-cachedir'.Mathieu Lirzin2016-12-01
| | | | | * src/cuirass/base.scm (fetch-repository): Use 'mkdir-p' instead of 'mkdir' for 'cachedirectory'.
* base: Use inner definitions instead of big anonymous procedures.Mathieu Lirzin2016-11-17
| | | | | * src/cuirass/base.scm (build-packages, process-specs): Use an inner definition instead of a big anonymous procedure.
* db: Forbid inserting the same specification twice.Mathieu Lirzin2016-11-17
| | | | | | | | * src/schema.sql (Specifications): Make 'repo_name' the primary key. (Stamps, Evaluations): Adapt. * src/cuirass/database.scm (db-get-specifications): Likewise. (db-add-specification): Ignore if SPEC has already been added. * tests/database.scm (example-spec): Adapt.
* build: Let 'make' generate 'src/cuirass/config.scm'.Mathieu Lirzin2016-11-12
| | | | | | | | | | | | | * Makefile.am (src/cuirass/config.scm, $(go_files)): New targets. (do_subst, generate_file, go_files): New variables. (EXTRA_DIST): Distribute 'src/cuirass/config.scm.in'. (DISTCLEANFILES): Rename to ... (MOSTLYCLEANFILES): ... this. * configure.ac (AC_CONFIG_FILES): Remove 'src/cuirass/config.scm'. (@expanded_datadir@, @expanded_localstatedir@): Delete. (AC_PROG_MKDIR_P, AC_PROG_SED): Use them. * src/cuirass/config.scm (%datadir): Set it to $(localstatedir). (%localstatdir): Set it to $(datadir).
* cuirass: Run HTTP server.Mathieu Lirzin2016-11-03
| | | | | | * src/cuirass.scm: Re-export (cuirass http) module. * bin/cuirass.in (main): Run HTTP server and move the 'process-specs' loop in another thread.
* http: Add DB argument to 'url-handler'.Mathieu Lirzin2016-11-03
| | | | | | * src/cuirass/http.scm (not-found): Delete. (url-handler): Add DB argument. (run-cuirass-server): Likewise. Pass it to 'run-server' STATE argument.
* base: Handle build failure.Jan Nieuwenhuizen2016-09-23
| | | | | | | * src/cuirass/base.scm (build-packages): Catch build failures, write error log and update database. Signed-off-by: Mathieu Lirzin <mthl@gnu.org>
* base: Support tracking of a Guix package's git.Jan Nieuwenhuizen2016-09-23
| | | | | | | | | | * src/schema.sql (Specifications): Add no_compile_p column. * src/cuirass/database.scm (db-add-specification) (db-get-specifications): Handle #:no-compile? property. * tests/database.scm (example-spec): Adapt. * src/cuirass/base.scm (process-specs): Skip compilation if #:no-compile?. Signed-off-by: Mathieu Lirzin <mthl@gnu.org>
* cuirass: Optionally support using of substitutes.Jan Nieuwenhuizen2016-09-23
| | | | | | | | * bin/cuirass.in (options): Add --use-substitutes. (show-help): Idem. (main): Set %use-substitutes?. Signed-off-by: Mathieu Lirzin <mthl@gnu.org>
* Add (cuirass) module.Mathieu Lirzin2016-08-02
| | | | | | | | | | * src/cuirass.scm: New file. * Makefile.am (guilesitedir, dist_guilesite_DATA) (nodist_guilesite_DATA): New variables. (pkgmoduledir): Refer to 'guilesitedir'. (CLEANFILES): Add 'nodist_guilesite_DATA'. * bin/cuirass.in: Use (cuirass) module. * bin/evaluate.in: Likewise.
* Add (cuirass http) module.Mathieu Lirzin2016-07-31
| | | | | | | * src/cuirass/http.scm: New file. * tests/http.scm: Likewise. * Makefile.am (dist_pkgmodule_DATA, TESTS): Add them. * configure.ac: Check for (json) module.
* utils: Add 'alist?' procedure.Mathieu Lirzin2016-07-30
| | | | | * src/cuirass/utils.scm (alist?): New procedure. * tests/utils.scm ("alist?"): New test.
* schema: Evaluations: Add 'revision' column.Mathieu Lirzin2016-07-30
| | | | | | * src/schema.sql (Evaluations): Add 'revision' column. * src/cuirass/database.scm (db-add-evaluation): Adapt. All callers changed.
* schema: Builds: Add 'evaluation' column.Mathieu Lirzin2016-07-27
| | | | | | * src/schema.sql (Builds): Add 'evaluation' column. * src/cuirass/database.scm (db-add-build): Adapt. * src/cuirass/base.scm (build-packages): Likewise.
* cuirass: Move procedures to (cuirass base) module.Mathieu Lirzin2016-07-27
| | | | | | * bin/cuirass.in (fetch-repository, compile, evaluate, build-packages) (process-specs): Move to ... src/cuirass/base.scm: ... here.
* schema: Separate "Derivations" from "Evaluations".Mathieu Lirzin2016-07-27
| | | | | | | | | | | | | * src/schema.sql (Derivations): New table. (Evaluations): Remove 'derivation' and 'job_name' columns. Add 'id' column. * src/cuirass/database.scm (db-add-evaluation): Adapt. (db-get-derivation, db-add-derivation): New procedures. (evaluation-exists?, db-get-evaluation): Delete. * bin/evaluate.in (main): Adapt. * tests/database.scm ("sqlite-exec"): Likewise. ("db-add-derivation", "db-get-derivation"): New tests. ("db-add-evaluation", "db-get-evaluation"): Delete.
* database: Remove 'db-delete-evaluation' procedure.Mathieu Lirzin2016-07-27
| | | | * src/cuirass/database.scm (db-delete-evaluation): Delete.
* database: with-database: Keep the data.Mathieu Lirzin2016-07-26
| | | | | * src/cuirass/database.scm (with-database): Use 'db-open'. (db-open): Fallback to 'db-init' if DB do not exist.
* database: db-open: Add DB optional argument.Mathieu Lirzin2016-07-26
| | | | * src/cuirass/database.scm (db-open): Add DB optional argument.
* Use stamps to poll repositories.Mathieu Lirzin2016-07-26
|
* database: Add 'db-add-build' procedure.Mathieu Lirzin2016-07-25
|
* database: read-quoted-string: add default value to optional argument.Mathieu Lirzin2016-07-25
|
* evaluate: Use (cuirass ...) modules.Mathieu Lirzin2016-07-25
| | | | This avoids code duplication.
* cuirass: Use database to store specifications.Mathieu Lirzin2016-07-25
|
* database: db-init: Add arguments for debugging.Mathieu Lirzin2016-07-25
|
* schema: Separate 'Evaluations' from 'Builds'.Mathieu Lirzin2016-07-25
| | | | Adapt src/cuirass/database.scm and its tests.
* maint: Update file headers.Mathieu Lirzin2016-07-25
|
* database: db-get-evaluation: Use 'sqlite-exec'.Mathieu Lirzin2016-07-25
|
* database: Add 'last-insert-rowid' procedure.Mathieu Lirzin2016-07-25
|
* database: Add 'assq-refs' procedure.Mathieu Lirzin2016-07-25
|
* database: sqlite-exec: Return every rows.Mathieu Lirzin2016-07-25
| | | | Export it. Add a test.
* database: Use 'simple-format' in 'sqlite-exec'.Mathieu Lirzin2016-07-25
|
* database: Don't catch exceptions from (sqlite3) module.Mathieu Lirzin2016-07-25
|
* database: Use an external SQL schema.Mathieu Lirzin2016-07-25
|
* Move '%program-name' to (cuirass ui) module.Mathieu Lirzin2016-07-25
|
* base: Remove unneeded 'guix-variable'.Mathieu Lirzin2016-07-13
|
* Remove unnecessary (cuirass job) module.Mathieu Lirzin2016-07-13
|
* Evaluate derivations in a separate process.Mathieu Lirzin2016-07-13
| | | | | This fixes a bug where different Guix branches gave the same derivations.
* cuirass: Move code from main to auxiliary procedures.Mathieu Lirzin2016-07-02
|
* λ all the things!Mathieu Lirzin2016-07-02
|
* Add %package-cachedir parameter.Mathieu Lirzin2016-07-02
|
* Add (cuirass utils) module.Mathieu Lirzin2016-07-02
| | | | Move 'with-directory-excursion' here.
* job: Add load-path field to <job-spec>.Mathieu Lirzin2016-07-02
|
* job: Add 'commit' and 'tag' field to <job-spec>.Mathieu Lirzin2016-07-01
|
* base: Add %program-name parameter object.Mathieu Lirzin2016-07-01
|
* database: Remove commented code.Mathieu Lirzin2016-06-29
|
* Store build logs in the database.Mathieu Lirzin2016-06-29
|
* Make %package-database a parameter object.Mathieu Lirzin2016-06-26
| | | | Move it to (cuirass database).
* Add a '--database' command line argument.Mathieu Lirzin2016-06-26
|
* Add (cuirass database) module.Mathieu Lirzin2016-06-26
|