Commit Graph

225 Commits

Author SHA1 Message Date
Miroslav Suchý
ad885c7f8a copr: give dist-git bigger /tmp
We have 40G swap so this is fine.
2016-04-20 14:56:31 +02:00
Ralph Bean
3c70c9aa82 Add modules here. 2016-04-12 15:35:58 +00:00
Ralph Bean
c86eaf4388 Do the rpms-checks virtual distgit namespace in prod. 2016-04-08 13:18:29 +00:00
Ralph Bean
05ef96a3aa Create directories. 2016-04-07 20:15:53 +00:00
Ralph Bean
978de21bab Create an artificial rpms-checks/ dist-git namespace (in staging). 2016-04-07 20:00:05 +00:00
Ralph Bean
b0ffcf5a67 selinux tags for this role. 2016-03-21 16:04:42 +00:00
Ralph Bean
3310672c58 Tell selinux to allow git-daemon to follow symlinks, please. 2016-03-21 16:03:12 +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
Pierre-Yves Chibon
5c246f5ffd Add a new mkbranch script to be used only for mass-branching 2016-02-23 16:18:20 +01:00
Ralph Bean
7ae1df78b3 A regex that doesn't rely on '.git'. 2016-01-05 21:53:35 +00:00
Ralph Bean
cc0089049f Redirect old cgit repo urls to the new namespace. 2016-01-05 21:31:14 +00:00
Ralph Bean
19b7d1c701 Flip pkgs/dist-git over to use the gitolite Alias feature. 2016-01-04 16:29:40 +00:00
Kevin Fenzi
d7978f9eec Fix duplicate entries in cgit due to namespace changes. 2016-01-02 17:25:15 +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
Pierre-Yves Chibon
5b6ce80a6b Move rpms to repositories on all scripts 2015-12-21 11:22:25 +01: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
Patrick Uiterwijk
4ec8ff4264 Publish the full list of git repos
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2015-12-18 00:50:29 +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
16fb8ba80a Invert the folder/symlink status between rpms and repositories 2015-12-17 16:38:43 +01:00
Pierre-Yves Chibon
9908aa99fe Point dist-git's cgit to the real deal 2015-12-17 16:36:15 +01: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
ec89cc5e83 Tag as distgit and config a few more tasks in the distgit role 2015-12-11 13:49:27 +01:00
Pierre-Yves Chibon
e5fa3f7374 Point to /srv/git/repositories as this is both backward and forward compatible
And adjust the documentation to mkbranch
2015-12-11 13:44:18 +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
Kevin Fenzi
87a5d3b374 Re-add run_once here. 2015-11-30 20:16:21 +00:00
Kevin Fenzi
7bc33f64f2 Might need to drop this for ansible 2.0 2015-11-21 18:12:36 +00:00
Pierre-Yves Chibon
c8d7b8485b Store the key in a variable 2015-11-20 17:29:32 +01:00
Patrick Uiterwijk
08568865fe Replace all restart httpd with reload httpd
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2015-11-04 23:40:01 +00:00
Kevin Fenzi
1caa9a2ef8 Add httpd_read_user_content selinux boolean on distgit 2015-07-21 23:44:31 +00:00
Mathieu Bridon
af02e32085 distgit: Ensure the hardlinked sources all belong to apache
Without this, client uploads and downloads aren't working any more.
2015-07-15 17:20:35 +02:00
Pierre-Yves Chibon
24d6ca29a8 Turn on git_system_enable_homedirs but don't ask why 2015-07-15 11:38:22 +02:00
Dennis Gilmore
5c0a086356 changes for branching
Signed-off-by: Dennis Gilmore <ausil@fedoraproject.org>
2015-07-15 06:35:24 +00:00