This project is mirrored from https://git.savannah.gnu.org/git/guix/guix-cuirass.git/.
Pull mirroring updated .
- Sep 09, 2017
-
-
Mathieu Othacehe authored
integration. * bin/evaluate.in (fill-job): New procedure. (main): Use it to fill informations (nix-name, system) that will later be added to database. * doc/cuirass.texi (Database)[Derivation]: Add system and nix_name fields. (Database)[Builds]: Add id, status, timestamp, starttime and stoptime fields. Remove output field. (Database)[Outputs]: New table describing the build outputs. * src/cuirass/base.scm (build-packages): Add new fields to build object before adding it to database. * src/cuirass/database.scm (db-get-build, db-get-builds): New procedures to get a build by id from database and a list of builds using filter parameters respectively. * src/schema.sql (Outputs) : New table. (Derivations): Add system and nix_name columns. (Builds): Remove output column and add id, status, timestamp, starttime and stoptime columns.
-
- Aug 26, 2017
-
-
Ricardo Wurmus authored
* README (Requirenments): Replace git with guile-git.
-
Ricardo Wurmus authored
* src/cuirass/base.scm (process-specs): Set certificate location to the value in GIT_SSL_CAINFO or SSL_CERT_DIR.
-
Ludovic Courtès authored
Fixes <https://bugs.gnu.org/28094>. Reported by Ricardo Wurmus <rekado@elephly.net>. * src/cuirass/database.scm (SQLITE_CONSTRAINT) (SQLITE_CONSTRAINT_PRIMARYKEY): New variables. (db-add-build): Catch 'sqlite-error, and swallow SQLITE_CONSTRAINT_PRIMARYKEY errors. * tests/database.scm ("db-add-build"): New test.
-
- Aug 02, 2017
-
-
Mathieu Othacehe authored
When current-processor-count is used without (ice-9 threads) being used, Guile complains with the following warning: Import (ice-9 threads) to have access to `current-processor-count'. * src/cuirass/base.scm: Use (ice-9 threads).
-
- Aug 01, 2017
-
-
Mathieu Othacehe authored
* doc/cuirass.texi (Contribution): guix-devel@gnu.org is preferred for contributions.
-
- Jul 31, 2017
-
-
Mathieu Othacehe authored
* src/cuirass/base.scm (report-git-error): New procedure. (with-git-error-handling): New macro. (process-specs): Use with-git-error-handling to catch and report git errors. * build-aux/guix.scm (package)[inputs]: Add guile-git. * configure.ac: Check for (git) module. Also check that (git) exports git-error-message procedure.
-
- Jul 30, 2017
-
-
Mathieu Othacehe authored
* src/cuirass/base.scm (&evaluation-error): New condition type. (evaluate): Report an &evaluation-error if eof-object? is true on data read from port. Otherwise, suppose that data are correct and keep things going. (process-specs): Catch &evaluation-error, report the error in the log and keep going.
-
- Jul 12, 2017
-
-
Mathieu Othacehe authored
build-aux/guix.scm (package): Update to Guile 2.2.
-
Mathieu Othacehe authored
* src/cuirass/base.scm (%fallback?): New exported parameter. (process-specs)[set-build-options]: Pass fallback parameter. * bin/cuirass.in (%options): Add fallback. (main): Set %fallback? parameter. (show-help): Update.
-
Mathieu Othacehe authored
* src/cuirass/database.scm (db-get-stamp, db-add-stamp): Replace #:id by #:name. There is no #:id in specifications. Plus, the primary key of Specifications is #:name.
-
Mathieu Othacehe authored
* src/cuirass/base.scm: Replace time-monotonic with time-tai with Guile 2.2, to avoid wrong evaluation durations.
-
- Jul 06, 2017
-
-
Mathieu Othacehe authored
* bin/cuirass.in: Replace λ by lambda. * bin/evaluate.in: Ditto. * build-aux/guix.scm: Ditto. * examples/gnu-system.scm: Ditto. * examples/guix-track-git.scm: Ditto. * src/cuirass.scm: Ditto. * src/cuirass/base.scm: Ditto. * src/cuirass/database.scm: Ditto. * src/cuirass/ui.scm: Ditto. * src/cuirass/utils.scm: Remove λ* macro.
-
Mathieu Othacehe authored
* Makefile.am (dist_pkgmodule_DATA): Remove repo.scm, (TESTS): Remove repo.scm. * build-aux/guix.scm (package)[disable-repo-tests]: Remove phase. * src/cuirass/repo.scm: Remove. * tests/repo.scm: Remove.
-
- Jul 05, 2017
-
-
Mathieu Othacehe authored
* src/cuirass/base.scm (copy-repository-cache) : New procedure. (fetch-repository): Use latest-repository-commit to fetch git repository instead of raw git system commands. (process-specs): Use fetch-repository to get a store directory containing the repository described in SPEC, add copy it to cache with "copy-repository-cache". * configure.ac: Check (guix git) module presence.
-
- Jul 02, 2017
-
-
Mathieu Othacehe authored
* src/cuirass/utils.scm (mkdir-p, make-user-module, call-with-temporary-directory, with-directory-excursion): Remove because already defined in guix. * tests/utils (with-directory-excursion): Remove associated test. * src/cuirass/base.scm: Use (guix build utils) to provide procedure removed from (cuirass utils). * bin/evaluate.in: Ditto. * bin/cuirass.in: Use "make-user-module" provided by (guix ui).
-
Mathieu Othacehe authored
* src/cuirass/repo.scm (git-repo): Remove it. * tests/repo.scm: Remove related tests. git-repo is not used and it's usecases will be covered by (guix git).
-
Mathieu Othacehe authored
* configure.ac (AC_INIT): Update homepage and bug report email.
-
- Jun 05, 2017
-
-
Ludovic Courtès authored
Fixes a regression introduced in a42cf16f whereby build logs would go the Cuirass' stderr. * src/cuirass/base.scm (build-packages): Parameterize 'current-build-output-port' to a void output port.
-
- May 10, 2017
-
-
Ludovic Courtès authored
This is a followup to b4400bc9. * Makefile.am (nodist_pkgmodule_DATA): New variable. (nodist_pkgobject_DATA): Remove config.scm. (do_subst): Use $(guileobjectdir).
-
Ludovic Courtès authored
* Makefile.am (guileobjectdir): New variable. (nodist_guilesite_DATA): Rename to... (nodist_guileobject_DATA): ... this. (pkgobjectdir): New variable. (nodist_pkgmodule_DATA): Rename to... (nodist_pkgobject_DATA): ... this.
-
Ludovic Courtès authored
* Makefile.am (guilesitedir): Append @GUILE_EFFECTIVE_VERSION@. * configure.ac: Use 'GUILE_PKG', and pass "2.2" first.
-
Ludovic Courtès authored
This fixes a test failure with Guile 2.2. * tests/http.scm (hash-table-keys, hash-table=?): New procedures. ("spec->json-string"): Use it to compare the JSON objects.
-
- May 06, 2017
-
-
Ricardo Wurmus authored
* doc/cuirass.texi (Database): Replace instances of "path" with more accurate terms.
-
- May 05, 2017
-
-
Ricardo Wurmus authored
* doc/cuirass.texi: Add "Database" node.
-
Ricardo Wurmus authored
* doc/cuirass.texi (Introduction): Fix typos and use American English spelling. Co-authored-by:
Maxim Cournoyer <maxim.cournoyer@gmail.com>
-
- Feb 25, 2017
-
-
Ludovic Courtès authored
This improves parallelism when 'max-jobs' is large. * src/cuirass/base.scm (build-packages): Rewrite to pass the complete list of derivations to 'build-derivations' at once. Handle multiple outputs. * src/schema.sql (Builds): Make "output" part of the primary key. Co-authored-by:
Mathieu Lirzin <mthl@gnu.org>
-
Ludovic Courtès authored
* src/cuirass/base.scm (fetch-repository): Remove 'file-exists?' call before 'mkdir-p'.
-
Ludovic Courtès authored
* src/cuirass/base.scm (process-specs): Systematically call 'set-build-options'. Pass #:keep-going? #t.
-
Mathieu Lirzin authored
This fixes an issue in the database, where rows from the 'Evaluations' table were having an "#f" value instead of a valid reference to their corresponding specification. * bin/evaluate.in (main): Use specification #:name instead of obsolete #:id.
-
- Feb 06, 2017
-
-
Mathieu Othacehe authored
* src/cuirass/base.scm (set-guix-package-path!): Parse colon separated directories in load-path. Co-authored-by:
Mathieu Lirzin <mthl@gnu.org>
-
- Jan 30, 2017
-
-
Mathieu Lirzin authored
* doc/cuirass.texi (Contributing): Describe how to send patches.
-
Mathieu Lirzin authored
* README <Contributing>: Point to the corresponding section in the manual.
-
Mathieu Othacehe authored
Fixes https://notabug.org/mthl/cuirass/issues/1 . * src/cuirass/base.scm (fetch-repository): Return #f when 'git clone' fails. (process-specs): Test if commit is not #f before using its value. Signed-off-by:
Mathieu Lirzin <mthl@gnu.org>
-
Mathieu Othacehe authored
* bin/cuirass.in (%options): Add "--load-path" and "-L" command line options. (show-help): Adapt. * src/cuirass/base.scm (%guix-package-path): New parameter. (set-guix-package-path!): New procedure. (evaluate): Call "evaluate" script with '%guix-package-path'. * bin/evaluate.in (main): Match 'guix-package-path' command line argument and handle it. Signed-off-by:
Mathieu Lirzin <mthl@gnu.org>
-
- Jan 25, 2017
-
-
Mathieu Lirzin authored
* build-aux/guix.scm (%aux-dir): New variable. Use it.
-
- Jan 23, 2017
-
-
Mathieu Lirzin authored
* build-aux/guix.scm (spec+package-list): New procedure. Use it.
-
Mathieu Lirzin authored
* Makefile.am (.version): Remove target. (EXTRA_DIST): Adapt. (BUILT_SOURCES): Likewise. * build-aux/guix.scm (git-version-gen): Call 'git-version-gen' with '.tarball-version'. * .gitignore: Update.
-
Mathieu Lirzin authored
* doc/cuirass.texi (Contributing): Use "bug-cuirass@framalistes.org" email address.
-
- Jan 09, 2017
-
-
Mathieu Lirzin authored
This fixes the issue of having multiple identical derivations associated with an evaluation as reported by Ludovic Courtès <ludo@gnu.org> at <https://lists.gnu.org/archive/html/guix-devel/2017-01/msg00109.html>. * src/cuirass/database.scm (db-add-derivation): Ignore if JOB is already present in DB.
-