Kevin Fenzi
f9849b7316
git/hooks: everything using this role should be python3 now.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-05-05 16:28:06 -07:00
Kevin Fenzi
460b28e0c5
git/hooks: Only install the batcave certs on batcave, not pkgs
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-09 11:32:02 -07:00
Pierre-Yves Chibon
891dcaac2b
distgit: give access to the fedora-messaging certs to the packager group
...
This solves the permission denied error packager would see otherwise
when pushing to dist-git as the hooks would fail to send notifications
on the fedora-messaging bus.
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-10 10:06:13 +02:00
Pierre-Yves Chibon
e0ed6697f4
distgit: make the iad2 host closer to the current staging and different from phx2
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-25 23:10:15 +02:00
Pierre-Yves Chibon
cef92fff61
git/hooks: looks like moreutils fails to install on rhel8 atm
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-20 11:22:01 +02:00
Pierre-Yves Chibon
dd6c85b1e2
Adjust the list of packages to install for RHEL8/python3
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-20 11:21:14 +02:00
Pierre-Yves Chibon
633866fdff
git/hooks: install the fedora-messaging certs and config file
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-20 11:20:57 +02:00
Pierre-Yves Chibon
7ee8003ba9
git/hooks: port from fedmsg to fedora-messaging
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-20 11:13:37 +02:00
Aurélien Bompard
d98a7392a5
git/hooks: update package command to not use items
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2019-06-11 17:56:22 +02:00
Pierre-Yves Chibon
a09604d9b2
Add a custom post-receive-chained hook for forks
...
This hook doesn't send fedmsg messages on the git.receive topic
and does not notify the alternative arch folks about changes
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-04-17 12:14:07 +02:00
Patrick Uiterwijk
936e8b261a
yum accepted pkg=, package calls it name=
...
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2017-10-09 00:38:26 +02:00
Patrick Uiterwijk
adcbf72f03
Packageize this, packageize that, packageize the world
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-10-08 22:25:52 +00:00
Pierre-Yves Chibon
4e153f8912
Rename the hook post-receive-secondaryarch into post-receive-alternativearch
2016-10-28 10:59:16 +02:00
Pierre-Yves Chibon
8f04f6fa73
Add and install the secondary arch git hook
...
This hook is meant to notify secondary arch people about changes made to
packages that involves: ExclusiveArch or ExcludesArch.
2016-10-28 10:59:16 +02:00
Ralph Bean
68bd03c34f
Tag upthe git/hooks role.
2015-02-20 04:14:27 +00:00
Ralph Bean
5434fc3a7c
Typofix.
2015-01-29 16:54:57 +00:00
Ralph Bean
9e6b062936
Port to the new pygit2 fedmsg git hook.
...
See https://github.com/fedora-infra/fedmsg/pull/310
2015-01-29 16:52:02 +00:00
Mathieu Bridon
9429aa5f24
git/hooks: The fedmsg post-receive hook needs GitPython
2015-01-27 17:35:08 +01:00
Mathieu Bridon
3ed1da51ca
distgit: Remove the update-chained stuff
...
This doesn't work with Gitolite.
2015-01-23 11:23:28 +01:00
Pierre-Yves Chibon
163c5a34bf
Try a trailing / as indication to create the directory
2014-12-16 14:17:48 +01:00
7ab3ff2817
distgit: Block push of branches named 'origin/*'
...
We already use the update hook for gitolite.
This introduces a new update hook, which merely chains the gitolite one,
and a new one to block pushes to badly named branches.
The new hook was written originally by Till Maas.
https://fedorahosted.org/rel-eng/ticket/4071
2014-10-27 10:48:12 +01:00
183a2ab707
git/hooks: Express the role dependency properly
...
This had been found by misc during his review of the patches, but the
unfixed patch is what got merged.
https://fedorahosted.org/fedora-infrastructure/ticket/4452
2014-09-24 12:26:07 +02:00
93ec92f9be
git/hooks: Add missing package dependency
...
This had been found by misc during his review of the patches, but the
unfixed patch is what got merged.
https://fedorahosted.org/fedora-infrastructure/ticket/4452
2014-09-24 12:26:07 +02:00
fed72f7ba1
Add a new git/hooks role
...
This will be needed to migrate Dist Git from puppet to ansible.
2014-08-26 18:28:25 +00:00