Package: dgit I have been trying to set up a dgit server for raspbian.
Unfortunately the dgit server rejected my push claiming commit 71e128629ec786f3e45f2cffdf0792125b76e520 had missing metadata. Further investigation shows that this commit is present on dgit.debian.org https://browse.dgit.debian.org/xen.git/commit/?id=71e128629ec786f3e45f2cffdf0792125b76e520 And further investigation seems to show it originates from xen upstream http://xenbits.xen.org/gitweb/?p=xen.git;a=commit;h=71e128629ec786f3e45f2cffdf0792125b76e520 I find the checking code almost impenetrable but I think it's refusing the commit because the author has an email but no name. Github seems quite happy with the commit as does git fsck, so IMO this is a case of dgit being too strict. There is supposedly a policy code I can use to make dgit ignore the check but whenever I try and add it to my policy I get dgit-repos-server: policy hook failed (or rejected) (2048) I have tried three different ways of adding it to the policy 1. Changing bitmask=0 to bitmask=8 2. Adding bitmask=$(( bitmask | `policyflags 'NOCOMMITCHECK'` )) just before the exit command 3. Adding bitmask=$(( bitmask | 8 )) just before the exit command