aboutsummaryrefslogtreecommitdiff
path: root/local
Commit message (Collapse)AuthorAgeFilesLines
* postrecv-bugs: fix commit message and resolution when mentionedHEADgithooks-20240720T073009ZmasterArthur 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>
* 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>
* 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>
* local: relabel files copied from git-gx86-toolsRobin H. Johnson2019-12-1512-0/+12
| | | | 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-1512-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>
* 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>
* update-06-copyright: improve messagesMichał Górny2019-04-092-10/+18
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* update-06-copyright: Support new/removed branches betterMichał Górny2019-04-093-1/+104
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* update-06-copyright: Allow for comments in S-o-bMichał Górny2019-04-092-1/+11
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>