I'm using gerrit 2.8 and require signed commits. However, I'd like for notes to not require signing. What permissions might I use?
git notes add -F ~/note.txt <hash>
git push origin refs/notes/commits:refs/notes/commits
...
! [remote rejected] refs/notes/commits -> refs/notes/commits (not Signed-off-by author/committer/uploader in commit message footer)
error: failed to push some refs to 'ssh://A/project'
I have edited the project.config to add these lines:
[access "refs/notes/commits"]
push = group Administrators
create = group Administrators
+ requireSignedOffBy = false
+ requireChangeId = false
to no avail.
According to Shawn Pearce, this is not supported as of 2.8.
You can't. The option is unfortunately applied to the entire project. I see how this is a reasonable feature request, but its simply not understood or supported by the server.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With