Commit graph

6 commits

Author SHA1 Message Date
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
Patrick Uiterwijk
54097dc186 Just always take the first commit returned on the master branch
Some repos have multiple first master commits due to force-pushes.
Without this, that would crash upon branching for those packages.

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2015-02-25 13:41:18 +00:00
Patrick Uiterwijk
afa5f86ab9 Feel free to run this as root, mmkey? 2015-02-23 21:51:43 +00:00
Pierre-Yves Chibon
fd8e6033bc Drop the -s/--source branch argument in mkbranch
In the process of automating the git branch creation based on fedmsg
message we can no longer rely on passing a -s/--source branch argument
to the mkbranch script.
As decided in https://fedorahosted.org/rel-eng/ticket/5931 the branches
will be created with the first commit of the master branch.

This commit thus drops the use of -s/--source and SRC_BRANCH in favor of
creating the branch with the first commit of the master branch:
git branch --no-track $BRANCH `git rev-list --max-parents=0 master`
2015-01-13 13:23:31 +01:00
Pierre-Yves Chibon
8de1473156 Replace tab with spaces 2015-01-13 13:23:31 +01:00
30ab4bd528 Add a new distgit role
This is the meat of Dist Git, but it requires quite a few of the roles
previously created.
2014-08-26 18:28:28 +00:00