Support polling git repositories for new branches/revisions

This is mostly a workaround for the occasional problems with the guix-commits
mailing list, as it can break and then the data service doesn't learn about
new revisions until the problem is fixed.

I think it's still a generally good feature though, and allows deploying the
data service without it consuming emails to learn about new revisions, and is
a step towards integrating some kind of way of notifying the data service to
poll.
This commit is contained in:
Christopher Baines 2023-10-09 21:29:58 +01:00
parent 9bb8f84741
commit 10bad53ad5
14 changed files with 328 additions and 53 deletions

View file

@ -0,0 +1,8 @@
-- Deploy guix-data-service:git_repositories_poll_interval to pg
BEGIN;
ALTER TABLE git_repositories
ADD COLUMN poll_interval INTEGER DEFAULT NULL;
COMMIT;