summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* local: autofixing from shellcheckgithooks-20191215T205245ZRobin H. Johnson2019-12-154-11/+11
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* local/update*: ensure correct handling for add/del branch/tagsgithooks-20191215T204800ZRobin H. Johnson2019-12-153-0/+33
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* 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>
* pre-receive.gentoo-news: merge-base for new tag/branchgithooks-20191215T071909ZRobin H. Johnson2019-12-141-0/+12
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* pre-receive.gentoo-news: fix bytes encodingRobin H. Johnson2019-12-141-2/+7
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* local: tag files to trace remaining cfengine usageRobin H. Johnson2019-12-1425-0/+25
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* local/gentoo_push_notification.py: convert to python3githooks-20191214T070340Robin H. Johnson2019-12-141-10/+15
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* pre-receive.gentoo-news: convert to python3Robin H. Johnson2019-12-141-9/+15
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* pre-receive.gentoo-news: add zeros checkRobin H. Johnson2019-12-141-0/+7
| | | | | | | | Work on any git checks that do not handle branches correctly. Bug: https://bugs.gentoo.org/show_bug.cgi?id=699894 Bug: https://bugs.gentoo.org/show_bug.cgi?id=699892 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* Revert "Update git-gx86-tools"Jorge Manuel B. S. Vicetto (jmbsvicetto)2019-10-081-0/+0
| | | | This reverts commit 69fcb1fa1ae44900d0e3a3e02f825d74a74ebf37.
* Update git-gx86-toolsMichał Górny2019-10-081-0/+0
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* Remove stale hooksMichał Górny2019-04-092-154/+0
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* update-02-gpg: Start enforcing GLEP 63 for commitsMichał Górny2019-04-091-3/+11
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>