Commit Graph

26 Commits

Author SHA1 Message Date
Ralph Bean
f86bafdf03 (fedmenu) extract the package name from the url. 2015-04-24 17:45:47 +00:00
Ralph Bean
b1d54a9d96 Add forgotten slash. 2015-04-24 17:34:47 +00:00
Ralph Bean
498ca4f3e9 Try the fedmenu header for stg cgit. 2015-04-24 17:28:25 +00:00
Ralph Bean
fbccedc4e6 Try adding a custom cgit header for staging. 2015-04-24 17:17:53 +00:00
Kevin Fenzi
ae9eaa4966 Try and fix git branches sync to work with git packed refs. 2015-03-06 21:48:13 +00:00
Patrick Uiterwijk
6bb938abfe Make pkgdb_sync more resilient by always calling SETUP_PACKAGE if master does not exist
This should make it recover in case there are any repos in a weird state (aka, no master branch).
This could for example happen if the package was created in pkgdb after pkgdb_sync ran, but before
genacls.pkgdb runs, because then gitolite will see it as a new repo, and create a totally blank repo.
Especially since pkgdb_sync will abort after the first error, it would then leave all later created
repos broken as well.

Calling setup_git_package in a repo without master branch has no ill effect:
- Running git init on a pre-initialized repo is a no-op (or at least doesn't destroy current git data)
- Since it doesn't have master, it didn't run the script, so adding the first commit and hooks etc are
  what we want the script to do

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2015-02-27 23:26:49 +00:00
Patrick Uiterwijk
12e10d8279 Only remove master from request if it was requested
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2015-02-25 13:42:49 +00:00
Patrick Uiterwijk
2c7598455b Publish master creation 2015-02-24 09:48:16 +00:00
Patrick Uiterwijk
1365500c17 Creating branches is now started by genacls.sh.
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2015-02-24 09:40:25 +00:00
Patrick Uiterwijk
0243923759 setup_git_repo creates master 2015-02-19 16:20:25 +00:00
Patrick Uiterwijk
586efb310d Remove source_branch stuff, and refuse to create master branch to pre-existing repo 2015-02-19 15:10:41 +00:00
Pierre-Yves Chibon
1adc8fae3e Formatting and add the f22 branch 2015-02-19 13:54:05 +01:00
Pierre-Yves Chibon
52ff90ba9c Drop the fas.conf specific to distgit 2015-01-23 17:59:36 +01:00
Pierre-Yves Chibon
79eb0db7c0 Let distgit install its own fas.conf after the first run of fas_client 2015-01-23 15:06:47 +01:00
Pierre-Yves Chibon
bfa2f9bb43 Use the stg pkgdb when retrieving the groups 2015-01-23 10:08:57 +01:00
Pierre-Yves Chibon
2f3cd0f177 Oupsy forgot the template 2015-01-22 17:01:14 +01:00
Pierre-Yves Chibon
797c5434a3 Adjust genacls.pkgdb to mention running our hook 2015-01-22 15:40:15 +01:00
Mathieu Bridon
d46dc1095c Setup for F21 branching
This change had been made by Dennis Gilmore in puppet (commit 8dc43c),
I'm just porting it here to Ansible so we don't miss it.
2014-09-24 12:26:07 +02:00
Mathieu Bridon
5dd40fdfbf Add support for packaging groups
This had already been done by Pierre-Yves Chibon in puppet (commits
4cc2ef and 47f29f), I'm just porting it here in Ansible so we don't miss
it.
2014-09-24 12:26:07 +02:00
Pierre-Yves Chibon
13465f6a0d Try fixing indentation 2014-09-10 12:08:45 +02:00
Pierre-Yves Chibon
0d2ca2d93d Print the error message if there is one 2014-09-09 12:02:44 +02:00
Pierre-Yves Chibon
b9dbd0b681 Accesss stdout in VERBOSE we do not need it otherwise 2014-09-09 12:02:44 +02:00
Pierre-Yves Chibon
3341c84d01 Let genacls.pkgdb use the pkgdb.stg instance in stg 2014-09-09 10:56:41 +02:00
Pierre-Yves Chibon
0d41c13df1 Move the genacls.pkgdb script to the template directory 2014-09-09 10:55:12 +02:00
Pierre-Yves Chibon
d4dca172ab Use pkgdb.stg in stg 2014-08-28 18:21:42 +02:00
Pierre-Yves Chibon
64f77e40bd Move the pkgdb_sync_git_branches.py from a file to a template 2014-08-28 18:17:58 +02:00