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
Eric Zheng
slapos.core
Commits
139babeb
Commit
139babeb
authored
Aug 14, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
First iteration of 2012.08 upgrade.
parent
be7eea66
Changes
14
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
88 additions
and
42 deletions
+88
-42
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader/ERP5Site_getUpgraderSignature.xml
...al_skins/vifib_upgrader/ERP5Site_getUpgraderSignature.xml
+56
-40
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader_before_201208.xml
...emplateItem/portal_skins/vifib_upgrader_before_201208.xml
+26
-0
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader_before_201208/Computer_updateLocalRoles.xml
...ifib_upgrader_before_201208/Computer_updateLocalRoles.xml
+0
-0
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader_before_201208/ERP5Site_deliverSetupUpdateDelivery.xml
...der_before_201208/ERP5Site_deliverSetupUpdateDelivery.xml
+0
-0
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader_before_201208/ERP5Site_garbageCollectHostingSubscription.xml
...ore_201208/ERP5Site_garbageCollectHostingSubscription.xml
+0
-0
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader_before_201208/ERP5Site_migrateSlapState.xml
...ifib_upgrader_before_201208/ERP5Site_migrateSlapState.xml
+0
-0
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader_before_201208/ERP5Site_removeSimulationOrderedSaleOrder.xml
...fore_201208/ERP5Site_removeSimulationOrderedSaleOrder.xml
+0
-0
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader_before_201208/ERP5Site_updateComputerLocalRoles.xml
...rader_before_201208/ERP5Site_updateComputerLocalRoles.xml
+3
-0
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader_before_201208/HostingSubscription_garbageCollectForMigration.xml
...201208/HostingSubscription_garbageCollectForMigration.xml
+0
-0
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader_before_201208/SaleOrder_removeAppliedRuleOnOrdered.xml
...er_before_201208/SaleOrder_removeAppliedRuleOnOrdered.xml
+0
-0
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader_before_201208/SalePackingListLine_deliver.xml
...ib_upgrader_before_201208/SalePackingListLine_deliver.xml
+0
-0
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader_before_201208/SlapDocument_migrateSlapState.xml
..._upgrader_before_201208/SlapDocument_migrateSlapState.xml
+0
-0
master/bt5/vifib_upgrader/bt/revision
master/bt5/vifib_upgrader/bt/revision
+1
-1
master/bt5/vifib_upgrader/bt/template_skin_id_list
master/bt5/vifib_upgrader/bt/template_skin_id_list
+2
-1
No files found.
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader/ERP5Site_getUpgraderSignature.xml
View file @
139babeb
...
...
@@ -67,64 +67,80 @@ ALARM_DICT = {\n
}\n
\n
REQUIRED_BT5_ID_LIST = (\n
# core of core\n
\'erp5_mysql_innodb_catalog\',\n
\'erp5_core\',\n
\'erp5_property_sheets\',\n
\'erp5_xhtml_style\',\n
# erp5\n
\'erp5_base\',\n
\'erp5_jquery_ui\',\n
\'erp5_rss_style\',\n
\'erp5_accounting\',\n
\'erp5_credential\',\n
\'erp5_crm\',\n
\'erp5_open_trade\',\n
\'erp5_payzen_secure_payment\',\n
\'erp5_accounting_l10n_fr\',\n
\'erp5_dms\',\n
\'erp5_computer_immobilisation\',\n
\'erp5_credential\',\n
\'erp5_discount_resource\',\n
\'erp5_commerce\',\n
\'erp5_pdm\',\n
\'erp5_knowledge_pad\',\n
\'erp5_forge\',\n
\'erp5_legacy_tax_system\',\n
\'erp5_invoicing\',\n
\'erp5_ingestion\',\n
\'erp5_item\',\n
\'erp5_km\'\n
\'erp5_simulation\',\n
\'erp5_trade\',\n
\'erp5_ui_test_core\',\n
\'erp5_tax_resource\',\n
\'erp5_system_event\',\n
\'erp5_ui_test\',\n
\'erp5_secure_payment\',\n
\'erp5_web\',\n
\'erp5_bearer_token\',\n
\'vifib_slapos_core\',\n
\'erp5_project\',\n
\'erp5_credential_oauth2\',\n
# vifib\n
\'vifib_base\',\n
\'vifib_mysql_innodb_catalog\',\n
\'vifib_forge_release\',\n
\'vifib_open_trade\',\n
\'vifib_slap\',\n
\'vifib_software_pdm\',\n
\'vifib_slapos_core\',\n
\'vifib_web\',\n
\'vifib_payzen\',\n
\'vifib_web_ui_test\',\n
\'vifib_slap\',\n
\'vifib_agent\',\n
\'vifib_data\',\n
\'vifib_data_web\',\n
\'vifib_slapos_accounting\',\n
\'vifib_erp5\',\n
\'vifib_web_ui_test\',\n
\'vifib_data_web\',\n
\'vifib_data_simulation\',\n
)\n
\n
REINSTALLABLE_BT5_ID_LIST = ()\n
\n
# items to keep even if marked by BT5 to \'Remove\'\n
KEEP_ORIGINAL_DICT = {\n
\'vifib_base\': (\n
\'software_instance_module\',\n
\'portal_types/Slave Instance\',\n
\'portal_types/Software Instance\',\n
\'portal_types/Software Instance Module\',\n
\'allowed_content_types/Software Instance Module\',\n
\'base_category_list/Slave Instance\',\n
\'base_category_list/Software Instance\',\n
\'base_category_list/Software Instance Module\',\n
\'property_sheet_list/Slave Instance\',\n
\'property_sheet_list/Software Instance\',\n
\'property_sheet_list/Item\',\n
\'portal_workflow/software_instance_slap_interface_workflow\',\n
),\n
\'vifib_open_trade\': (\n
\'hosting_subscription_module\',\n
\'portal_types/Hosting Subscription\',\n
\'portal_types/Hosting Subscription Module\',\n
\'property_sheet_list/Hosting Subscription\',\n
\'allowed_content_types/Hosting Subscription Module\',\n
\'base_category_list/Hosting Subscription\',\n
\'base_category_list/Hosting Subscription Module\',\n
\'portal_type_workflow_chain/Hosting Subscription\',\n
),\n
#
\'vifib_base\': (\n
#
\'software_instance_module\',\n
#
\'portal_types/Slave Instance\',\n
#
\'portal_types/Software Instance\',\n
#
\'portal_types/Software Instance Module\',\n
#
\'allowed_content_types/Software Instance Module\',\n
#
\'base_category_list/Slave Instance\',\n
#
\'base_category_list/Software Instance\',\n
#
\'base_category_list/Software Instance Module\',\n
#
\'property_sheet_list/Slave Instance\',\n
#
\'property_sheet_list/Software Instance\',\n
#
\'property_sheet_list/Item\',\n
#
\'portal_workflow/software_instance_slap_interface_workflow\',\n
#
),\n
#
\'vifib_open_trade\': (\n
#
\'hosting_subscription_module\',\n
#
\'portal_types/Hosting Subscription\',\n
#
\'portal_types/Hosting Subscription Module\',\n
#
\'property_sheet_list/Hosting Subscription\',\n
#
\'allowed_content_types/Hosting Subscription Module\',\n
#
\'base_category_list/Hosting Subscription\',\n
#
\'base_category_list/Hosting Subscription Module\',\n
#
\'portal_type_workflow_chain/Hosting Subscription\',\n
#
),\n
}\n
\n
# Items which need validation at upgrade time\n
...
...
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader_before_201208.xml
0 → 100644
View file @
139babeb
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Folder"
module=
"OFS.Folder"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
vifib_upgrader_before_201208
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader/Computer_updateLocalRoles.xml
→
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader
_before_201208
/Computer_updateLocalRoles.xml
View file @
139babeb
File moved
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader/ERP5Site_deliverSetupUpdateDelivery.xml
→
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader
_before_201208
/ERP5Site_deliverSetupUpdateDelivery.xml
View file @
139babeb
File moved
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader/ERP5Site_garbageCollectHostingSubscription.xml
→
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader
_before_201208
/ERP5Site_garbageCollectHostingSubscription.xml
View file @
139babeb
File moved
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader/ERP5Site_migrateSlapState.xml
→
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader
_before_201208
/ERP5Site_migrateSlapState.xml
View file @
139babeb
File moved
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader/ERP5Site_removeSimulationOrderedSaleOrder.xml
→
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader
_before_201208
/ERP5Site_removeSimulationOrderedSaleOrder.xml
View file @
139babeb
File moved
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader/ERP5Site_updateComputerLocalRoles.xml
→
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader
_before_201208
/ERP5Site_updateComputerLocalRoles.xml
View file @
139babeb
...
...
@@ -51,6 +51,9 @@
<item>
<key>
<string>
_body
</string>
</key>
<value>
<string>
portal = context.getPortalObject()\n
portal.portal_catalog.searchAndActivate(portal_type=\'Computer Partition\', method_id=\'updateLocalRolesOnSecurityGroups\', activate_kw={\'tag\': \'Computer_updateLocalRoles\'})\n
return "ok"\n
\n
portal.portal_catalog.searchAndActivate(portal_type=\'Computer\', method_id=\'Computer_updateLocalRoles\', activate_kw={\'tag\': \'Computer_updateLocalRoles\'})\n
\n
portal.computer_module.activate(after_tag=\'Computer_updateLocalRoles\').Folder_reindexAll()\n
...
...
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader/HostingSubscription_garbageCollectForMigration.xml
→
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader
_before_201208
/HostingSubscription_garbageCollectForMigration.xml
View file @
139babeb
File moved
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader/SaleOrder_removeAppliedRuleOnOrdered.xml
→
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader
_before_201208
/SaleOrder_removeAppliedRuleOnOrdered.xml
View file @
139babeb
File moved
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader/SalePackingListLine_deliver.xml
→
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader
_before_201208
/SalePackingListLine_deliver.xml
View file @
139babeb
File moved
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader/SlapDocument_migrateSlapState.xml
→
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader
_before_201208
/SlapDocument_migrateSlapState.xml
View file @
139babeb
File moved
master/bt5/vifib_upgrader/bt/revision
View file @
139babeb
117
\ No newline at end of file
118
\ No newline at end of file
master/bt5/vifib_upgrader/bt/template_skin_id_list
View file @
139babeb
vifib_upgrader
vifib_upgrader_20120423
vifib_upgrader_before_201208
\ 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