Commit 01a4d64e authored by Ayush Tiwari's avatar Ayush Tiwari

TemplateTool: No need to explicilty add BM in bt5list

parent fd77927d
......@@ -1146,184 +1146,6 @@ class TemplateTool (BaseTool):
finally:
f.close()
#XXX: Hardcoding 'erp5_core_proxy_field_legacy' BP in the list
bp_dict_1 ={
'copyright_list': ['Copyright (c) 2001-2017 Nexedi SA'],
'dependency_list': [],
'description': '',
'force_install': 0,
'id': 'erp5_core_proxy_field_legacy',
'license': 'GPL',
'revision': '',
'test_dependency_list': [],
'provision_list': [],
'title': 'erp5_core_proxy_field_legacy',
'version': '5.4.7'}
bp_dict_2 ={
'copyright_list': ['Copyright (c) 2001-2017 Nexedi SA'],
'dependency_list': ['erp5_base',],
'description': '',
'force_install': 0,
'id': 'erp5_pdm',
'license': 'GPL',
'revision': '',
'test_dependency_list': [],
'provision_list': [],
'title': 'erp5_pdm',
'version': '5.4.7'}
bp_dict_3 ={
'copyright_list': ['Copyright (c) 2001-2017 Nexedi SA'],
'dependency_list': ['erp5_ui_test',],
'description': '',
'force_install': 0,
'id': 'erp5_performance_test',
'license': 'GPL',
'revision': '',
'test_dependency_list': [],
'provision_list': [],
'title': 'erp5_performance_test',
'version': '5.4.7'}
bp_dict_4 ={
'copyright_list': ['Copyright (c) 2001-2017 Nexedi SA'],
'dependency_list': ['erp5_ui_test_core',],
'description': '',
'force_install': 0,
'id': 'erp5_ui_test',
'license': 'GPL',
'revision': '',
'test_dependency_list': [],
'provision_list': [],
'title': 'erp5_ui_test',
'version': '5.4.7'}
bp_dict_5 ={
'copyright_list': ['Copyright (c) 2001-2017 Nexedi SA'],
'dependency_list': ['erp5_core', 'erp5_xhtml_style',],
'description': '',
'force_install': 0,
'id': 'erp5_ui_test_core',
'license': 'GPL',
'revision': '',
'test_dependency_list': [],
'provision_list': [],
'title': 'erp5_ui_test_core',
'version': '5.4.7'}
bp_dict_6 ={
'copyright_list': ['Copyright (c) 2001-2017 Nexedi SA'],
'dependency_list': ['erp5_core (>= 1.0rc12)',
'erp5_full_text_catalog',
'erp5_core_proxy_field_legacy',],
'description': '',
'force_install': 0,
'id': 'erp5_base',
'license': 'GPL',
'revision': '',
'test_dependency_list': [],
'provision_list': [],
'title': 'erp5_base',
'version': '5.4.7'}
bp_dict_7 ={
'copyright_list': ['Copyright (c) 2001-2017 Nexedi SA'],
'dependency_list': [],
'description': '',
'force_install': 0,
'id': 'erp5_full_text_mroonga_catalog',
'license': 'GPL',
'revision': '',
'test_dependency_list': [],
'provision_list': ['erp5_full_text_catalog'],
'title': 'erp5_full_text_mroonga_catalog',
'version': '5.4.7'}
if repository.endswith('/bt5'):
property_dict_list.append(bp_dict_1)
property_dict_list.append(bp_dict_2)
#property_dict_list.append(bp_dict_3)
#property_dict_list.append(bp_dict_4)
#property_dict_list.append(bp_dict_5)
property_dict_list.append(bp_dict_6)
property_dict_list.append(bp_dict_7)
bm_dict_1 ={
'copyright_list': ['Copyright (c) 2001-2017 Nexedi SA'],
'dependency_list': [],
'description': '',
'force_install': 0,
'id': 'erp5_mysql_innodb_catalog',
'license': 'GPL',
'revision': '',
'test_dependency_list': [],
'provision_list': ['erp5_catalog'],
'title': 'erp5_mysql_innodb_catalog',
'version': '5.4.7'}
bm_dict_2 ={
'copyright_list': ['Copyright (c) 2001-2017 Nexedi SA'],
'dependency_list': ['erp5_core'],
'description': '',
'force_install': 0,
'id': 'erp5_xhtml_style',
'license': 'GPL',
'revision': '',
'test_dependency_list': [],
'provision_list': ['erp5_view_style'],
'title': 'erp5_xhtml_style',
'version': '5.4.7'}
bm_dict_3 ={
'copyright_list': ['Copyright (c) 2001-2017 Nexedi SA'],
'dependency_list': ['erp5_view_style',],
'description': '',
'force_install': 0,
'id': 'erp5_jquery',
'license': 'GPL',
'revision': '',
'test_dependency_list': [],
'provision_list': [],
'title': 'erp5_jquery',
'version': '5.4.7'}
bm_dict_4 ={
'copyright_list': ['Copyright (c) 2001-2017 Nexedi SA'],
'dependency_list': [],
'description': '',
'force_install': 0,
'id': 'erp5_property_sheets',
'license': 'GPL',
'revision': '',
'test_dependency_list': [],
'provision_list': [],
'title': 'erp5_property_sheets',
'version': '5.4.7'}
bm_dict_5 ={
'copyright_list': ['Copyright (c) 2001-2017 Nexedi SA'],
'dependency_list': ['erp5_catalog (>= 1.1)',
'erp5_core_proxy_field_legacy',
'erp5_property_sheets'],
'description': '',
'force_install': 0,
'id': 'erp5_core',
'license': 'GPL',
'revision': '',
'test_dependency_list': ['erp5_full_text_mroonga_catalog',
'erp5_base'],
'provision_list': ['erp5_auto_logout',],
'title': 'erp5_core',
'version': '5.4.7'}
if repository.endswith('/bootstrap'):
property_dict_list.append(bm_dict_1)
property_dict_list.append(bm_dict_2)
property_dict_list.append(bm_dict_3)
property_dict_list.append(bm_dict_4)
#property_dict_list.append(bm_dict_5)
self.repository_dict[repository] = tuple(property_dict_list)
if REQUEST is not None:
......
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