| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I558986188396981c1caf2adf19860c9fbed2f46f
|
|
|
|
|
|
|
| |
We don't want the sha to depend on where the lorry was imported from
or the time at which the lorry occurred, or the user's environment.
Change-Id: Iccc54f358a1a6133438984e769485b702ebb1a2e
|
|
|
|
|
|
| |
Also update copyright
Change-Id: Iff42a32048482520cee695bc1262990f5989ce63
|
|
|
|
| |
Change-Id: I29368ddcc64c82bafcbb834c81db30018a144f64
|
|
|
|
|
|
|
| |
Add zip archive frontend for git-fast-import from
https://raw.githubusercontent.com/git/git/master/contrib/fast-import/import-zips.py
Change-Id: I7cbd63bda5a1c36df68bef6448acbc55d95672b4
|
|
|
|
| |
Change-Id: I78eceb3100c8d1c84cf8f2aa929749cd4e33bd68
|
|
|
|
|
|
|
|
| |
Add a fake mirror-base-url-fetch for running make-tarball test.
This was broken because if mirror-base-url-fetch is empty
lorry avoids to create the bundle and the tar file.
Change-Id: I606226fb26739a366641b8f3ac9c9969860abcb0
|
|\
| |
| |
| | |
Reviewed-By: Sam Thursfield <sam.thursfield@codethink.co.uk>
|
|/ |
|
|\
| |
| |
| |
| | |
Reviewed-By: Pedro Alvarez <pedro.alvarez@codethink.co.uk>
Reviewed-By: Javier Jardón <javier.jardon@codethink.co.uk>
|
| |
| |
| |
| |
| | |
The 'compression' and 'strip' fields seem to have been obsolete since
commit a7f8b1b63a97c66aea6f39342313d7a5b919cfa7 in 2012.
|
|\ \
| |/
|/|
| |
| | |
Reviewed-By: Pedro Alvarez <pedro.alvarez@codethink.co.uk>
Reviewed-By: Adam Coldrick <adam.coldrick@codethink.co.uk>
|
| |
| |
| |
| |
| |
| |
| |
| | |
It doesn't make sense to have Lorry push to a random default mirror
server: users running Lorry without setting up any configuration are
likely to be testers/developers that don't want it to randomly push
stuff to places. It especially doesn't make sense to refer to the
Codethink 'roadtrain' server which was decommissioned several years ago.
|
|\ \
| |/
|/|
| |
| | |
Reviewed-By: Adam Coldrick <adam.coldrick@codethink.co.uk>
Reviewed-By: Francisco Redondo Marchena <francisco.marchena@codethink.co.uk>
|
| |
| |
| |
| |
| |
| | |
This is a safety measure. Commit
8bddb0996c44ce8ce989359a7b4c9ff102466ef2 should mean that this can't
happen, but 'lorry' runs unattended so we really don't want it to break.
|
|/
|
|
|
|
| |
Previously if a tarball lorry failed, a 0-byte tar file would be kept
around and subsequent calls to lorry would return success without
actually importing anything.
|
|\
| |
| |
| |
| | |
Reviewed-by: Richard Maw
Reviewed-by: Daniel Silverstone
|
| |
| |
| |
| |
| |
| | |
Similar to the url config change, if we need to change the refspecs
for which branches to pull, then we need to apply them at every run,
rather than just the first run.
|
| | |
|
|/ |
|
|\
| |
| |
| |
| |
| |
| |
| | |
Daniel and Richard reviewed the original set of changes, and Richard my
further changes based on review feedback.
Reviewed-by: Daniel Silverstone
Reviewed-by: Richard Maw
|
| | |
|
| | |
|
| | |
|
|/ |
|
| |
|
|\
| |
| |
| |
| | |
Reviewed by:
Daniel Silverstone
|
| | |
|
| | |
|
| | |
|
| | |
|
|/
|
|
|
|
|
| |
This test didn't have the correct expected output.
This commit corrects the expected output and amends
the test so that it fails if there are no pack files
in the test backup repo.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This bit someone, who was having difficulty with a CVS import, without
knowing there was a git repository on savannah.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Scenario: a repository contains a ref: refs/heads/foo and we
have that in our repository cache.
Action: upstream deletes that ref and then pushes a new refs
at refs/heads/foo/bar.
Action: we attempt to update the git and the update fails because
git remote update cannot cope with the 'kind' change of
refs/heads/foo from ref to directory.
Remedy: If we get an exception from the remote update --prune we
try the less efficient but more resilient combination of
first pruning and then updating.
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
git://git.baserock.org/baserock/lorry
Includes a fixup of quoting uses of $SRCDIR, so it may include
paths with spaces.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Git has a garbage collection 'porcelain' command called 'gc' which does more
than just repack the repository. Use that in preference to 'git repack' and
also configure the repositories so that they don't use too much RAM whilst
repacking.
Also, we allow gitify_* routines to set self.needs_aggressive on their initial
imports so that we aggressively repack the first clone.
|
| |
| |
| |
| |
| |
| |
| |
| | |
This patch makes Lorry always create bare repositories where it can (Note that
it cannot for CVS imports) and to create tarballs of bare repositories (if not
disabled) which will be more efficient than bundles for creation and cloning.
We may be able to disable bundles later.
|
|/
|
|
|
| |
This script can be used to better import tarballs directly via git-fast-import
and friends. This means we can have bare repositories for tarballs.
|
| |
|
|\ |
|
| |\
| | |
| | |
| | | |
Reviewed-By: Daniel Silverstone on irc
|
| | | |
|
| | | |
|