Commit 49a7f256 authored by Rafael Monnerat's avatar Rafael Monnerat

erp5: Allow other software release provide custom default bt5 to install

parent aed29e59
......@@ -188,6 +188,7 @@ context =
key with_max_rlimit_nofile_enable_default erp5-defaults:with-max-rlimit-nofile-enable-default
key kumo_location kumo:location
key local_bt5_repository local-bt5-repository:list
key default_bt5 default-bt5:list
key logrotate_location logrotate:location
key mariadb_location mariadb:location
key mariadb_resiliency_after_import_script mariadb-resiliency-after-import-script:target
......@@ -304,6 +305,13 @@ branch = master
repository = https://lab.nexedi.com/nexedi/erp5-doc.git
branch = master
[default-bt5]
list =
erp5_full_text_mroonga_catalog
erp5_configurator_standard
erp5_configurator_maxma_demo
erp5_configurator_run_my_doc
[bt5-repository]
# Format:
# <url or path> [...]
......
......@@ -70,11 +70,11 @@ md5sum = b95084ae9eed95a68eada45e28ef0c04
[template]
filename = instance.cfg.in
md5sum = 55463b0abdbe0118ef1c27e6b71c3324
md5sum = ca0cb83950dd9079cc289891cce08e76
[template-erp5]
filename = instance-erp5.cfg.in
md5sum = ae9c380ae04dde4f20e139c66ef7c22a
md5sum = 07012cab8738836bb315f61bcc09c0c3
[template-zeo]
filename = instance-zeo.cfg.in
......
......@@ -224,12 +224,7 @@ return =
{%- if test_runner_enabled %}
test-runner-address-list
{% endif %}
{% set bt5_default_list = [
'erp5_full_text_mroonga_catalog',
'erp5_configurator_standard',
'erp5_configurator_maxma_demo',
'erp5_configurator_run_my_doc',
] -%}
{% set bt5_default_list = default_bt5.split() -%}
{% if has_jupyter -%}
{% do bt5_default_list.append('erp5_data_notebook') -%}
{% endif -%}
......
......@@ -45,6 +45,7 @@ jupyter-enable-default = {{ jupyter_enable_default }}
wcfs-enable-default = {{ wcfs_enable_default }}
with-max-rlimit-nofile-enable-default = {{ with_max_rlimit_nofile_enable_default }}
local-bt5-repository = {{ ' '.join(local_bt5_repository.split()) }}
default-bt5 = {{ ' '.join(default_bt5.split()) }}
[context]
root-common = {{ root_common }}
......@@ -61,6 +62,7 @@ extra-context =
key wcfs_enable_default dynamic-template-erp5-parameters:wcfs-enable-default
key with_max_rlimit_nofile_enable_default dynamic-template-erp5-parameters:with-max-rlimit-nofile-enable-default
key local_bt5_repository dynamic-template-erp5-parameters:local-bt5-repository
key default_bt5 dynamic-template-erp5-parameters:default-bt5
key openssl_location :openssl-location
import re re
import urllib_parse six.moves.urllib.parse
......
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