clime
cc29d3ed65
pkgs-stg: employ the dist-git package setup_git_package and mkbranch scripts
2017-05-22 09:25:39 +02:00
Mohan Boddu
81e0d3a84b
Undo the changes for pkgdb syncing git branches
...
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-03-01 01:51:03 +00:00
Mohan Boddu
b3a8bcf78e
Use mkbranch_branching for branching
...
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-02-28 19:07:12 +00:00
Ralph Bean
302c85e501
Add test-docker/ in addition to test-modules/, etc..
2016-12-02 21:30:48 +00:00
Ralph Bean
e9109af2f6
Only perform the copy if the original namespace is present.
2016-12-01 17:25:02 +00:00
Ralph Bean
8d4456dc1c
Rename rpms-checks to test-rpms, and create test-modules.
2016-12-01 14:57:34 +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
Pierre-Yves Chibon
d29eec75ab
Only symlink if there isn't already one
2015-12-18 17:13:58 +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
c8d7b8485b
Store the key in a variable
2015-11-20 17:29:32 +01: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
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
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