| Commit message (Expand) | Author | Age |
* | WIPwip-govuk | Christopher Baines | 2017-09-03 |
* | WIP | Christopher Baines | 2017-09-03 |
* | Update dependencies in README.•••* README (Requirenments): Replace git with guile-git.
| Ricardo Wurmus | 2017-08-26 |
* | base: Set certificate location.•••* src/cuirass/base.scm (process-specs): Set certificate location to the value
in GIT_SSL_CAINFO or SSL_CERT_DIR.
| Ricardo Wurmus | 2017-08-26 |
* | database: 'db-add-build' is now idempotent.•••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.
| Ludovic Courtès | 2017-08-26 |
* | cuirass: Fix Guile current-processor-count deprecation warnings.•••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).
| Mathieu Othacehe | 2017-08-02 |
* | doc: Update contribution email.•••* doc/cuirass.texi (Contribution): guix-devel@gnu.org is preferred for
contributions.
| Mathieu Othacehe | 2017-07-31 |
* | base: Report git errors.•••* 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.
| Mathieu Othacehe | 2017-07-31 |
* | base: Report evaluation error.•••* 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.
| Mathieu Othacehe | 2017-07-30 |
* | build-aux: Update to Guile 2.2.•••build-aux/guix.scm (package): Update to Guile 2.2.
| Mathieu Othacehe | 2017-07-12 |
* | cuirass: Add fallback parameter.•••* 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 | 2017-07-12 |
* | database: Fix typo.•••* 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 | 2017-07-12 |
* | base: Fix time-monotonic Guile issue.•••* src/cuirass/base.scm: Replace time-monotonic with time-tai with
Guile 2.2, to avoid wrong evaluation durations.
| Mathieu Othacehe | 2017-07-12 |
* | cuirass: Stop λ/lambda mixing.•••* 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 | 2017-07-06 |
* | repo: Remove dead code.•••* 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.
| Mathieu Othacehe | 2017-07-06 |
* | base: Use (guix git) module.•••* 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.
| Mathieu Othacehe | 2017-07-05 |
* | utils: Remove useless procedures.•••* 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 | 2017-07-01 |
* | repo: remove git-repo.•••* 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 | 2017-07-01 |
* | configure.ac: Update homepage and bug report email.•••* configure.ac (AC_INIT): Update homepage and bug report email.
| Mathieu Othacehe | 2017-07-01 |
* | base: Send build output to the bit bucket.•••Fixes a regression introduced in
a42cf16fec114c26d16d5153053a2c6a1a3b1d11 whereby build logs would go the
Cuirass' stderr.
* src/cuirass/base.scm (build-packages): Parameterize
'current-build-output-port' to a void output port.
| Ludovic Courtès | 2017-06-04 |
* | build: Fix load-path/compile-path confusion.•••This is a followup to b4400bc98996f1a3ac7088a8f9e19daf684afcb1.
* Makefile.am (nodist_pkgmodule_DATA): New variable.
(nodist_pkgobject_DATA): Remove config.scm.
(do_subst): Use $(guileobjectdir).
| Ludovic Courtès | 2017-05-10 |
* | build: Install .go files to $(libdir)/guile.•••* 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 | 2017-05-10 |
* | build: Prefer building with Guile 2.2.•••* Makefile.am (guilesitedir): Append @GUILE_EFFECTIVE_VERSION@.
* configure.ac: Use 'GUILE_PKG', and pass "2.2" first.
| Ludovic Courtès | 2017-05-10 |
* | tests: Compare JSON objects instead of JSON strings.•••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.
| Ludovic Courtès | 2017-05-10 |
* | doc: Do not use "path" when a file name is meant.•••* doc/cuirass.texi (Database): Replace instances of "path" with more accurate
terms.
| Ricardo Wurmus | 2017-05-05 |
* | doc: Document database schema.•••* doc/cuirass.texi: Add "Database" node.
| Ricardo Wurmus | 2017-05-05 |
* | doc: Fix spelling.•••* doc/cuirass.texi (Introduction): Fix typos and use American English
spelling.
Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
| Ricardo Wurmus | 2017-05-05 |
* | base: Provide 'build-derivations' with the full list of derivations.•••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 | 2017-02-24 |
* | base: Remove unnecessary 'file-exists?' call.•••* src/cuirass/base.scm (fetch-repository): Remove 'file-exists?' call
before 'mkdir-p'.
| Ludovic Courtès | 2017-02-24 |
* | base: Do not stop on the first build failure.•••* src/cuirass/base.scm (process-specs): Systematically call
'set-build-options'. Pass #:keep-going? #t.
| Ludovic Courtès | 2017-02-24 |
* | evaluate: Use specification #:name in evaluation alists.•••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.
| Mathieu Lirzin | 2017-02-24 |
* | base: Handle multi-directories in load-path.•••* src/cuirass/base.scm (set-guix-package-path!): Parse colon separated
directories in load-path.
Co-authored-by: Mathieu Lirzin <mthl@gnu.org>
| Mathieu Othacehe | 2017-02-06 |
* | doc: Describe how to send patches.•••* doc/cuirass.texi (Contributing): Describe how to send patches.
| Mathieu Lirzin | 2017-01-29 |
* | maint: Add a pointer to the manual in the README.•••* README <Contributing>: Point to the corresponding section in the manual.
| Mathieu Lirzin | 2017-01-29 |
* | base: Handle 'git clone' errors correctly.•••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 | 2017-01-29 |
* | cuirass: Add "--load-path" option.•••* 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>
| Mathieu Othacehe | 2017-01-29 |
* | build: Add '%aux-dir' variable.•••* build-aux/guix.scm (%aux-dir): New variable. Use it.
| Mathieu Lirzin | 2017-01-24 |
* | build: Define 'spec+package-list' in "build-aux/guix.scm".•••* build-aux/guix.scm (spec+package-list): New procedure. Use it.
| Mathieu Lirzin | 2017-01-23 |
* | build: Don't generate ".version" since it has no use.•••* 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 | 2017-01-23 |
* | doc: Update email contact for contributors.•••* doc/cuirass.texi (Contributing): Use "bug-cuirass@framalistes.org" email
address.
| Mathieu Lirzin | 2017-01-23 |
* | database: db-add-derivation: Don't try to add a derivation twice.•••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.
| Mathieu Lirzin | 2017-01-09 |
* | maint: Fix mistake in copying permission statement.•••This was mistakenly added in commit 05e5495e8fdd7c0ba8f5d4afb5a59749b4474169.
* Makefile.am: Declare GPLv3+ instead of GPLv2+.
* configure.ac: Likewise.
| Mathieu Lirzin | 2017-01-09 |
* | maint: Add new mailing list and webpage.•••* configure.ac: Declare <bug-cuirass@framalistes.org> as package mailing list,
and <https://notabug.org/mthl/cuirass/> as package website.
* src/cuirass/ui.scm (show-package-information): Display them.
| Mathieu Lirzin | 2017-01-09 |
* | build: Reformat assignments.•••* Makefile.am (guilesitedir, pkgmoduledir, BUILT_SOURCES): Add whitespaces
around '='.
| Mathieu Lirzin | 2017-01-08 |
* | build: Do not require "build-aux/guix.scm".•••When building Cuirass with 'guix build -f build-aux/guix.scm' we don't want to
add "build-aux/guix.scm" in the repository snapshot since it is considered as
metadata. As a consequence we can't make 'autoconf' require it.
* configure.ac (AC_REQUIRE_AUX_FILE): Remove "build-aux/guix.scm".
* Makefile.am (EXTRA_DIST): Only distribute it.
| Mathieu Lirzin | 2016-12-29 |
* | build: Fix typo "the" => "they".•••* Makefile.am <Generated files>: Fix typo "the" => "they".
| Mathieu Lirzin | 2016-12-28 |
* | build: Use portable substitution references.•••* Makefile.am (nodist_guilesite_DATA, nodist_pkgmodule_DATA, CLEANFILES): Use
portable substitution references.
| Mathieu Lirzin | 2016-12-28 |
* | build: Add "build-aux/guix.scm".•••* guix.scm: Delete.
* build-aux/guix-env: Likewise.
* build-aux/guix.scm: New file.
* configure.ac (AC_REQUIRE_AUX_FILE): Distribute it.
* README <Build Instructions>: Document it.
| Mathieu Lirzin | 2016-12-28 |
* | ci: Remove custom Guix package defintion.•••* guix/ci.scm: Delete file. Guix already provides a package definition for
Cuirass.
* build-aux/pre-inst-env.in (GUIX_PACKAGE_PATH): Remove.
| Mathieu Lirzin | 2016-12-28 |
* | maint: Generate version number.•••* build-aux/git-version-gen: New script.
* configure.ac (AC_INIT): Use it.
(AC_REQUIRE_AUX_FILE): Distribute it.
* Makefile.am (.version): New target.
(BUILT_SOURCES, EXTRA_DIST): Add it.
(dist-hook): Generate ".tarball-version".
* .gitignore: Update.
| Mathieu Lirzin | 2016-12-28 |