Commands: git -C /home/mike/gentoo/linux-patches tag -s 4.19-3 git push --tags -u origin 4.19 Output: Enumerating objects: 1, done. Counting objects: 100% (1/1), done. Writing objects: 100% (1/1), 808 bytes | 808.00 KiB/s, done. Total 1 (delta 0), reused 0 (delta 0) remote: fatal: Invalid revision range 0000000000000000000000000000000000000000..dd2c3f14d48dbb8db0e58c3f4bca46e62d2332b7 remote: FATAL: VREF/proj-gentoo-06-copyright: helper program exit status 256 remote: 4196ed330cd049bfd7781bc2f3e71b646e13a0bd: no GCO sign-off present remote: error: hook declined to update refs/tags/4.19-3 To git+ssh://git.gentoo.org/proj/linux-patches.git ! [remote rejected] 4.19-3 -> 4.19-3 (hook declined) Branch '4.19' set up to track remote branch '4.19' from 'origin'. error: failed to push some refs to 'git+ssh://git@git.gentoo.org/proj/linux-patches.git'
I also tried: Commands: git -C /home/mike/gentoo/linux-patches tag -s 4.19-3 git push --signed --tags -u origin 4.19 Enumerating objects: 1, done. Counting objects: 100% (1/1), done. Writing objects: 100% (1/1), 808 bytes | 808.00 KiB/s, done. Total 1 (delta 0), reused 0 (delta 0) remote: fatal: Invalid revision range 0000000000000000000000000000000000000000..dd2c3f14d48dbb8db0e58c3f4bca46e62d2332b7 remote: FATAL: VREF/proj-gentoo-06-copyright: helper program exit status 256 remote: 4196ed330cd049bfd7781bc2f3e71b646e13a0bd: no GCO sign-off present remote: error: hook declined to update refs/tags/4.19-3 To git+ssh://git.gentoo.org/proj/linux-patches.git ! [remote rejected] 4.19-3 -> 4.19-3 (hook declined) Branch '4.19' set up to track remote branch '4.19' from 'origin'. error: failed to push some refs to 'git+ssh://git@git.gentoo.org/proj/linux-patches.git'
Blame goes to Alice for committing without signoff.
I'm not sure what to do here. Technically, I could disable the hook until you stop maintaining old branches that contain commits without signatures and then reenable it when we can reliably assume master..TAG will contain only commits with signed-off-by. However, if I disable it then I'm pretty sure people will continue adding new commits without signed-off-by, effectively violating the copyright policy and making it impossible to finally enable the hook. Any suggestions?
That said, from my perspective the easiest solution would be to fix the commits on non-master branches (as compared to master) to actually contain sign-off before pushing a new tag. The hook lists commits needing fixing every time.