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
Lisa Casino
slapos.core
Commits
8b639657
Commit
8b639657
authored
Apr 11, 2016
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update business templates dependecy list
parent
0c900f03
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
6 deletions
+12
-6
master/bt5/slapos_erp5/bt/dependency_list
master/bt5/slapos_erp5/bt/dependency_list
+2
-0
master/bt5/slapos_upgrader/SkinTemplateItem/portal_skins/slapos_upgrader/Base_getUpgradeBusinessTemplateList.py
...ns/slapos_upgrader/Base_getUpgradeBusinessTemplateList.py
+8
-3
master/bt5/slapos_upgrader/SkinTemplateItem/portal_skins/slapos_upgrader/ERP5Site_upgradeUpgraderBusinessTemplate.py
...apos_upgrader/ERP5Site_upgradeUpgraderBusinessTemplate.py
+1
-1
master/bt5/slapos_web/bt/dependency_list
master/bt5/slapos_web/bt/dependency_list
+1
-2
No files found.
master/bt5/slapos_erp5/bt/dependency_list
View file @
8b639657
...
...
@@ -15,6 +15,8 @@ slapos_slap_tool
slapos_crm
slapos_pdm
slapos_web
slapos_jio
slapos_monitoring
slapos_payzen
slapos_hypermedia
slapos_upgrader
\ No newline at end of file
master/bt5/slapos_upgrader/SkinTemplateItem/portal_skins/slapos_upgrader/Base_getUpgradeBusinessTemplateList.py
View file @
8b639657
...
...
@@ -4,17 +4,22 @@
- 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
"""
portal
=
context
.
getPortalObject
()
bt5_update_catalog_list
=
(
'erp5_ingestion_mysql_innodb_catalog'
,
'slapos_cloud'
,
'erp5_accounting'
,
'erp5_movement_table_catalog'
)
'erp5_movement_table_catalog'
,
'erp5_promise'
,
'slapos_configurator'
,
'slapos_ecoallocation'
)
bt5_id_list
=
bt5_update_catalog_list
+
(
'slapos_erp5'
,)
# return context.resolveBusinessTemplateListDependency(bt5_id_list)
keep_bt5_id_list
=
[
'erp5_ui_test'
,
'erp5_ui_test_core'
,
'slapos_category'
,
'erp5_secure_payment'
]
'erp5_secure_payment'
,
'vifib_datas'
,
]
return
bt5_id_list
,
keep_bt5_id_list
master/bt5/slapos_upgrader/SkinTemplateItem/portal_skins/slapos_upgrader/ERP5Site_upgradeUpgraderBusinessTemplate.py
View file @
8b639657
portal
=
context
.
getPortalObject
()
portal_type
=
'Template Tool'
tag
=
'upgrade_upgrader_%s'
%
random
.
randint
(
0
,
2000
)
method_kw
=
{
'bt5_list'
:[
'erp5_upgrader'
,
'slapos_upgrader'
],
method_kw
=
{
'bt5_list'
:[
'erp5_
forge'
,
'erp5_
upgrader'
,
'slapos_upgrader'
],
'deprecated_after_script_dict'
:
None
,
'deprecated_reinstall_set'
:
None
,
'dry_run'
:
False
,
...
...
master/bt5/slapos_web/bt/dependency_list
View file @
8b639657
...
...
@@ -9,5 +9,4 @@ erp5_bearer_token
erp5_access_token
slapos_pdm
slapos_crm
erp5_web_renderjs_ui
slapos_monitoring
\ No newline at end of file
erp5_web_renderjs_ui
\ No newline at end of file
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