Support excluding and including branches from a repository

So that you can have the Guix Data Service only pay attention to some of the
branches.
This commit is contained in:
Christopher Baines 2020-02-08 12:03:41 +00:00
parent bb271c366b
commit c31c9575e0
6 changed files with 70 additions and 15 deletions

View file

@ -0,0 +1,8 @@
-- Deploy guix-data-service:allow_including_and_excluding_branches_for_repositories to pg
BEGIN;
ALTER TABLE git_repositories ADD COLUMN included_branches varchar[];
ALTER TABLE git_repositories ADD COLUMN excluded_branches varchar[];
COMMIT;

View file

@ -0,0 +1,7 @@
-- Revert guix-data-service:allow_including_and_excluding_branches_for_repositories from pg
BEGIN;
-- XXX Add DDLs here.
COMMIT;

View file

@ -48,3 +48,4 @@ change_package_derivations_target 2020-02-07T19:29:50Z Christopher Baines <mail@
remove_old_cross_derivations 2020-02-07T19:42:54Z Christopher Baines <mail@cbaines.net> # Remove old cross derivations
increase_fillfactor_for_some_indexes 2020-02-07T20:49:17Z Christopher Baines <mail@cbaines.net> # Increase the fillfactor for some btree indexes
change_package_derivations_by_guix_revision_range_target 2020-02-08T10:13:07Z Christopher Baines <mail@cbaines.net> # Change the values for package_derivations_by_guix_revision_range target
allow_including_and_excluding_branches_for_repositories 2020-02-08T11:30:02Z Christopher Baines <mail@cbaines.net> # Allow including and excluding branches for repositories

View file

@ -0,0 +1,7 @@
-- Verify guix-data-service:allow_including_and_excluding_branches_for_repositories on pg
BEGIN;
-- XXX Add verifications here.
ROLLBACK;