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
Léo-Paul Géneau
slapos.core
Commits
cadfdb03
Commit
cadfdb03
authored
Dec 10, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify.
parent
adf877b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
10 deletions
+13
-10
master/bt5/slapos_upgrader/SkinTemplateItem/portal_skins/slapos_upgrader/00_ERP5Site_postUpgradeFixUp.xml
...al_skins/slapos_upgrader/00_ERP5Site_postUpgradeFixUp.xml
+12
-9
master/bt5/slapos_upgrader/bt/revision
master/bt5/slapos_upgrader/bt/revision
+1
-1
No files found.
master/bt5/slapos_upgrader/SkinTemplateItem/portal_skins/slapos_upgrader/00_ERP5Site_postUpgradeFixUp.xml
View file @
cadfdb03
...
...
@@ -52,17 +52,20 @@
<key>
<string>
_body
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
portal
= context.getPortalObject()
\n
portal
_activities = context.getPortalObject().portal_activities
\n
tag = script.id\n
if
portal.
portal_activities.countMessageWithTag(tag) >
0:\n
if
bg==1 and
portal_activities.countMessageWithTag(tag) >
0:\n
raise TypeError(\'Already running\')\n
\n
portal.activate(tag=tag).ERP5Site_postUpgradeFixUpPortalDeliveries()\n
portal.activate(tag=tag).ERP5Site_postUpgradeFixUpPortalTemplates()\n
portal.activate(tag=tag).ERP5Site_postUpgradeFixUpPortalTypes()\n
portal.activate(tag=tag).ERP5Site_postUpgradeFixUpPortalPropertySheets()\n
portal.activate(tag=tag).ERP5Site_postUpgradeFixUpPortalRules()\n
portal.activate(tag=tag).ERP5Site_postUpgradeFixUpPortalSkins()\n
if bg:\n
getattr(portal_activities.activate(tag=tag), \'00_ERP5Site_postUpgradeFixUp\')(bg=0)\n
else:\n
portal_activities.ERP5Site_postUpgradeFixUpPortalDeliveries()\n
portal_activities.ERP5Site_postUpgradeFixUpPortalTemplates()\n
portal_activities.ERP5Site_postUpgradeFixUpPortalTypes()\n
portal_activities.ERP5Site_postUpgradeFixUpPortalPropertySheets()\n
portal_activities.ERP5Site_postUpgradeFixUpPortalRules()\n
portal_activities.ERP5Site_postUpgradeFixUpPortalSkins()\n
\n
return \'Done.\'\n
...
...
@@ -71,7 +74,7 @@ return \'Done.\'\n
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
bg=1
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
...
...
master/bt5/slapos_upgrader/bt/revision
View file @
cadfdb03
41
\ No newline at end of file
42
\ 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