Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiaowu Zhang
slapos.core
Commits
df244b4f
Commit
df244b4f
authored
Oct 17, 2017
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_upgrader: Use bt5 list from slapos_configurator.
parent
d57122fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
14 deletions
+3
-14
master/bt5/slapos_upgrader/SkinTemplateItem/portal_skins/slapos_upgrader/Base_getUpgradeBusinessTemplateList.py
...ns/slapos_upgrader/Base_getUpgradeBusinessTemplateList.py
+3
-14
No files found.
master/bt5/slapos_upgrader/SkinTemplateItem/portal_skins/slapos_upgrader/Base_getUpgradeBusinessTemplateList.py
View file @
df244b4f
"""
"""
This script should returns always two list of Business Template.
This script should returns always two list of Business Template.
- The first list is to resolve dependencies and upgrade.
- The first list is to resolve dependencies and upgrade.
- The second list is what you want to keep. This is useful if we want to keep
- The second list is what you want to keep. This is useful if we want to keep
a old business template without updating it and without removing it
a old business template without updating it and without removing it
"""
"""
bt5_update_catalog_list
=
(
'erp5_ingestion_mysql_innodb_catalog'
,
bt5_id_list
,
bt5_update_catalog_list
,
keep_bt5_id_list
=
\
'slapos_cloud'
,
'erp5_accounting'
,
context
.
TemplateTool_getSlapOSMasterBusinessTemplateList
()
'erp5_movement_table_catalog'
)
bt5_id_list
=
bt5_update_catalog_list
+
(
'slapos_configurator'
,
'slapos_erp5'
,)
keep_bt5_id_list
=
[
'erp5_ui_test'
,
'erp5_ui_test_core'
,
'slapos_category'
,
'erp5_secure_payment'
,
'vifib_datas'
,
]
return
bt5_id_list
,
keep_bt5_id_list
return
bt5_id_list
,
keep_bt5_id_list
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