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
Ivan Tyagov
slapos.core
Commits
a351d16c
Commit
a351d16c
authored
Feb 29, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master' into performance-hack
parents
7f20653e
4323bacc
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
33 additions
and
262 deletions
+33
-262
CHANGES.txt
CHANGES.txt
+8
-2
master/bt5/vifib_data_simulation/PathTemplateItem/business_process_module/vifib_simple_sale_business_process/invoice.xml
...ess_module/vifib_simple_sale_business_process/invoice.xml
+0
-240
master/bt5/vifib_data_simulation/bt/revision
master/bt5/vifib_data_simulation/bt/revision
+1
-1
master/bt5/vifib_upgrader/ExtensionTemplateItem/VifibUpgrader.py
...bt5/vifib_upgrader/ExtensionTemplateItem/VifibUpgrader.py
+0
-1
master/bt5/vifib_upgrader/bt/revision
master/bt5/vifib_upgrader/bt/revision
+1
-1
setup.py
setup.py
+1
-1
slapos/grid/SlapObject.py
slapos/grid/SlapObject.py
+22
-16
No files found.
CHANGES.txt
View file @
a351d16c
Changes
Changes
=======
=======
0.2
3 (u
nreleased)
0.2
4 (U
nreleased)
-----------------
-----------------
* No change yet
* No change yet.
0.23 (2012-02-29)
-----------------
* slapgrid : Don't create tarball of sofwtare release when shacache is not
configured. [Yingjie Xu]
0.22 (2012-02-09)
0.22 (2012-02-09)
-----------------
-----------------
...
...
master/bt5/vifib_data_simulation/PathTemplateItem/business_process_module/vifib_simple_sale_business_process/invoice.xml
deleted
100644 → 0
View file @
7f20653e
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Business Link"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_View_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_identity_criterion
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
modification_date
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
date
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
creation_date
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
date
</string>
</value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key>
<string>
_range_criterion
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
trade_phase/vifib/invoicing
</string>
<string>
predecessor/trade_state/delivered
</string>
<string>
successor/trade_state/invoiced
</string>
<string>
delivery_builder/portal_deliveries/vifib_sale_invoice_builder
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
completed_state
</string>
</key>
<value>
<tuple>
<string>
confirmed
</string>
<string>
delivered
</string>
<string>
started
</string>
<string>
stopped
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
creation_date
</string>
</key>
<value>
<object>
<klass>
<global
id=
"1.1"
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1324249200.0
</float>
<string>
GMT+1
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
deliverable
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
frozen_state
</string>
</key>
<value>
<tuple>
<string>
delivered
</string>
<string>
stopped
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
invoice
</string>
</value>
</item>
<item>
<key>
<string>
int_index
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
modification_date
</string>
</key>
<value>
<object>
<klass>
<reference
id=
"1.1"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1324249200.0
</float>
<string>
GMT+1
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Business Link
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
invoice
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<tuple>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<tuple>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/vifib_data_simulation/bt/revision
View file @
a351d16c
125
126
\ No newline at end of file
\ No newline at end of file
master/bt5/vifib_upgrader/ExtensionTemplateItem/VifibUpgrader.py
View file @
a351d16c
...
@@ -21,7 +21,6 @@ def DeliveryLineSetZeroPriceAndOrUpdateAppliedRule(self):
...
@@ -21,7 +21,6 @@ def DeliveryLineSetZeroPriceAndOrUpdateAppliedRule(self):
self
.
setQuantity
(
0.0
)
self
.
setQuantity
(
0.0
)
else
:
else
:
self
.
setQuantity
(
1.0
)
self
.
setQuantity
(
1.0
)
self
.
Delivery_updateAppliedRule
()
@
WorkflowMethod
.
disable
@
WorkflowMethod
.
disable
def
OpenSaleOrder_migrate
(
self
):
def
OpenSaleOrder_migrate
(
self
):
...
...
master/bt5/vifib_upgrader/bt/revision
View file @
a351d16c
73
75
\ No newline at end of file
\ No newline at end of file
setup.py
View file @
a351d16c
...
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
...
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
import
glob
import
glob
import
os
import
os
version
=
'0.2
3
-dev'
version
=
'0.2
4
-dev'
name
=
'slapos.core'
name
=
'slapos.core'
long_description
=
open
(
"README.txt"
).
read
()
+
"
\
n
"
+
\
long_description
=
open
(
"README.txt"
).
read
()
+
"
\
n
"
+
\
open
(
"CHANGES.txt"
).
read
()
+
"
\
n
"
open
(
"CHANGES.txt"
).
read
()
+
"
\
n
"
...
...
slapos/grid/SlapObject.py
View file @
a351d16c
...
@@ -92,16 +92,22 @@ class Software(object):
...
@@ -92,16 +92,22 @@ class Software(object):
self
.
signature_certificate_list
):
self
.
signature_certificate_list
):
tar
=
tarfile
.
open
(
tarpath
)
tar
=
tarfile
.
open
(
tarpath
)
try
:
try
:
self
.
logger
.
info
(
"Extracting archive of cached software release..."
)
tar
.
extractall
(
path
=
self
.
software_root
)
tar
.
extractall
(
path
=
self
.
software_root
)
finally
:
finally
:
tar
.
close
()
tar
.
close
()
else
:
else
:
self
.
_install_from_buildout
()
self
.
_install_from_buildout
()
if
(
self
.
software_root
and
self
.
url
and
self
.
software_url_hash
\
and
self
.
upload_binary_cache_url
\
and
self
.
upload_binary_dir_url
):
self
.
logger
.
info
(
"Creating archive of software release..."
)
tar
=
tarfile
.
open
(
tarpath
,
"w:gz"
)
tar
=
tarfile
.
open
(
tarpath
,
"w:gz"
)
try
:
try
:
tar
.
add
(
self
.
software_path
,
arcname
=
self
.
software_url_hash
)
tar
.
add
(
self
.
software_path
,
arcname
=
self
.
software_url_hash
)
finally
:
finally
:
tar
.
close
()
tar
.
close
()
self
.
logger
.
info
(
"Trying to upload archive of software release..."
)
upload_network_cached
(
upload_network_cached
(
self
.
software_root
,
self
.
software_root
,
self
.
url
,
self
.
software_url_hash
,
self
.
url
,
self
.
software_url_hash
,
...
...
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