Dan Horák
333a155ba9
post-receive-alternativearch - catch removals too
...
Currently the patterns can catch ExcludeArch & co additions and changes
in the spec file, but not a clean removal.
2017-07-25 10:57:44 +02:00
Pierre-Yves Chibon
dff13eade9
And one more typo to fix...
2017-05-02 13:38:40 +02:00
Pierre-Yves Chibon
70b6f99698
Missing .delta.
2017-05-02 13:37:18 +02:00
Pierre-Yves Chibon
45375683fa
Port the fedmsg git hooks to newer pygit2
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2017-05-02 13:31:13 +02:00
Pierre-Yves Chibon
82fb1996dd
Move to src.fp.o which is https
2017-04-18 14:29:30 +02:00
Pierre-Yves Chibon
4b45f4620c
Make the email sent a little prettier
2017-04-18 14:24:39 +02:00
Pierre-Yves Chibon
dc5394c189
Looks like all we need is a new line
2017-04-18 14:22:38 +02:00
Pierre-Yves Chibon
678e30e837
When sending alternative arch excluding emails, include the full change
...
Fixes https://pagure.io/fedora-infrastructure/issue/5923
2017-04-18 14:09:28 +02:00
Pierre-Yves Chibon
737f6c5b38
Escape the %ifarch and %ifnarch otherwise python is unhappy
2017-01-16 22:14:45 +01:00
Pierre-Yves Chibon
29a58c2460
Improve the subject of the email sent upon commit
2017-01-16 10:29:15 +01:00
Pierre-Yves Chibon
083901a312
Fix detecting %ifarch/%ifnarch upon commit and improve the email content
2017-01-16 10:24:30 +01:00
Pierre-Yves Chibon
7f0f327c3d
Fix the ExcludeArch pattern and add two more
2017-01-13 11:58:05 +01:00
Pierre-Yves Chibon
a6fdbaeff6
Send all the notifications about package excluding some arch to the arch-excludes list
2017-01-10 16:33:15 +01:00
Pierre-Yves Chibon
fbeb42e3ca
Layout fix
2016-11-01 11:14:47 +01:00
Pierre-Yves Chibon
d531c54bec
Properly format the diffs sent
2016-11-01 11:03:56 +01:00
Pierre-Yves Chibon
7d3112e440
Correctly store the diffs
2016-11-01 10:58:44 +01:00
Pierre-Yves Chibon
54b2e3303a
Include the lines changed/edited in the email sent
2016-11-01 10:58:44 +01:00
Pierre-Yves Chibon
8fa913c9c3
Let's look like the fedmsg hook do
2016-11-01 10:51:33 +01:00
Pierre-Yves Chibon
18002fb6c8
Turn off debugging for now
2016-11-01 10:38:43 +01:00
Pierre-Yves Chibon
7029868c06
Looks like we're having duplicated .git in there
2016-11-01 10:33:58 +01:00
Pierre-Yves Chibon
b007fb8249
For now send all the notifs to me
2016-11-01 10:27:34 +01:00
Pierre-Yves Chibon
e878f0bbfd
To chain hook looks like we need a trailing \
2016-11-01 10:26:20 +01: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
16439c95af
Use the new terminology secondary arch -> alternative arch
2016-10-28 10:59:16 +02:00
Pierre-Yves Chibon
e91c9d9472
Let the alternative arch notification hook ignore epel and private branches
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
0e13d8d48d
Add namespace to dist-git fedmsg messages ( #5245 )
...
For https://fedorahosted.org/fedora-infrastructure/ticket/5245
2016-08-01 15:46:23 +00:00
Ralph Bean
d4b4cf6014
(fedmsg) Publish git commits in chronological order.
...
We currently publish them newest to oldest which can be really confusing if you
receive them over email. @remicollet pointed this out in ``#fedora-devel``
last week.
See https://github.com/fedora-infra/fedmsg/pull/328
2015-03-29 13:55:07 +00:00
Ralph Bean
186375e8b2
Obviously, this should come first.
2015-03-25 17:36:26 +00:00
Ralph Bean
e4e432ff51
Remove the email-sending git hook.
2015-03-24 14:40:57 +00:00
Ralph Bean
0f660ef5c4
Update our git hook.
...
With the changes from here:
https://github.com/fedora-infra/fedmsg/pull/327
2015-03-20 14:23:58 +00:00
Ralph Bean
6f3ac61b96
No more inifinite loops, please.
...
See https://github.com/fedora-infra/fedmsg/pull/326
2015-03-12 23:15:56 +00:00
Ralph Bean
c72f37a112
Avoid recursively expanding the entire git history.
2015-02-23 17:00:04 +00:00
Ralph Bean
eb2fbbf303
Update dist-git fedmsg hook after discussion and review.
...
See https://github.com/fedora-infra/fedmsg/pull/322
2015-02-23 15:58:02 +00:00
Ralph Bean
638a0c41a1
Avoid infinite recursion in the dist-git fedmsg hook.
2015-02-22 18:08:27 +00:00
Ralph Bean
e800d7c035
Tell fedmsg on dist-git to just ignore pygit2 Tag objects.
2015-02-20 04:12:47 +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
Ralph Bean
beb5348251
These misnamed files must be a mistake.
2015-01-29 16:52:02 +00:00
Mathieu Bridon
ec1d144ab0
git/hooks: Improve an error message
2015-01-23 11:25:27 +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
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
Kevin Fenzi
05bef7f507
Add another hook
2014-08-26 19:47:51 +00:00
Kevin Fenzi
a6e6d2d16c
Add missing hook file.
2014-08-26 19:43:57 +00: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