This project is mirrored from https://git.savannah.gnu.org/git/guix/guix-cuirass.git/.
Pull mirroring updated .
- Apr 09, 2021
-
-
Mathieu Othacehe authored
* src/sql/upgrade-5.sql: New file. * Makefile.am (dist_sql_DATA): Add it.
-
- Mar 10, 2021
-
-
Mathieu Othacehe authored
* src/sql/upgrade-2.sql: Remove it. * src/sql/upgrade-3.sql: Remove it. * src/sql/upgrade-4.sql: Remove it. * src/sql/upgrade-5.sql: Remove it. * Makefile.am (dist_sql_DATA): Adapt it.
-
- Feb 21, 2021
-
-
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.
-
- Jan 11, 2021
-
-
Mathieu Othacehe authored
-
- Jan 16, 2020
-
-
Christopher Baines authored
Add a table to store events, which have a type and a JSON blob. These can be used to record changes, this commit inserts events when new builds are created, and when the status of builds change. The EventsOutbox table is then used to track when events have been sent out. This is done through the new cuirass-send-events script. * Makefile.am (bin_SCRIPTS): Add bin/cuirass-send-events. .gitignore: Add bin/cuirass-send-events. (dist_pkgmodule_DATA): Add src/cuirass/send-events.scm. (dist_sql_DATA): Add src/sql/upgrade-5.sql. (EXTRA_DIST): bin/cuirass-send-events.in. (bin/cuirass-send-events): New rule. * bin/cuirass-send-events.in: New file. * src/cuirass/send-events.scm: New file. * src/sql/upgrade-5.sql: New file. * src/cuirass/database.scm (changes-count): New procedure. (db-update-build-status!): Call db-add-event after updating the build status. (db-add-event): New procedure. (db-add-build): Insert an event when a new build is inserted. (db-delete-events-with-ids-<=-to): New procedure. * src/schema.sql (Events): New table.
-