summaryrefslogtreecommitdiff
path: root/guix/ci.scm
AgeCommit message (Expand)Author
2020-09-08Remove (guix json) and require Guile-JSON 4.3.0+....This is a followup to 4071879c86d059ee087c8986915ea72b8c742b72. * guix/json.scm: Remove. * Makefile.am (MODULES): Adjust accordingly. * m4/guix.m4 (GUIX_CHECK_GUILE_JSON): Check for 'define-json-mapping'. * doc/guix.texi (Requirements): Require Guile-JSON 4.3.0+. * guix/ci.scm, guix/cve.scm, guix/import/cpan.scm, guix/import/crate.scm, guix/swh.scm: Remove (guix json) import. * guix/import/gem.scm, guix/import/pypi.scm: Likewise, and import (json). * guix/self.scm (specification->package): Switch to GUILE-JSON-4. * guix/git-download.scm (git-fetch): Likewise. Ludovic Courtès
2020-06-15ci: Add build-products id field and export accessors....* guix/ci.scm (build-product?, build-product-id, build-product-type, build-product-file-size, build-product-path): Export them, [id]: new field. Mathieu Othacehe
2020-06-15ci: Add status option to "latest-builds"....* guix/ci.scm (latest-builds): Add "status" option. Mathieu Othacehe
2020-06-15ci: Fix buildproducts reading....This is a follow-up of 4e05bbb093a17145fcabd48ea1d2c9cd7559084d. * guix/ci.scm (<build>)[products]: Test for vector type, as products can be "null". Mathieu Othacehe
2020-06-15ci: Add job option to "latest-builds"....* guix/ci.scm (latest-builds): Add "job" option. Mathieu Othacehe
2020-06-15ci: Add build products support....* guix/ci.scm (<build-product>): New json mapping, (<build)[products]: new field. Mathieu Othacehe
2020-03-31ci: Fix 'evaluation-spec' binding....* guix/ci.scm (<evaluation>)[spec]: Add "specification", which is what the JSON field is actually called. Ludovic Courtès
2019-09-04ci: Use (guix json) and adjust for Guile-JSON 3.x....This is in part a followup to 81c3dc32244a17241d74eea9fa265edfcb326f6d. * guix/ci.scm (<build>, <checkout>, <evaluation>): Define using 'define-json-mapping'. (json->build, json->checkout, json->evaluation): Remove. (queued-builds, latest-builds, latest-evaluations): Pass JSON arrays through 'vector->list' to adjust for Guile-JSON 3.x. (evaluations-for-commit): Fix typo to really export. Ludovic Courtès
2018-11-10ci: Add procedures to access evaluations....* guix/ci.scm (<checkout>, <evaluation>): New record types. (latest-builds): Add #:evaluation and #:system and honor it. Define 'option'. (json->checkout, json->evaluation, latest-evaluations) (evaluations-for-commit): New procedures. Ludovic Courtès
2018-03-28Add (guix ci)....* guix/ci.scm: New file. * Makefile.am (MODULES): Add it. Ludovic Courtès