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
Jérome Perrin
slapos.core
Commits
56bf9975
Commit
56bf9975
authored
Mar 29, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename to avoid conflict.
parent
599ef0b2
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
22 additions
and
4 deletions
+22
-4
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_base/Computer_getSoftwareReleaseRequestedState.xml
.../vifib_base/Computer_getSoftwareReleaseRequestedState.xml
+1
-1
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_base/Computer_getSoftwareReleaseUrlStringList.xml
...s/vifib_base/Computer_getSoftwareReleaseUrlStringList.xml
+1
-1
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_base/Computer_viewCurrentUsage.xml
...tem/portal_skins/vifib_base/Computer_viewCurrentUsage.xml
+1
-0
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_base/Computer_viewCurrentUsage/listbox.xml
...al_skins/vifib_base/Computer_viewCurrentUsage/listbox.xml
+16
-0
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_base/OpenSaleOrder_findPartition.xml
...m/portal_skins/vifib_base/OpenSaleOrder_findPartition.xml
+1
-0
master/bt5/vifib_base/bt/revision
master/bt5/vifib_base/bt/revision
+1
-1
master/product/Vifib/Tool/SlapTool.py
master/product/Vifib/Tool/SlapTool.py
+1
-1
No files found.
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_base/Computer_getSoftwareReleaseState.xml
→
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_base/Computer_getSoftwareRelease
Requested
State.xml
View file @
56bf9975
...
@@ -86,7 +86,7 @@ else:\n
...
@@ -86,7 +86,7 @@ else:\n
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
Computer_getSoftwareReleaseState
</string>
</value>
<value>
<string>
Computer_getSoftwareRelease
Requested
State
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_base/Computer_getSoftwareReleaseUrlStringList.xml
View file @
56bf9975
...
@@ -52,8 +52,8 @@
...
@@ -52,8 +52,8 @@
<key>
<string>
_body
</string>
</key>
<key>
<string>
_body
</string>
</key>
<value>
<string>
from Products.ZSQLCatalog.SQLCatalog import Query, ComplexQuery\n
<value>
<string>
from Products.ZSQLCatalog.SQLCatalog import Query, ComplexQuery\n
computer = context\n
computer = context\n
\n
portal = context.getPortalObject()\n
portal = context.getPortalObject()\n
script.log(state_list)\n
if len(state_list) == 1:\n
if len(state_list) == 1:\n
state_string = "= \'%s\'" % state_list[0]\n
state_string = "= \'%s\'" % state_list[0]\n
else:\n
else:\n
...
...
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_base/Computer_viewCurrentUsage.xml
View file @
56bf9975
...
@@ -94,6 +94,7 @@
...
@@ -94,6 +94,7 @@
<string>
listbox_image
</string>
<string>
listbox_image
</string>
<string>
listbox_parent_state
</string>
<string>
listbox_parent_state
</string>
<string>
listbox_software_release
</string>
<string>
listbox_software_release
</string>
<string>
listbox_installation_state
</string>
</list>
</list>
</value>
</value>
</item>
</item>
...
...
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_base/Computer_viewCurrentUsage/listbox.xml
View file @
56bf9975
...
@@ -108,6 +108,14 @@
...
@@ -108,6 +108,14 @@
<string>
url_string
</string>
<string>
url_string
</string>
<string>
URL
</string>
<string>
URL
</string>
</tuple>
</tuple>
<tuple>
<string>
installation_state
</string>
<string>
Installation State
</string>
</tuple>
<tuple>
<string>
usage
</string>
<string>
Usage
</string>
</tuple>
</list>
</list>
</value>
</value>
</item>
</item>
...
@@ -157,6 +165,14 @@
...
@@ -157,6 +165,14 @@
<string>
image
</string>
<string>
image
</string>
<string></string>
<string></string>
</tuple>
</tuple>
<tuple>
<string>
installation_state
</string>
<string></string>
</tuple>
<tuple>
<string>
usage
</string>
<string></string>
</tuple>
</list>
</list>
</value>
</value>
</item>
</item>
...
...
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_base/OpenSaleOrder_findPartition.xml
View file @
56bf9975
...
@@ -83,6 +83,7 @@ if offset >= SQL_WINDOW_SIZE:\n
...
@@ -83,6 +83,7 @@ if offset >= SQL_WINDOW_SIZE:\n
else:\n
else:\n
limit = (0, SQL_WINDOW_SIZE)\n
limit = (0, SQL_WINDOW_SIZE)\n
\n
\n
script.log(query_kw)\n
for computer_partition_candidate in context.portal_catalog(\n
for computer_partition_candidate in context.portal_catalog(\n
limit=limit, **query_kw):\n
limit=limit, **query_kw):\n
computer_partition_candidate = computer_partition_candidate.getObject() \n
computer_partition_candidate = computer_partition_candidate.getObject() \n
...
...
master/bt5/vifib_base/bt/revision
View file @
56bf9975
419
420
\ No newline at end of file
\ No newline at end of file
master/product/Vifib/Tool/SlapTool.py
View file @
56bf9975
...
@@ -1014,7 +1014,7 @@ class SlapTool(BaseTool):
...
@@ -1014,7 +1014,7 @@ class SlapTool(BaseTool):
software_release
=
software_release_url_string
,
software_release
=
software_release_url_string
,
computer_guid
=
computer_reference
)
computer_guid
=
computer_reference
)
software_release_response
.
_requested_state
=
\
software_release_response
.
_requested_state
=
\
computer_document
.
Computer_getSoftwareReleaseState
(
computer_document
.
Computer_getSoftwareRelease
Requested
State
(
software_release_url_string
)
software_release_url_string
)
software_release_list
.
append
(
software_release_response
)
software_release_list
.
append
(
software_release_response
)
return
software_release_list
return
software_release_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