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
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
68bd03c34f
Tag upthe git/hooks role.
2015-02-20 04:14: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
Patrick Uiterwijk
d8a24160ae
Restart is not needed
2015-02-19 17:18:39 +00:00
Patrick Uiterwijk
f114983994
A template is a template...
2015-02-19 17:16:00 +00:00
Patrick Uiterwijk
5810a54f27
Make rhel7 use git daemon, and rhel7 use xinet
2015-02-19 17:12:34 +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
Ralph Bean
beb5348251
These misnamed files must be a mistake.
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
a28756babd
git/check-perms: Adapt the script to the Gitolite3 VREF stuff
2015-01-23 11:57:09 +01: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
Pierre-Yves Chibon
b1725c6878
Second fix for the gitolite3 update hook
2015-01-21 11:02:47 +01:00
Pierre-Yves Chibon
163c5a34bf
Try a trailing / as indication to create the directory
2014-12-16 14:17:48 +01:00
3681259c21
git/checks: Check for the update hooks
...
We are now setting up distgit (and possibily other things like
Fedora Hosted) to use a more elaborate system of update hooks.
This updates the checking script so it is capable of ensuring this set
up.
2014-10-27 10:48:12 +01:00
16ffb744be
Rearrange some tasks
...
We have a gitolite/check_fedmsg_hooks role, which installs a script and
schedules it.
Turns out, this script does more than just checking the fedmsg hooks,
depending on the command-line arguments used when running it.
As such, it makes sense to separate it out into its own role, and make
the gitolite/check_fedmsg_hooks role (and any other one using the
script) depend on it.
For example, this script is used for Fedora Hosted (still in Puppet),
and will soon be used for a new distgit hook check.
2014-10-27 10:48:12 +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
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
Kevin Fenzi
ac64562564
Fix another task with 2 items in it.
2014-08-26 19:02:03 +00:00
9dd33b21dd
Add a new git/make_checkout_seed role
...
This will be needed to migrate Dist Git from puppet to ansible.
2014-08-26 18:28:27 +00:00
3cbdbf5a76
Add a new git/server role
...
This will be needed to migrate Dist Git from puppet to ansible.
2014-08-26 18:28:25 +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