summaryrefslogtreecommitdiff
path: root/morphlib/app.py
diff options
context:
space:
mode:
authorDaniel Silverstone <daniel.silverstone@codethink.co.uk>2012-09-25 13:46:02 +0000
committerDaniel Silverstone <daniel.silverstone@codethink.co.uk>2012-09-25 15:07:57 +0100
commitebed9ace77eed4b8e40675cff40a96f61ae291e2 (patch)
treef98202409666c39f3bea7cb5e1aca55c05002a7b /morphlib/app.py
parentecdd22d0aa03ddb2bdac3fcba506d70d6ab45c4b (diff)
downloadmorph-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 'morphlib/app.py')
-rwxr-xr-xmorphlib/app.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/morphlib/app.py b/morphlib/app.py
index 30efb215..accbb9e4 100755
--- a/morphlib/app.py
+++ b/morphlib/app.py
@@ -81,10 +81,10 @@ class Morph(cliapp.Application):
'contain a %s where the shortname gets '
'replaced',
default=defaults['repo-alias'])
- self.settings.string(['bundle-server'],
- 'base URL to download bundles. '
+ self.settings.string(['tarball-server'],
+ 'base URL to download tarballs. '
'If not provided, defaults to '
- 'http://TROVEHOST/bundles/',
+ 'http://TROVEHOST/tarballs/',
metavar='URL',
default=None)
self.settings.string(['cache-server'],
@@ -192,8 +192,8 @@ class Morph(cliapp.Application):
if self.settings['cache-server'] is None:
self.settings['cache-server'] = 'http://%s:8080/' % (
self.settings['trove-host'])
- if self.settings['bundle-server'] is None:
- self.settings['bundle-server'] = 'http://%s/bundles/' % (
+ if self.settings['tarball-server'] is None:
+ self.settings['tarball-server'] = 'http://%s/tarballs/' % (
self.settings['trove-host'])
if 'MORPH_DUMP_PROCESSED_CONFIG' in os.environ:
self.settings.dump_config(sys.stdout)