Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos-caddy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Guillaume Hervier
slapos-caddy
Commits
336f33ec
Commit
336f33ec
authored
Jul 05, 2011
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Project migrated to git.
parent
9ca6296f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
29 deletions
+4
-29
software/sanef/instance.cfg
software/sanef/instance.cfg
+1
-1
software/sanef/software.cfg
software/sanef/software.cfg
+3
-28
No files found.
software/sanef/instance.cfg
View file @
336f33ec
...
...
@@ -72,7 +72,7 @@ link_binary_list =
bt5_repo_list =
${erp5:location}/product/ERP5/bootstrap bt5bootstrap
${erp5:location}/bt5 bt5erp5
${
bt5-bef:location}
bt5bef
${
sanef.repository:location}/bt5
bt5bef
# XXX: products won't be needed as soon as all ERP5 (and products-deps)
# products will be eggified so then it will be possible to use them thanks to
...
...
software/sanef/software.cfg
View file @
336f33ec
...
...
@@ -12,9 +12,7 @@ extends =
parts +=
sanef.repository
mysql-tritonn-5.0
products-bef
products-upgrade
bt5-bef
bt5-repository
checkrecipe
checkz2loganalyser
...
...
@@ -76,36 +74,13 @@ command =
<= erp5
repository = https://saneftestbot:kucahS5oav6jahch@git.erp5.org/repos/sanef.git
[bef-svn-template]
# Recipe infrae.subversion is using svn command under the hood, but there is
# no way to pass --trust-server-cert --non-interactive, so in 2.12 falvour
# it is better to evaluate usage of provided subversion command
recipe = plone.recipe.command
svn_param =--trust-server-cert --no-auth-cache --non-interactive --quiet --username saneftestbot --password kucahS5oav6jahch -r 5114
svn = ${subversion:location}/bin/svn
location = ${buildout:parts-directory}/${:_buildout_section_name_}
stop-on-error = true
update-command = ${:command}
[bt5-repository]
recipe = plone.recipe.command
stop-on-error = true
command =
${buildout:executable} ${erp5:location}/product/ERP5/bin/genbt5list ${erp5:location}/product/ERP5/bootstrap ${erp5:location}/bt5 ${
bt5-bef:location}
${buildout:executable} ${erp5:location}/product/ERP5/bin/genbt5list ${erp5:location}/product/ERP5/bootstrap ${erp5:location}/bt5 ${
sanef.repository:location}/bt5
update-command = ${:command}
[bt5-bef]
<= bef-svn-template
command =
${:svn} checkout ${:svn_param} https://svn.erp5.org/repos/sanef/trunk/bt5 ${:location} || exit 1
[products-bef]
<= bef-svn-template
product_list = SANEF
command =
for product in SANEF ; do ${:svn} checkout ${:svn_param} https://svn.erp5.org/repos/sanef/trunk/products/$product ${:location}/$product || exit 1 ; done
[products-upgrade]
# Recipe infrae.subversion is using svn command under the hood, but there is
# no way to pass --trust-server-cert --non-interactive, so in 2.12 falvour
...
...
@@ -127,14 +102,14 @@ update-command = ${:command}
command =
mkdir -p ${:location}/Products &&
for product in ${erp5:location}/product/* ; do ln -fs $product ${:location}/Products ; done &&
ln -fs ${products-bef:location}/SANEF ${:location}/Products
&&
for product in ${sanef.repository}/product/* ; do ln -fs $product ${:location}/Products ; done
&&
echo "__import__('pkg_resources').declare_namespace(__name__)" > "${:location}/Products/__init__.py"
[products]
# XXX: Lack of eggification workaround
# list of products, possible to extend, it is passed in reversed way
# to allow overriding during extending profile
list = ${products-deps:location} ${products-upgrade:location}
${products-bef:location}
list = ${products-deps:location} ${products-upgrade:location}
[bef_erp5-recipe]
recipe = plone.recipe.command
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment