doc: Add more info about commits signature local verification.

* doc/contributing.texi (Commit Access): Add more info about commits signature
local verification.
This commit is contained in:
Andrew Tropin 2022-09-05 09:46:23 +03:00
parent 0898fd56c9
commit a278f632de
No known key found for this signature in database
GPG Key ID: 2208D20958C1DEB0
2 changed files with 13 additions and 4 deletions

@ -1627,14 +1627,23 @@ git config commit.gpgsign true
git config user.signingkey CABBA6EA1DC0FF33 git config user.signingkey CABBA6EA1DC0FF33
@end example @end example
You can prevent yourself from accidentally pushing unsigned commits to To check that commits are signed with correct key, use:
Savannah by using the pre-push Git hook located at
@file{etc/git/pre-push}: @example
make authenticate
@end example
You can prevent yourself from accidentally pushing unsigned or signed
with the wrong key commits to Savannah by using the pre-push Git hook
located at @file{etc/git/pre-push}:
@example @example
cp etc/git/pre-push .git/hooks/pre-push cp etc/git/pre-push .git/hooks/pre-push
@end example @end example
It additionally calls @code{make check-channel-news} to be sure
@file{news.scm} file is correct.
@subsection Commit Policy @subsection Commit Policy
If you get commit access, please make sure to follow If you get commit access, please make sure to follow

@ -98,7 +98,7 @@ Copyright @copyright{} 2021 pukkamustard@*
Copyright @copyright{} 2021 Alice Brenon@* Copyright @copyright{} 2021 Alice Brenon@*
Copyright @copyright{} 2021, 2022 Josselin Poiret@* Copyright @copyright{} 2021, 2022 Josselin Poiret@*
Copyright @copyright{} 2021 muradm@* Copyright @copyright{} 2021 muradm@*
Copyright @copyright{} 2021 Andrew Tropin@* Copyright @copyright{} 2021, 2022 Andrew Tropin@*
Copyright @copyright{} 2021 Sarah Morgensen@* Copyright @copyright{} 2021 Sarah Morgensen@*
Copyright @copyright{} 2022 Remco van 't Veer@* Copyright @copyright{} 2022 Remco van 't Veer@*
Copyright @copyright{} 2022 Aleksandr Vityazev@* Copyright @copyright{} 2022 Aleksandr Vityazev@*