Skip to content
Snippets Groups Projects
This project is mirrored from https://git.savannah.gnu.org/git/guix/guix-cuirass.git/. Pull mirroring updated .
  1. Oct 04, 2017
  2. Sep 29, 2017
    • Ludovic Courtès's avatar
      Do not mistakenly use 'GIT_SSL_CAINFO' as a directory name. · 9cfea9fe
      Ludovic Courtès authored
      'GIT_SSL_CAINFO' designates a single-file certificate bundle, not a
      directory; thus it must be passed as the second argument to
      'set-tls-certificate-locations!'.
      
      * src/cuirass/base.scm (process-specs): Pass $SSL_CERT_DIR as the first
      argument to 'set-tls-certificate-locations!', and $GIT_SSL_CAINFO or
      $SSL_CERT_FILE as the second argument.
      9cfea9fe
  3. Sep 19, 2017
    • Jan Nieuwenhuizen's avatar
      cuirass: Add --listen command line option. · 2a4d493e
      Jan Nieuwenhuizen authored
      * bin/cuirass.in (show-help): Add help for --listen option.
      (%options): Add listen option.
      (main): Pass host to run-cuirass-server.
      * doc/cuirass.texi (Invocation): Add --listen option.
      * src/cuirass/http.scm (run-cuirass-server): Add named #:host parameter.
      2a4d493e
  4. Sep 18, 2017
  5. Sep 09, 2017
    • Mathieu Othacehe's avatar
      cuirass: add Hydra compatible HTTP API. · 8a7483a3
      Mathieu Othacehe authored
      * doc/cuirass.texi (Sections)[Web API]: New section describing the HTTP API.
      * src/cuirass/http.scm (spec->json-string): Move it to utils.scm and rename it
        object->json-string.
      (object->json-scm): Move it utils.scm.
      (handle-*-request): New helpers procedures.
      (request-parameters): New procedure to parse a request query.
      (url-handler): Add new API's.
      * src/cuirass/utils.scm (object->json-scm, object->json-string): Exported
      procedures moved from http.scm.
      * tests/http.scm: Add various tests on new HTTP API.
      8a7483a3
    • Mathieu Othacehe's avatar
      cuirass: Store new information in database to prepare new HTTP API · 0a84f0ed
      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.
      0a84f0ed
    • Mathieu Othacehe's avatar
      cuirass: Store new information in database to prepare new HTTP API · e550cb6a
      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.
      e550cb6a
  6. Aug 26, 2017
  7. Aug 02, 2017
  8. Aug 01, 2017
  9. Jul 31, 2017
    • Mathieu Othacehe's avatar
      base: Report git errors. · a919c253
      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.
      a919c253
  10. Jul 30, 2017
    • Mathieu Othacehe's avatar
      base: Report evaluation error. · c6ee3d9b
      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.
      c6ee3d9b
  11. Jul 12, 2017
  12. Jul 06, 2017
    • Mathieu Othacehe's avatar
      cuirass: Stop λ/lambda mixing. · d7dc7cb9
      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.
      d7dc7cb9
    • Mathieu Othacehe's avatar
      repo: Remove dead code. · 4666142c
      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.
      4666142c
  13. Jul 05, 2017
    • Mathieu Othacehe's avatar
      base: Use (guix git) module. · 1b79b7bf
      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.
      1b79b7bf
  14. Jul 02, 2017
    • Mathieu Othacehe's avatar
      utils: Remove useless procedures. · f301378d
      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).
      f301378d
    • Mathieu Othacehe's avatar
      repo: remove git-repo. · 706c80c6
      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).
      706c80c6
    • Mathieu Othacehe's avatar
      configure.ac: Update homepage and bug report email. · 8f32507d
      Mathieu Othacehe authored
      * configure.ac (AC_INIT): Update homepage and bug report email.
      8f32507d
  15. Jun 05, 2017
  16. May 10, 2017
  17. May 06, 2017
  18. May 05, 2017
  19. Feb 25, 2017
  20. Feb 06, 2017
Loading