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

View File

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

View File

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