Don't hardcode the expected x-git-repo header value

Rather than expecting it always to be "guix", store the expected value in the
database, and use the value of the header to find the relevant repository.
This commit is contained in:
Christopher Baines 2020-01-11 17:25:08 +00:00
parent 57cbac891e
commit 2f36d47b1b
6 changed files with 52 additions and 22 deletions

View file

@ -0,0 +1,7 @@
-- Verify guix-data-service:git-repositories-x-git-repo-header on pg
BEGIN;
-- XXX Add verifications here.
ROLLBACK;