diff options
author | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2012-09-25 13:46:02 +0000 |
---|---|---|
committer | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2012-09-25 15:07:57 +0100 |
commit | ebed9ace77eed4b8e40675cff40a96f61ae291e2 (patch) | |
tree | f98202409666c39f3bea7cb5e1aca55c05002a7b /scripts | |
parent | ecdd22d0aa03ddb2bdac3fcba506d70d6ab45c4b (diff) | |
download | morph-ebed9ace77eed4b8e40675cff40a96f61ae291e2.tar.gz |
Use tarballs instead of bundles
This makes a non-backward-compatible change to morph which switches it to using
tarballs instead of bundles when initialising cached git repositories. This is
faster because it doesn't require index-pack --fix-thin operations on the
machine running morph.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/clean-git-cache | 2 | ||||
-rwxr-xr-x | scripts/test-morph | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/scripts/clean-git-cache b/scripts/clean-git-cache index c52e40d8..aeec124c 100755 --- a/scripts/clean-git-cache +++ b/scripts/clean-git-cache @@ -101,7 +101,7 @@ def quote_url(url): ''' Convert URIs to strings that only contain digits, letters, % and _. NOTE: When changing the code of this function, make sure to also apply - the same to the quote_url() function of lorry. Otherwise the git bundles + the same to the quote_url() function of lorry. Otherwise the git tarballs generated by lorry may no longer be found by morph. ''' diff --git a/scripts/test-morph b/scripts/test-morph index 42e086d0..2b7fb57d 100755 --- a/scripts/test-morph +++ b/scripts/test-morph @@ -28,5 +28,6 @@ set -eu export PATH="$SRCDIR:$PATH" "$SRCDIR/scripts/cmd-filter" "$SRCDIR/morph" --no-default-config \ + --tarball-server= --cache-server= \ --config="$DATADIR/morph.conf" "$@" |