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. Feb 21, 2021
    • Mathieu Othacehe's avatar
      Add notifications support. · 4495e085
      Mathieu Othacehe authored
      * src/cuirass/mail.scm: New file.
      * src/cuirass/notification.scm: New file.
      * src/sql/upgrade-5.sql: New file.
      * Makefile.am (dist_pkgmodule_DATA, dist_sql_DATA): Add them.
      * src/schema.sql (Specifications)[notifications]: New field.
      * bin/cuirass.in: Wrap inside the "with-notification" macro.
      * src/cuirass/remote-server.scm (remote-server): Ditto.
      * src/cuirass/database.scm (db-add-specification): Add notifications field.
      (db-get-specifications): Ditto.
      (db-update-build-status!): Send notifications.
      * tests/mail.sh: New file.
      * tests/database.scm (mu-debug, tmp-mail): New variables.
      (mailer): New procedure.
      (example-spec): Add an email notification.
      ("mail-notification"): New test case.
      4495e085
    • Mathieu Othacehe's avatar
      Move date->rfc822-str to utils.scm. · aa9099e4
      Mathieu Othacehe authored
      * src/cuirass/rss.scm (date->rfc822-str): Move it to ...
      * src/cuirass/utils.scm: ... here.
      aa9099e4
    • Mathieu Othacehe's avatar
      Fix dist rule. · 731bc834
      Mathieu Othacehe authored
      * Makefile.am (dist_images_DATA): Update it.
      731bc834
  2. Feb 20, 2021
    • Mathieu Othacehe's avatar
      Remove favicon in SVG format. · 422de6c3
      Mathieu Othacehe authored
      * src/static/images/icon.svg: Remove it.
      * src/cuirass/http.scm (%file-white-list): Remove "images/icon.svg".
      * src/cuirass/templates.scm (html-page): Remove icon.svg link.
      422de6c3
  3. Feb 19, 2021
    • Mathieu Othacehe's avatar
      Add favicon support. · 2ab6c460
      Mathieu Othacehe authored
      * src/cuirass/http.scm (%file-white-list): Rename "logo.png" into "guix.png".
      Add "icon.png" and "icon.svg".
      * src/cuirass/templates.scm (html-page): Adapt it.
      * src/static/images/logo.png: Rename it ...
      * src/static/images/guix.png: ... into this file.
      * src/static/images/icon.png: New file.
      * src/static/images/icon.svg: New file.
      2ab6c460
    • Mathieu Othacehe's avatar
      Add a lock icon for admin actions. · b200ea89
      Mathieu Othacehe authored
      * src/cuirass/templates.scm (build-details, evaluation-info-table): Add lock
      icons for admin actions.
      b200ea89
  4. Feb 18, 2021
  5. Feb 17, 2021
  6. Feb 14, 2021
  7. Feb 12, 2021
  8. Feb 11, 2021
    • Mathieu Othacehe's avatar
      Pick the first worker build. · b191a2a5
      Mathieu Othacehe authored
      * src/cuirass/templates.scm (machine-status): Pick the first worker build if
      multiple builds are started on the same worker.
      b191a2a5
    • Mathieu Othacehe's avatar
      database: Fix db-get-build-percentage query. · e77a0a94
      Mathieu Othacehe authored
      * src/cuirass/database.scm (db-get-build-percentage): Consider both successful
      and failing builds.
      e77a0a94
    • Mathieu Othacehe's avatar
      remote: Discover server log-port and publish-port without Avahi. · 38701970
      Mathieu Othacehe authored
      * src/cuirass/remote.scm (zmq-server-info, zmq-worker-request-info-message):
      New procedures.
      * src/cuirass/remote-server.scm (%log-port, %publish-port): New parameters.
      (read-worker-exp): Handle 'worker-request-info message.
      (remote-server): Set the new parameters.
      * src/cuirass/remote-worker.scm (start-worker): Rename "server" argument. Send
      a 'worker-request-info message to discover the server log port and publish
      port.
      (remote-worker): Adapt it.
      38701970
  9. Feb 08, 2021
  10. Feb 06, 2021
  11. Feb 02, 2021
  12. Feb 01, 2021
    • Mathieu Othacehe's avatar
      Add weather support in build details. · f9a5cbe0
      Mathieu Othacehe authored
      * src/cuirass/templates.scm (build-details): Display weather.
      f9a5cbe0
    • Mathieu Othacehe's avatar
      Add build weather support. · d7282c05
      Mathieu Othacehe authored
      * src/cuirass/database.scm (build-weather): New macro.
      (build-status->weather): New procedure.
      (db-get-builds): Return the build weather using the new procedure.
      * src/cuirass/http.scm (build->hydra-build): Also return the weather.
      * src/cuirass/templates.scm (weather-class, weather-title): New procedures.
      (build-eval-table): Display the weather.
      * tests/database.scm ("db-get-build weather"): New tests.
      * tests/http.scm (build-query-result): Adapt it.
      d7282c05
Loading