Commit dbde55f5 authored by Łukasz Nowak's avatar Łukasz Nowak

Expose bt5 repository.

parent 7563c00f
...@@ -61,10 +61,8 @@ class Recipe(GenericBaseRecipe): ...@@ -61,10 +61,8 @@ class Recipe(GenericBaseRecipe):
# release[ version]. # release[ version].
# Note: this path cannot be used for development, it's really just a # Note: this path cannot be used for development, it's really just a
# read-only repository. # read-only repository.
repository_path = os.path.join(self.var_directory, "bt5_repository") repository_path = self.options['bt5-repository']
if not os.path.isdir(repository_path):
os.mkdir(repository_path)
path_list.append(repository_path)
self.bt5_repository_list = [] self.bt5_repository_list = []
append = self.bt5_repository_list.append append = self.bt5_repository_list.append
for repository in self.options.get('bt5_repository_list', '').split(): for repository in self.options.get('bt5_repository_list', '').split():
......
...@@ -35,6 +35,7 @@ wrapper = $${basedirectory:services}/zope_development ...@@ -35,6 +35,7 @@ wrapper = $${basedirectory:services}/zope_development
instance-path = $${directory:instance} instance-path = $${directory:instance}
instance-etc = $${directory:instance-etc} instance-etc = $${directory:instance-etc}
instance-products = $${directory:instance-products} instance-products = $${directory:instance-products}
bt5-repository = $${rootdirectory:var}/bt5_repository
tmp-path = $${rootdirectory:tmp} tmp-path = $${rootdirectory:tmp}
bin-path = $${rootdirectory:bin} bin-path = $${rootdirectory:bin}
site-zcml = $${:instance-etc}/site.zcml site-zcml = $${:instance-etc}/site.zcml
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment