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
Boxiang Sun
slapos.core
Commits
f47fdd2d
Commit
f47fdd2d
authored
Oct 16, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move old scripts to special folder.
parent
58e85281
Changes
14
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
278 additions
and
1 deletion
+278
-1
master/bt5/vifib_upgrader/RegisteredSkinSelectionTemplateItem/registered_skin_selection.xml
...edSkinSelectionTemplateItem/registered_skin_selection.xml
+4
-0
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader_201210.xml
...r/SkinTemplateItem/portal_skins/vifib_upgrader_201210.xml
+88
-0
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader_201210/Computer_initialiseCapacityScope.xml
...ifib_upgrader_201210/Computer_initialiseCapacityScope.xml
+0
-0
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader_201210/ERP5Site_confirmPlannedPayment.xml
.../vifib_upgrader_201210/ERP5Site_confirmPlannedPayment.xml
+0
-0
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader_201210/ERP5Site_getUpgraderSignature.xml
...s/vifib_upgrader_201210/ERP5Site_getUpgraderSignature.xml
+183
-0
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader_201210/ERP5Site_initiateComputerCapacityScopeMigration.xml
...01210/ERP5Site_initiateComputerCapacityScopeMigration.xml
+0
-0
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader_201210/ERP5Site_initiateSoftwareInstallationFixMigration.xml
...210/ERP5Site_initiateSoftwareInstallationFixMigration.xml
+0
-0
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader_201210/ERP5Site_initiateSoftwareInstallationMigration.xml
...201210/ERP5Site_initiateSoftwareInstallationMigration.xml
+0
-0
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader_201210/PaymentTransaction_setStartDateAndConfirm.xml
...ader_201210/PaymentTransaction_setStartDateAndConfirm.xml
+0
-0
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader_201210/PurchasePackingList_assertSoftwareInstallation.xml
...201210/PurchasePackingList_assertSoftwareInstallation.xml
+0
-0
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader_201210/SoftwareInstallation_fixMigration.xml
...fib_upgrader_201210/SoftwareInstallation_fixMigration.xml
+0
-0
master/bt5/vifib_upgrader/bt/revision
master/bt5/vifib_upgrader/bt/revision
+1
-1
master/bt5/vifib_upgrader/bt/template_registered_skin_selection_list
...vifib_upgrader/bt/template_registered_skin_selection_list
+1
-0
master/bt5/vifib_upgrader/bt/template_skin_id_list
master/bt5/vifib_upgrader/bt/template_skin_id_list
+1
-0
No files found.
master/bt5/vifib_upgrader/RegisteredSkinSelectionTemplateItem/registered_skin_selection.xml
View file @
f47fdd2d
...
@@ -3,6 +3,10 @@
...
@@ -3,6 +3,10 @@
<skin_folder>
vifib_upgrader_20120423
</skin_folder>
<skin_folder>
vifib_upgrader_20120423
</skin_folder>
<skin_selection>
Outdated
</skin_selection>
<skin_selection>
Outdated
</skin_selection>
</skin_folder_selection>
</skin_folder_selection>
<skin_folder_selection>
<skin_folder>
vifib_upgrader_201210
</skin_folder>
<skin_selection>
Outdated
</skin_selection>
</skin_folder_selection>
<skin_folder_selection>
<skin_folder_selection>
<skin_folder>
vifib_upgrader_before_201208
</skin_folder>
<skin_folder>
vifib_upgrader_before_201208
</skin_folder>
<skin_selection>
Outdated
</skin_selection>
<skin_selection>
Outdated
</skin_selection>
...
...
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader_201210.xml
0 → 100644
View file @
f47fdd2d
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Folder"
module=
"OFS.Folder"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
__before_publishing_traverse__
</string>
</key>
<value>
<object>
<klass>
<global
name=
"MultiHook"
module=
"ZPublisher.BeforeTraverse"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_defined_in_class
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
_hookname
</string>
</key>
<value>
<string>
__before_publishing_traverse__
</string>
</value>
</item>
<item>
<key>
<string>
_list
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
_prior
</string>
</key>
<value>
<none/>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
__before_traverse__
</string>
</key>
<value>
<dictionary/>
</value>
</item>
<item>
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
business_template_skin_layer_priority
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
float
</string>
</value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
business_template_skin_layer_priority
</string>
</key>
<value>
<float>
90.0
</float>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
vifib_upgrader_201210
</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_initialiseCapacityScope.xml
→
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader
_201210
/Computer_initialiseCapacityScope.xml
View file @
f47fdd2d
File moved
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader/ERP5Site_confirmPlannedPayment.xml
→
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader
_201210
/ERP5Site_confirmPlannedPayment.xml
View file @
f47fdd2d
File moved
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader_201210/ERP5Site_getUpgraderSignature.xml
0 → 100644
View file @
f47fdd2d
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_body
</string>
</key>
<value>
<string>
"""\n
The release signature is a kind of declarative\n
specification of an upgrader.\n
"""\n
\n
BEFORE_TRIGGERED_BT5_SCRIPT_ID_DICT = {\n
}\n
\n
AFTER_TRIGGERED_BT5_SCRIPT_ID_DICT = {\n
}\n
\n
ALARM_DICT = {\n
"bt5_upgrader" : True,\n
"finalize_upgrader" : True\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_accounting\',\n
\'erp5_crm\',\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_project\',\n
\'erp5_credential_oauth2\',\n
# vifib\n
\'vifib_mysql_innodb_catalog\',\n
\'vifib_base\',\n
\'vifib_core\',\n
\'vifib_data_category\',\n
\'vifib_data_payzen\',\n
\'vifib_data_web\',\n
\'vifib_slapos_core\',\n
\'vifib_web\',\n
\'vifib_slap\',\n
\'vifib_agent\',\n
\'vifib_slapos_accounting\',\n
\'vifib_web_ui_test\',\n
\'vifib_slapos_core\',\n
\'vifib_slapos_accounting\',\n
\'vifib_slapos_capacity\',\n
\'vifib_slapos_rest_api_tool_portal_type\',\n
\'vifib_slapos_rest_api\',\n
\'vifib_slapos_rest_api_v1\',\n
\'vifib_erp5\',\n
\'vifib_data\',\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_data_payzen\': ( \'portal_secure_payments\', ) # portal_secure_payments was moved from Path to Tool, just do not remove it\n
}\n
\n
# Items which need validation at upgrade time\n
VALIDATION_DICT = { }\n
\n
INTEGRITY_VERIFICATION_SCRIPT_ID_LIST = ( )\n
\n
ALARM_TOOL_CONFIGURATION_LIST = ( )\n
\n
WORKFLOW_CHAIN_DICT = context.getPortalObject().portal_workflow.getWorkflowChainDict()\n
\n
WORKFLOW_CHAIN_DICT.update(**{\n
\'chain_Slave Instance\': \'edit_workflow, instance_accounting_slap_interaction_workflow, instance_slap_interface_workflow, item_workflow, local_permission_vifib_interaction_workflow, slap_interaction_workflow\',\n
\'chain_Software Instance\': \'edit_workflow, instance_accounting_slap_interaction_workflow, instance_slap_interface_workflow, item_workflow, local_permission_vifib_interaction_workflow, slap_interaction_workflow\',\n
})\n
\n
FINALIZE_ALARM_SCRIPT = ( )\n
\n
# Wrap everything into a dict\n
signature_dict = {\n
\'alarm_dict\' : ALARM_DICT\n
, \'required_bt5_id_list\': REQUIRED_BT5_ID_LIST\n
, \'before_triggered_bt5_id_dict\': BEFORE_TRIGGERED_BT5_SCRIPT_ID_DICT\n
, \'after_triggered_bt5_id_dict\': AFTER_TRIGGERED_BT5_SCRIPT_ID_DICT\n
, \'reinstalable_bt5_id_list\': REINSTALLABLE_BT5_ID_LIST\n
, \'keep_original_dict\': KEEP_ORIGINAL_DICT\n
, \'validation_dict\': VALIDATION_DICT\n
, \'integrity_verification_script_id_list\': INTEGRITY_VERIFICATION_SCRIPT_ID_LIST\n
, \'alarm_tool_configuration_list\' : ALARM_TOOL_CONFIGURATION_LIST\n
# , \'workflow_chain_dict\': WORKFLOW_CHAIN_DICT\n
# , \'finalize_upgrade_script_list\': FINALIZE_ALARM_SCRIPT\n
}\n
\n
if item is not None:\n
return signature_dict.get(item, None)\n
else:\n
return signature_dict\n
</string>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
item=None
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
ERP5Site_getUpgraderSignature
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader/ERP5Site_initiateComputerCapacityScopeMigration.xml
→
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader
_201210
/ERP5Site_initiateComputerCapacityScopeMigration.xml
View file @
f47fdd2d
File moved
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader/ERP5Site_initiateSoftwareInstallationFixMigration.xml
→
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader
_201210
/ERP5Site_initiateSoftwareInstallationFixMigration.xml
View file @
f47fdd2d
File moved
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader/ERP5Site_initiateSoftwareInstallationMigration.xml
→
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader
_201210
/ERP5Site_initiateSoftwareInstallationMigration.xml
View file @
f47fdd2d
File moved
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader/PaymentTransaction_setStartDateAndConfirm.xml
→
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader
_201210
/PaymentTransaction_setStartDateAndConfirm.xml
View file @
f47fdd2d
File moved
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader/PurchasePackingList_assertSoftwareInstallation.xml
→
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader
_201210
/PurchasePackingList_assertSoftwareInstallation.xml
View file @
f47fdd2d
File moved
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader/SoftwareInstallation_fixMigration.xml
→
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader
_201210
/SoftwareInstallation_fixMigration.xml
View file @
f47fdd2d
File moved
master/bt5/vifib_upgrader/bt/revision
View file @
f47fdd2d
147
148
\ No newline at end of file
\ No newline at end of file
master/bt5/vifib_upgrader/bt/template_registered_skin_selection_list
View file @
f47fdd2d
vifib_upgrader_20120423 | Outdated
vifib_upgrader_20120423 | Outdated
vifib_upgrader_201210 | Outdated
vifib_upgrader_before_201208 | Outdated
vifib_upgrader_before_201208 | Outdated
vifib_upgrader_before_201209 | Outdated
vifib_upgrader_before_201209 | Outdated
\ No newline at end of file
master/bt5/vifib_upgrader/bt/template_skin_id_list
View file @
f47fdd2d
vifib_promise
vifib_promise
vifib_upgrader
vifib_upgrader
vifib_upgrader_20120423
vifib_upgrader_20120423
vifib_upgrader_201210
vifib_upgrader_before_201208
vifib_upgrader_before_201208
vifib_upgrader_before_201209
vifib_upgrader_before_201209
\ 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