Commit Graph

63 Commits

Author SHA1 Message Date
Patrick Uiterwijk
d5e37f7f4c Get rid of require all granted
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-10-14 20:54:15 +00:00
Patrick Uiterwijk
6fad69aca7 Allow GSSAPI for lookaside
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-10-14 20:37:57 +00:00
Patrick Uiterwijk
f1dd7a7432 Unify all ssl cipher suite configurations
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-08-31 19:28:26 +00:00
Pierre-Yves Chibon
09ce0c1155 Add missing import 2016-07-31 18:39:44 +02:00
Pierre-Yves Chibon
fef3fdb44d Use space and not a tab 2016-07-30 10:59:31 +02:00
Pierre-Yves Chibon
c710f39435 Point pagure to its proper config file 2016-07-30 10:47:19 +02:00
Pierre-Yves Chibon
de67bcbea2 Install a different genacls.pkgdb in stg vs prod now that stg has pagure 2016-07-30 10:43:16 +02:00
Mohan Boddu
3c612006b9 Setup for Rawhide being 26
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2016-07-26 14:01:57 +00:00
Ralph Bean
c86eaf4388 Do the rpms-checks virtual distgit namespace in prod. 2016-04-08 13:18:29 +00:00
Ralph Bean
978de21bab Create an artificial rpms-checks/ dist-git namespace (in staging). 2016-04-07 20:00:05 +00:00
Dennis Gilmore
f329b6f6d9 chnages neede for mass branching
Signed-off-by: Dennis Gilmore <ausil@fedoraproject.org>
2016-02-23 23:11:17 +00:00
Ralph Bean
19b7d1c701 Flip pkgs/dist-git over to use the gitolite Alias feature. 2016-01-04 16:29:40 +00:00
Ralph Bean
39226522ce Use the correct copy of gitolite.conf. 2015-12-22 18:27:17 +00:00
Ralph Bean
cc985b5531 Fix one conditional. 2015-12-22 18:14:51 +00:00
Ralph Bean
b581e4a6f9 Use the gitolite Alias feature in staging. 2015-12-22 17:37:06 +00:00
Ralph Bean
a9f1d0ca6f Don't do the magic dist-git map in staging. Work towards phasing it out. 2015-12-22 17:19:42 +00:00
Ralph Bean
a57d418bfb Make gitolite.rc a template. 2015-12-22 16:49:28 +00:00
Ralph Bean
1392043bbd Switch the order of our two big pkgdb calls to resolve a race condition. 2015-12-18 16:22:10 +00:00
Pierre-Yves Chibon
d29eec75ab Only symlink if there isn't already one 2015-12-18 17:13:58 +01:00
Ralph Bean
76cc69c4a9 Map one way, or the other. 2015-12-18 16:01:47 +00:00
Ralph Bean
b8b5536e05 Exit if genacls.sh encounters an error. 2015-12-18 15:22:36 +00:00
Ralph Bean
45724ecd35 Do it live. 2015-12-18 14:30:43 +00:00
Ralph Bean
0a5ca36a62 Modify gl-conf in staging for dist-git acls. 2015-12-17 21:57:13 +00:00
Ralph Bean
2bca286974 Make genacls.sh a template. 2015-12-17 21:54:17 +00:00
Ralph Bean
0e2ee11f58 Conditionalize that so I can debug in stg. 2015-12-17 17:32:13 +00:00
Pierre-Yves Chibon
6750a233fd Turn off namespacing in gitolite for the moment 2015-12-17 18:21:25 +01:00
Pierre-Yves Chibon
d0639e74d2 Needs some space otherwise endup in the same line 2015-12-17 17:46:54 +01:00
Pierre-Yves Chibon
8a58b9049a Style 2015-12-17 17:45:31 +01:00
Pierre-Yves Chibon
1dff3ce655 Fix symlinking the new repo to the old location 2015-12-17 17:44:57 +01:00
Ralph Bean
26141bb5e0 Fix GIT_FOLDER for prod. 2015-12-17 16:37:09 +00:00
Pierre-Yves Chibon
f7fa7a6822 Upon new package git creation, create symlink to old location 2015-12-15 17:20:54 +01:00
Pierre-Yves Chibon
705d5df833 Invoke mkbranch and setup_git_package with ns/pkgname as package name 2015-12-11 13:43:52 +01:00
Pierre-Yves Chibon
382d837d7a Update pkgdb_sync_git_branches to the new pkgdb API while remaining backward compatible
This commit also adds a TEST_ONLY global boolean useful if you want to
test the script without modifying anything on the filesystem.
2015-12-11 13:35:19 +01:00
Pierre-Yves Chibon
d4307d396e Fix indentation in genacls.pkgdb 2015-12-11 12:30:49 +01:00
Pierre-Yves Chibon
32f824900c Port genacls.pkgdb to the new pkgdb API while being backward compatible with the old one 2015-12-11 12:17:35 +01:00
Pierre-Yves Chibon
c8d7b8485b Store the key in a variable 2015-11-20 17:29:32 +01:00
Dennis Gilmore
5c0a086356 changes for branching
Signed-off-by: Dennis Gilmore <ausil@fedoraproject.org>
2015-07-15 06:35:24 +00:00
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