summaryrefslogtreecommitdiff
path: root/lorry
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge branch 'master' of gitorious.org:baserock/lorryAdnan Ali2012-02-201-1/+1
|\
| * Add the -a option to git cvsimport to always import all commits.Jannis Pohlmann2012-02-201-1/+1
| | | | | | | | | | | | | | | | | | | | Without this, I always got a "refs/heads/origin is an invalid SHA1" error. From the git-cvsimport manual: -a Import all commits, including recent ones. cvsimport by default skips commits that have a timestamp less than 10 minutes ago.
* | lorry missing or relative path makes it failAdnan Ali2012-02-201-0/+7
|/ | | | | | | | lorry was failing to cope with missing or relative working directory. After fix if no directory is given it will show a message that no working directory in path and will use "workd" directory. It will also create the directory if it isn't present.
* if any mirror fail exit code will be 1 or zero if every thing goes fineAdnan Ali2012-02-151-0/+4
|
* lorry should exit with non-zero value in case any mirror failAdnan Ali2012-02-151-2/+5
| | | | the exit code will be number of mirror failed
* logging the mirror exception addedAdnan Ali2012-02-151-1/+2
|
* Error:Adnan Ali2012-02-151-2/+6
| | | | | | | Lorry fails as soon one mirror encounters exception. Resolve: Exception handled when some thing goes wrong with mirror and move to the other mirror.
* lorry: bundle supportRichard Maw2012-01-251-29/+49
| | | | | | | | A bundle policy and destination can be specified in settings It will bundle up tags and branches Some changes to fetching were required, now it only fetches origin and expects that the refspec fetches into local refs. svn support has been altered to support this
* lorry: remove tagify_svn_branchesRichard Maw2012-01-241-13/+0
| | | | | | | | | | | | | The branches generated by git-svn appear to be lightweight tags These are just a reference to a commit, the script to convert these into full tags may not create the same sha1 for each tag. This shows that git-svn is not properly handling tags there is no such thing as a remote tag, so they have to be fetched into refs/tags I could change the refspecs to do this, but given this is just an intermediate stage before they are pushed to another repository it would only be visible to people poking their noses in the working area
* lorry: ensure "git push" pushes all branchesRichard Maw2012-01-241-39/+65
| | | | | | | | | | | | | | git push defaults to pushing matching branches, this will not push new branches git push --all will push all local branches, but not every repo has all the remote branches mirrored by local branches refspecs can be configured to give better control over what git push does So now when gitorious is added as a remote its refspecs can be changed it defaults to pushing branches and tags but it can be changed to give finer control git-svn uses refspecs to push the remote branches it could have been made to fetch svn refs as local refs, but that may have introduced bugs and would require altering the trunk fetch refpec when currently it is ok to add new refspecs for tags and branches
* call the remote branch svn instead of originRichard Maw2012-01-231-5/+5
| | | | | the svn-remote is called svn, have the branches in refs/remotes/svn for consistency with normal remotes
* Prefix the branches in remotesRichard Maw2012-01-231-6/+8
|
* lorry: svn add branches and tags after cloneRichard Maw2012-01-201-4/+11
| | | | | | | | | | | | Glob expressions can be used to specify branches, but git svn clone/init will append /* to them unless they have a * in them. It is possible to have globs without. netpbm has branches in its root directory, so the glob {advanced,stable,super-stable} should select only those directories as branches, but they become {a,s,ss}/*, so subdirectories of each become branches The workaround is to manually add the glob expression to config so it is cloned then branches are added, then re fetched
* lorry: git svn rebase after fetchRichard Maw2012-01-201-2/+16
| | | | | | | | | | | | | git svn fetch updates the remote tracking branch it does not alter the master branch to include the changes so git svn rebase must be used to do this It may be possible to just push the remote tracking branch to gitorious but other imports push the working branches, so this keeps it simpler without that much extra overhead as the rebase should be cheap This also adds a couple of extra options, to get command output before the program finishes, useful for long programs
* lorry: specify svn clone destinationRichard Maw2012-01-201-2/+2
| | | | So it is cloned into $project/git rather than $project/git/$url
* add better branch support to lorryRichard Maw2012-01-191-1/+11
| | | | | | | | | | | | | Adds a layout field to the lorry spec if it is omitted it is assumed that the url points to the trunk if layout is "standard" then url/trunk url/tags and url/branches point to the trunk, tags and branches if layout is a dict then the trunk, branches and tags fields are the corresponding paths Strange layouts can be handled by a wildcard * in the path So if there are branches in branches, but the Build/source is the only part wanted then "branches": "branches/*/Build/source" will only pull that
* lorry: make progress message more consistent with the restRichard Maw2012-01-181-1/+1
|
* lorry: add progress for repackingRichard Maw2012-01-181-0/+1
|
* Default repack to trueRichard Maw2012-01-181-1/+1
|
* lorry: add a repack stepRichard Maw2012-01-181-0/+6
| | | | | | adds a repack setting so if it is too expensive an operation it can be turned off run git-repack after the gitify step, maybe it should check whether it needed updating but that may not be simple
* remove --mirror from git svnRichard Maw2012-01-131-1/+1
|
* lorry bzr import: add marks filesRichard Maw2012-01-131-10/+16
| | | | | adds the marks files when converting, I don't know what they are all for This also fixes lorry importing bzr repos
* Push tags as well, --all doesn't and --mirror removes branchesRichard Maw2012-01-111-7/+10
|
* Add tarball support, it's probably not really worth itRichard Maw2012-01-051-0/+29
|
* Remove --tags, --all is mutually incompatibleRichard Maw2012-01-051-2/+2
| | | | I think --mirror is --all but also deletes and --tags is just the tags
* Use --all --tags instead of --mirror for pushing, mirror removes branches ↵Richard Maw2012-01-051-2/+2
| | | | added by other sources
* Add all branches for git, some work on bzr branchesRichard Maw2012-01-041-23/+51
|
* Add support for MercurialLars Wirzenius2011-11-021-0/+17
|
* Remove temporary fast export fileLars Wirzenius2011-11-011-0/+3
|
* Fix bzr to branch to local repo first, then fast-export from thatLars Wirzenius2011-10-311-5/+16
| | | | | It seems fast-export suffers greatly from any lag to the bzr repository, so this way we eliminate that.
* Do not read in the whole bzr fast exportLars Wirzenius2011-10-281-3/+2
| | | | That's a good way to DoS yourself.
* Rename to LorryLars Wirzenius2011-10-271-2/+2
|
* Rename to use new project nameLars Wirzenius2011-10-271-0/+146