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 26, 2021
  2. Feb 25, 2021
  3. Feb 24, 2021
  4. Feb 22, 2021
    • Mathieu Othacehe's avatar
      Keep notification text on one line. · 182011b6
      Mathieu Othacehe authored
      src/cuirass/notification.scm (notification-text): Keep it on one line.
      182011b6
    • Mathieu Othacehe's avatar
      Move mu-debug to parameters module. · 543e26ad
      Mathieu Othacehe authored
      * src/cuirass/mail.scm (mu-debug): Remove it.
      * src/cuirass/utils.scm (mu-debug): Ditto.
      * src/cuirass/parameters.scm (mu-debug): New variable.
      * src/cuirass/remote-server.scm (start-fetch-worker): Force parameters module
      load.
      * tests/database.scm: Load parameters module.
      543e26ad
    • Mathieu Othacehe's avatar
      Fix zabbix module. · f768b53a
      Mathieu Othacehe authored
      * src/cuirass/zabbix.scm (%zabbix-uri): Remove it.
      (zabbix-available?): Replace %zabbix-uri by %zabbix-url.
      f768b53a
    • Mathieu Othacehe's avatar
      Move mu-debug definition. · 27917657
      Mathieu Othacehe authored
      * tests/database.scm (mu-debug): Move to ...
      * src/cuirass/utils.scm: ... here.
      27917657
    • Mathieu Othacehe's avatar
      Fix db-get-specifications. · 3e656174
      Mathieu Othacehe authored
      * src/schema.sql: Reorder fields.
      * src/cuirass/database.scm (db-get-specifications): Ditto.
      3e656174
    • Mathieu Othacehe's avatar
      Use parameters for the Mastodon crendentials. · 342c5edf
      Mathieu Othacehe authored
      * src/cuirass/parameters.scm (%mastodon-instance-name, %mastodon-instance-url,
      %mastodon-instance-token): New variables.
      * src/cuirass/mastodon.scm (send-status): Remove "instance-name",
      "instance-url" and "instance-token" parameters.
      * src/cuirass/notification (notification-mastodon): Adapt accordingly.
      342c5edf
    • Mathieu Othacehe's avatar
      Make notifications field optional. · a0e12c38
      Mathieu Othacehe authored
      * src/cuirass/database.scm (db-add-specification): Make notifications field
      optional.
      a0e12c38
    • Mathieu Othacehe's avatar
      Add parameters support. · f0e0c345
      Mathieu Othacehe authored
      * src/cuirass/parameters.scm: New file.
      * Makefile.am (dist_pkgmodule_DATA): Add it.
      * bin/cuirass.in: Add "parameters" argument.
      * src/cuirass/base.scm (read-parameters): New procedure.
      * src/cuirass/notification.scm (build-details-url): New procedure.
      (notification-text): Use it.
      * src/cuirass/rss.scm (build-details-url): New procedure.
      (build->rss-item): Use it.
      (rss-feed): Remove "base-url" argument.
      * src/cuirass/remote-server.scm: Add "parameters" argument.
      * src/cuirass/zabbix.scm (%zabbix-uri, %zabbix-uri, %zabbix-password): Remove
      them.
      (zabbix-request, zabbix-login): Adapt accordingly.
      f0e0c345
  5. Feb 21, 2021
    • Mathieu Othacehe's avatar
      Add Mastodon support. · f6fdb13b
      Mathieu Othacehe authored
      * src/cuirass/mastodon.scm: New file.
      * Makefile.am (dist_pkgmodule_DATA): Add it.
      * src/cuirass/notification.scm (notification-type): Add "mastodon".
      (notification-mastodon): New procedure.
      (send-notifications): Add it.
      f6fdb13b
    • 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
  6. 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
  7. 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
  8. Feb 18, 2021
  9. Feb 17, 2021
  10. Feb 14, 2021
  11. Feb 12, 2021
  12. 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
  13. Feb 08, 2021
Loading