| Commit message (Expand) | Author | Age |
* | doc: Guile 2.2 is needed.•••This is a followup to ee11ba1d93b24753eafcd77eef8543e5cac5ba4c.
* README: Ask for Guile 2.2.
| Ludovic Courtès | 2019-08-17 |
* | Switch to Guile-JSON 3.x.•••Guile-JSON 3.x is incompatible with Guile-JSON 1.x, which we relied on
until now: it maps JSON dictionaries to alists (instead of hash tables),
and JSON arrays to vectors (instead of lists). This commit is about
adjusting all the existing code to this new mapping.
* src/cuirass/http.scm (evaluation->json-object): New procedure.
(handle-builds-request): Pass the result through 'list->vector'.
(handle-builds-search-request): Likewise.
(url-handler): Likewise for /jobsets, /specifications, /api/evaluations,
and /build. For /api/evaluations, use 'evaluation->json-object'.
* src/cuirass/utils.scm (object->json-scm): Add 'vector?' case.
* tests/http.scm (hash-table-keys, hash-table=?): Remove.
(evaluations-query-result): Use vectors for JSON arrays.
("object->json-string"): Expects alists instead of hash tables.
("/build/1"): Use 'lset=' instead of 'hash-table=?'.
("/api/latestbuilds?nr=1&jobset=guix"): Likewise, and expect alists
instead of hash tables.
("/api/latestbuilds?nr=1&jobset=gnu"): Likewise.
("/api/evaluations?nr=1"): Likewise.
* README: Mention Guile-JSON 3.x.
| Ludovic Courtès | 2019-08-17 |
* | Separate web interface.•••* bin/cuirass.in (show-help): Document "--web" option.
(%options): Default to running without web interface.
(main): Either run the web interface or build packages.
* README: Mention the "--web" option.
| Ricardo Wurmus | 2019-08-10 |
* | Introduce concurrency with Fibers.•••* README: Mark Fibers as required.
* configure.ac: Check for Guile 2.2 only. Check for (fibers).
* bin/cuirass.in (main): Use (fibers). Run 'process-specs' and web
server in separate fibers.
* src/cuirass/base.scm (with-store): New macro.
(non-blocking-port): New procedure.
(evaluate): Use 'non-blocking-port'. Use 'read-string' followed by 'read'.
(process-specs): Move 'db-add-stamp' right after 'string=?' comparison.
Run evaluation and subsequent builds in a separate fiber.
* src/cuirass/http.scm (run-cuirass-server): Pass 'fibers as the second
argument to 'run-server'. Use 'log-message' instead of 'format'.
* src/cuirass/database.scm (with-database): Remove 'dynamic-wind'.
| Ludovic Courtès | 2018-01-22 |
* | Update dependencies in README.•••* README (Requirenments): Replace git with guile-git.
| Ricardo Wurmus | 2017-08-26 |
* | 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 |
* | 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 |
* | maint: Move examples from 'tests' to 'examples' directory.•••* examples/gnu-system.scm: Moved from 'tests' directory.
* examples/guix-jobs.scm: Likewise.
* examples/guix-track-git.scm: Likewise.
* examples/hello-git.scm: Likewise.
* examples/hello-singleton.scm: Likewise.
* examples/hello-subset.scm: Likewise.
* Makefile.am (EXTRA_DIST): Adapt.
* README <Example>: Likewise.
| Mathieu Lirzin | 2016-12-16 |
* | maint: Update README.•••* README: Slightly change wording.
Signed-off-by: Mathieu Lirzin <mthl@gnu.org>
| Roel Janssen | 2016-10-26 |
* | maint: Update README.•••* README: Update build instructions.
| Mathieu Lirzin | 2016-08-03 |
* | cuirass: Make specification argument optional.•••* bin/cuirass.in (%options): Add 'specifications' option.
(main): Use it instead of the non-option command line arguments.
(show-help): Adapt.
* README (Example): Adapt.
| Mathieu Lirzin | 2016-07-27 |
* | Update README example. | Mathieu Lirzin | 2016-07-14 |
* | cuirass: Remove '--use-file' command line argument. | Mathieu Lirzin | 2016-07-02 |
* | Guix modules must be available. | Mathieu Lirzin | 2016-06-16 |
* | Initial commit. | Mathieu Lirzin | 2016-05-29 |