aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* local/update-02-gpg: include fingerprint of signing key in error messagesHEADgithooks-20241112T193720ZmasterFlorian Schmaus9 days1-3/+5
| | | | | Signed-off-by: Florian Schmaus <flow@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
* postrecv-bugs: fix commit message and resolution when mentionedgithooks-20240720T073009ZArthur Zamarin2024-07-201-2/+4
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* postrecv-bugs: fix closes invocationArthur Zamarin2024-07-201-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* postrecv-bugs: ensure resolution is empty firstRobin H. Johnson2024-07-201-0/+1
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* local: add support for commit tags with resolutions FIXED, OBSOLETE, PKGREMOVEDgithooks-20240720T055515ZLucio Sauer2024-07-201-2/+15
| | | | | | | | Implicitly fall back to resolution FIXED if none is provided. Signed-off-by: Lucio Sauer <watermanpaint@posteo.net> Closes: https://bugs.gentoo.org/934825 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* Revert "local/update-03-filename: Allow @ in filenames"githooks-20240602T201613ZUlrich Müller2024-06-021-3/+3
| | | | | | | | | | | | As it turns out, Portage will silently drop files containing an @ char during Manifest generation. See bug 411127 and bug 106544 for further reference. This reverts commit e24eacaa31707ef669cd5a9747a1bf08a5759fdf. Signed-off-by: Ulrich Müller <ulm@gentoo.org> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* local/update-03-filename: Allow @ in filenamesgithooks-20240602T055652ZUlrich Müller2024-06-021-3/+3
| | | | | | | As discussed in #gentoo-dev. Signed-off-by: Ulrich Müller <ulm@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
* update-03-filename: Allow .github/pull_request_template.mdgithooks-20240508T062845ZMichał Górny2024-05-081-0/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* local/update-03-filename: add .mailmapgithooks-20240217T040258ZSam James2024-02-171-0/+1
| | | | | | Per https://marc.info/?l=gentoo-dev&m=170781377903495&w=2. Signed-off-by: Sam James <sam@gentoo.org>
* fix: local/post-receive.gentoo-commits avoid other warnings on warning on ↵githooks-20240126T071635ZRobin H. Johnson2024-01-251-1/+7
| | | | | | warnings Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* fix: local/post-receive.gentoo-commits avoid other warnings on warninggithooks-20240126T070727ZRobin H. Johnson2024-01-251-2/+2
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* fix: local/post-receive.gentoo-commits should log why the legacy committer ↵githooks-20240126T060601ZRobin H. Johnson2024-01-251-6/+11
| | | | | | detection fired Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* fix: local/post-receive.gentoo-commits should support ↵Robin H. Johnson2024-01-251-1/+4
| | | | | | committer_realname_ascii fallback Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* local/update-02-gpg: fix whitespace in commentgithooks-20240119T073104ZSam James2024-01-191-2/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* local/post-receive.gentoo-commits: the CIA notification service is long goneSam James2024-01-191-89/+5
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* local/require-signed-push, local/update-02-gpg: add hook name to PGP errorgithooks-20240119T072358ZSam James2024-01-192-2/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* local/update-02-gpg: fix commit verification trust chain for newer gitgithooks-20231205T060329ZRobin H. Johnson2023-12-041-10/+44
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* update-02-gpg: improve trust chain check, but also workaround behavior buggithooks-20231128T222213ZRobin H. Johnson2023-11-281-1/+16
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* local/update-03-filename: add .editorconfiggithooks-20230325T025742ZSam James2023-03-251-0/+1
| | | | | | Per discussion on gentoo-dev: https://marc.info/?l=gentoo-dev&m=167962402912942&w=2 Signed-off-by: Sam James <sam@gentoo.org>
* update.secondary.d/puppet-validate: mark +xSam James2023-03-251-0/+0
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* Correct path to key.githooks-20220423T151745ZAlec Warner2022-04-231-1/+1
| | | | Signed-off-by: Alec Warner <antarus@gentoo.org>
* Export the variable properly.githooks-20220422T232001ZAlec Warner2022-04-221-1/+1
| | | | Signed-off-by: Alec Warner <antarus@gentoo.org>
* Don't let gitolite override the push-key.githooks-20220422T175038ZAlec Warner2022-04-221-1/+1
| | | | Signed-off-by: Alec Warner <antarus@gentoo.org>
* Update our wrappers.githooks-20220330T013907ZAlec Warner2022-03-292-6/+3
| | | | | | | Gitea, we do not support anymore. Gitlab, we are starting to support. Signed-off-by: Alec Warner <antarus@gentoo.org>
* local/require-signed-push: raise clock drift limitgithooks-20220216T040058ZRobin H. Johnson2022-02-151-1/+1
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* local/require-signed-push: fix missing redirectiongithooks-20220111T203903ZRobin H. Johnson2022-01-111-1/+1
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* local/require-signed-push: cleanup & shellcheckgithooks-20220111T185119ZRobin H. Johnson2022-01-111-10/+12
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* local/require-signed-push: sh syntaxRobin H. Johnson2022-01-111-2/+2
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* local/require-signed-push: clarify how delays in smartcard show uprequire-signed-push-clarityRobin H. Johnson2021-10-211-2/+4
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* local/require-signed-push: document push time requirements and improve error ↵Robin H. Johnson2021-10-211-6/+43
| | | | | | messages Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* local/require-signed-push: clarify that the clock offset is in the push, not ↵Robin H. Johnson2021-10-211-3/+3
| | | | | | the commits Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* local/update-*: Check for unreachable commits also in other hooksgithooks-20210324T103327ZUlrich Müller2021-03-243-21/+13
| | | | | | | | | | | To this end, sync update-04-utf8 from update-06-copyright. update-03-filename and update-05-manifest check commits only in master, so we need not consider branch creation. Signed-off-by: Ulrich Müller <ulm@gentoo.org> Closes: https://bugs.gentoo.org/772926 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* local/update-06-copyright: Check only commits unreachable from any refsgithooks-20210314T213611ZUlrich Müller2021-03-142-12/+17
| | | | | | Closes: https://bugs.gentoo.org/772926 Signed-off-by: Ulrich Müller <ulm@gentoo.org> Signed-off-by: Michał Górny <mgorny@gentoo.org>
* Remove a temporary fileMichał Górny2021-02-281-6/+0
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* local: sync from cfenginegithooks-20201207T051346ZRobin H. Johnson2020-12-066-35/+41
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* *mirror: start to fix GIT_SSH_KEY messgithooks-20201207T050414ZRobin H. Johnson2020-12-062-4/+8
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* github-mirror: kex/cipher/mac override no longer neededgithooks-20201207T045127ZRobin H. Johnson2020-12-061-4/+4
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* Remove github specific constraints from gitea.Alec Warner2020-06-021-6/+1
| | | | Signed-off-by: Alec Warner <antarus@gentoo.org>
* Add gitea-ssh hook.Alec Warner2020-06-022-0/+34
| | | | Signed-off-by: Alec Warner <antarus@gentoo.org>
* Add github mirror hooks to githooks.Alec Warner2020-06-022-0/+34
| | | | Signed-off-by: Alec Warner <antarus@gentoo.org>
* local/require-signed-push: fix typoRobin H. Johnson2020-04-061-1/+1
| | | | | Credit: Jorge Manuel B. S. Vicetto jmbsvicetto@gmail.com Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* local/require-signed-push: handle more GIT_PUSH_CERT_STATUS error casesgithooks-20200406T165739ZRobin H. Johnson2020-04-061-5/+16
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* notify-webhook: more cleanupsgithooks-20191218T072249ZRobin H. Johnson2019-12-171-0/+0
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* notify-webhook: bumpgithooks-20191218T071416ZRobin H. Johnson2019-12-171-0/+0
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* git-gx86-tools: bump for copying ref fixesgithooks-20191216T063335ZRobin H. Johnson2019-12-151-0/+0
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* local: relabel files copied from git-gx86-toolsRobin H. Johnson2019-12-1512-0/+12
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* label-files: make it easier to label files with repoRobin H. Johnson2019-12-151-0/+2
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* local/update*: ensure correct handling for add/del branch/tagsRobin H. Johnson2019-12-153-0/+33
| | | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> (cherry picked from commit 63f9eb4e442d4a03fcdfffcddc8cf6fbdc6e6d15)
* local/update-06-copyright: detect if a new ref has no common commits to masterRobin H. Johnson2019-12-151-0/+1
| | | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> (cherry picked from commit 93b145f6fcda5903b2d11efe200fed2876a6fc62)
* local: resync from git-gx86-tools/49b86a7418e68de3cf90ec88add3ac08630b7f0b, ↵Robin H. Johnson2019-12-1513-111/+128
| | | | | | need to redo local commits Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>