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
97111b12aa
Add script reporting packages restricting their build arches
...
Let this script only send its report to me for now, we'll configure a
better target later
2017-01-05 10:31:37 +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
b486208ce2
Rework the fedmsg-hook check so that it actually works and give some space to the code
2016-11-01 10:19:09 +01:00
Pierre-Yves Chibon
064118d064
Add the git tag while at it
2016-11-01 09:38:58 +01:00
Pierre-Yves Chibon
e08b9de4c8
Tag the git/checks role
2016-11-01 09:28:58 +01:00
Pierre-Yves Chibon
8d17e6534b
Add the alternativearch hook to the check-perms script
2016-11-01 09:20:15 +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
Kevin Fenzi
688e980d4a
Preserve timestamps in git checkout seed. Ticket 5431
2016-08-31 21:11:36 +00:00
Kevin Fenzi
83b4a6c864
See if we can really disable this on staging (which has a ro lookaside mount from prod now)
2016-08-11 15:55:21 +00: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
549c7d655b
Tags for this role.
2016-03-21 16:16:24 +00:00
Ralph Bean
4971401cec
Promote the new make-git-checkout-seed to prod.
2016-02-22 16:35:58 +00:00
Ralph Bean
401e9b0f6d
Try this fixed version of make_checkout_seed.
2016-02-19 18:11:19 +00:00
Pierre-Yves Chibon
5b6ce80a6b
Move rpms to repositories on all scripts
2015-12-21 11:22:25 +01:00
Kevin Fenzi
29d8fdd750
Commit revised spec checkout seed modifications from ticket 4941
2015-11-20 23:28:56 +00:00
Kevin Fenzi
2d32e26082
Revert "updated as per ticket 4941" This needs more tweaking
...
This reverts commit 782e92a20a
.
2015-11-18 20:56:15 +00:00
doteast
782e92a20a
updated as per ticket 4941
2015-11-18 18:50:09 +00:00
Kevin Fenzi
2e0003bf32
Fix wrong command name in nagonce
2015-06-17 15:51:19 +00:00
Kevin Fenzi
275f4b5203
Change all instances of ansible_distribution_major_version to filter to int for comparisons.
2015-05-27 22:27:39 +00:00
Pierre-Yves Chibon
bfd3eba918
Move the user used by the git-daemon service to be a variable
2015-05-13 16:05:06 +02: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