Hello community,
here is the log from the commit of package python-oslo.versionedobjects for
openSUSE:Factory checked in at 2018-01-24 15:27:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.versionedobjects (Old)
and /work/SRC/openSUSE:Factory/.python-oslo.versionedobjects.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.versionedobjects"
Wed Jan 24 15:27:57 2018 rev:4 rq:567279 version:1.31.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-oslo.versionedobjects/python-oslo.versionedobjects.changes
2017-08-28 15:31:42.786041700 +0200
+++
/work/SRC/openSUSE:Factory/.python-oslo.versionedobjects.new/python-oslo.versionedobjects.changes
2018-01-24 15:27:58.537458476 +0100
@@ -1,0 +2,18 @@
+Mon Jan 15 12:02:02 UTC 2018 - [email protected]
+
+- update to version 1.31.0
+ - iso8601.is8601.Utc No Longer Exists
+ - Fix wrong indent of releasenotes
+ - Follow the new PTI for document build
+ - Update reno for stable/pike
+ - Updated from global requirements
+ - Remove setting of version/release from releasenotes
+ - Imported Translations from Zanata
+ - Migrate to zuulv3 - move legacy jobs to project
+ - Avoid tox_install.sh for constraints support
+ - Use newer location for iso8601 UTC
+ - Zuul: add file extension to playbook path
+ - Add a TimestampedObject mixin
+ - Add bandit to pep8 job
+
+-------------------------------------------------------------------
Old:
----
oslo.versionedobjects-1.26.0.tar.gz
New:
----
oslo.versionedobjects-1.31.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-oslo.versionedobjects.spec ++++++
--- /var/tmp/diff_new_pack.0n3aDR/_old 2018-01-24 15:27:59.321421808 +0100
+++ /var/tmp/diff_new_pack.0n3aDR/_new 2018-01-24 15:27:59.329421434 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-oslo.versionedobjects
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,41 +17,41 @@
Name: python-oslo.versionedobjects
-Version: 1.26.0
+Version: 1.31.0
Release: 0
Summary: Oslo Versioned Objects library
License: Apache-2.0
Group: Development/Languages/Python
-Url: http://launchpad.net/%{sname}
-Source0:
https://pypi.io/packages/source/o/oslo.versionedobjects/oslo.versionedobjects-%{version}.tar.gz
+Url: https://launchpad.net/oslo.versionedobjects
+Source0:
https://files.pythonhosted.org/packages/source/o/oslo.versionedobjects/oslo.versionedobjects-1.31.0.tar.gz
BuildRequires: openstack-macros
BuildRequires: python-devel
BuildRequires: python-iso8601 >= 0.1.11
-BuildRequires: python-jsonschema >= 2.0.0
-BuildRequires: python-oslo.concurrency >= 3.8.0
-BuildRequires: python-oslo.config >= 4.0.0
-BuildRequires: python-oslo.context >= 2.14.0
-BuildRequires: python-oslo.i18n >= 2.1.0
-BuildRequires: python-oslo.log >= 3.22.0
-BuildRequires: python-oslo.messaging >= 5.24.2
-BuildRequires: python-oslo.serialization >= 1.10.0
-BuildRequires: python-oslo.utils >= 3.20.0
+BuildRequires: python-jsonschema >= 2.6.0
+BuildRequires: python-oslo.concurrency >= 3.20.0
+BuildRequires: python-oslo.config >= 4.6.0
+BuildRequires: python-oslo.context >= 2.19.2
+BuildRequires: python-oslo.i18n >= 3.15.3
+BuildRequires: python-oslo.log >= 3.30.0
+BuildRequires: python-oslo.messaging >= 5.29.0
+BuildRequires: python-oslo.serialization >= 2.18.0
+BuildRequires: python-oslo.utils >= 3.31.0
BuildRequires: python-oslotest >= 1.10.0
BuildRequires: python-pbr >= 2.0.0
-BuildRequires: python-testtools >= 1.4.0
+BuildRequires: python-testtools >= 2.2.0
Requires: python-WebOb >= 1.7.1
Requires: python-iso8601 >= 0.1.11
-Requires: python-jsonschema >= 2.0.0
-Requires: python-netaddr >= 0.7.13
-Requires: python-oslo.concurrency >= 3.8.0
-Requires: python-oslo.config >= 4.0.0
-Requires: python-oslo.context >= 2.14.0
-Requires: python-oslo.i18n >= 2.1.0
-Requires: python-oslo.log >= 3.22.0
-Requires: python-oslo.messaging >= 5.24.2
-Requires: python-oslo.serialization >= 1.10.0
-Requires: python-oslo.utils >= 3.20.0
-Requires: python-six >= 1.9.0
+Requires: python-jsonschema >= 2.6.0
+Requires: python-netaddr >= 0.7.18
+Requires: python-oslo.concurrency >= 3.20.0
+Requires: python-oslo.config >= 4.6.0
+Requires: python-oslo.context >= 2.19.2
+Requires: python-oslo.i18n >= 3.15.3
+Requires: python-oslo.log >= 3.30.0
+Requires: python-oslo.messaging >= 5.29.0
+Requires: python-oslo.serialization >= 2.18.0
+Requires: python-oslo.utils >= 3.31.0
+Requires: python-six >= 1.10.0
BuildArch: noarch
%description
@@ -66,14 +66,14 @@
Summary: osloversionedobjects library - Documentation
Group: Documentation/HTML
BuildRequires: python-Sphinx
-BuildRequires: python-openstackdocstheme >= 1.11.0
+BuildRequires: python-openstackdocstheme >= 1.17.0
Requires: %{name} = %{version}
%description doc
This package contains documentation files for %{name}.
%prep
-%autosetup -n oslo.versionedobjects-%{version}
+%autosetup -p1 -n oslo.versionedobjects-1.31.0
%py_req_cleanup
sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg
++++++ _service ++++++
--- /var/tmp/diff_new_pack.0n3aDR/_old 2018-01-24 15:27:59.357420125 +0100
+++ /var/tmp/diff_new_pack.0n3aDR/_new 2018-01-24 15:27:59.357420125 +0100
@@ -1,8 +1,8 @@
<services>
<service mode="disabled" name="renderspec">
- <param
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/openstack/oslo.versionedobjects/oslo.versionedobjects.spec.j2</param>
+ <param
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/master/openstack/oslo.versionedobjects/oslo.versionedobjects.spec.j2</param>
<param name="output-name">python-oslo.versionedobjects.spec</param>
- <param
name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/global-requirements.txt</param>
+ <param
name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/master/requirements.txt</param>
<param name="changelog-email">[email protected]</param>
<param name="changelog-provider">gh,openstack,oslo.versionedobjects</param>
</service>
++++++ oslo.versionedobjects-1.26.0.tar.gz ->
oslo.versionedobjects-1.31.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.versionedobjects-1.26.0/.zuul.yaml
new/oslo.versionedobjects-1.31.0/.zuul.yaml
--- old/oslo.versionedobjects-1.26.0/.zuul.yaml 1970-01-01 01:00:00.000000000
+0100
+++ new/oslo.versionedobjects-1.31.0/.zuul.yaml 2018-01-08 15:12:52.000000000
+0100
@@ -0,0 +1,21 @@
+- project:
+ name: openstack/oslo.versionedobjects
+ check:
+ jobs:
+ - oslo.versionedobjects-src-grenade-devstack-multinode
+
+- job:
+ name: oslo.versionedobjects-src-grenade-devstack-multinode
+ parent: legacy-dsvm-base-multinode
+ voting: false
+ irrelevant-files:
+ - ^(test-|)requirements.txt$
+ - ^setup.cfg$
+ run:
playbooks/legacy/oslo.versionedobjects-src-grenade-devstack-multinode/run.yaml
+ post-run:
playbooks/legacy/oslo.versionedobjects-src-grenade-devstack-multinode/post.yaml
+ timeout: 10800
+ required-projects:
+ - openstack-dev/grenade
+ - openstack-infra/devstack-gate
+ - openstack/oslo.versionedobjects
+ nodeset: legacy-ubuntu-xenial-2-node
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.versionedobjects-1.26.0/AUTHORS
new/oslo.versionedobjects-1.31.0/AUTHORS
--- old/oslo.versionedobjects-1.26.0/AUTHORS 2017-07-18 15:09:58.000000000
+0200
+++ new/oslo.versionedobjects-1.31.0/AUTHORS 2018-01-08 15:15:48.000000000
+0100
@@ -21,6 +21,7 @@
Alexey Roytman <[email protected]>
Alexis Lee <[email protected]>
Alvaro Lopez Garcia <[email protected]>
+Andreas Jaeger <[email protected]>
Andreas Jaeger <[email protected]>
Andrew Bogott <[email protected]>
Andrew Clay Shafer <[email protected]>
@@ -59,6 +60,7 @@
Chet Burgess <[email protected]>
Chiradeep Vittal <chiradeep@chiradeep-lt2>
Chris Behrens <[email protected]>
+Chris Dent <[email protected]>
Chris Friesen <[email protected]>
Chris Yeoh <[email protected]>
Christian Berendt <[email protected]>
@@ -91,6 +93,7 @@
Devendra Modium <[email protected]>
Devin Carlen <[email protected]>
Devin Carlen <[email protected]>
+Dinesh Bhor <[email protected]>
Dirk Mueller <[email protected]>
Dmitry Borodaenko <[email protected]>
Donal Lafferty <[email protected]>
@@ -135,6 +138,7 @@
Jakub Ruzicka <[email protected]>
James Carey <[email protected]>
James E. Blair <[email protected]>
+James E. Blair <[email protected]>
Jason Cannavale <[email protected]>
Jason Koelker <[email protected]>
Jason Kölker <[email protected]>
@@ -294,6 +298,7 @@
Sean Dague <[email protected]>
Sean Dague <[email protected]>
Sean Dague <[email protected]>
+Sean McCully <[email protected]>
Sergey Nikitin <[email protected]>
Sergey Skripnick <[email protected]>
Sergey Vilgelm <[email protected]>
@@ -324,6 +329,7 @@
Todd Willey <[email protected]>
Tomoki Sekiyama <[email protected]>
Tony Breeds <[email protected]>
+Tovin Seven <[email protected]>
Trey Morris <[email protected]>
Trey Morris <[email protected]>
Tushar Patil <[email protected]>
@@ -353,6 +359,7 @@
Zhiteng Huang <[email protected]>
Zhongyue Luo <[email protected]>
Zhongyue Luo <[email protected]>
+Zuul <[email protected]>
andy <[email protected]>
brian-lamar <[email protected]>
danwent <danwent@dan-xs3-cs>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.versionedobjects-1.26.0/ChangeLog
new/oslo.versionedobjects-1.31.0/ChangeLog
--- old/oslo.versionedobjects-1.26.0/ChangeLog 2017-07-18 15:09:58.000000000
+0200
+++ new/oslo.versionedobjects-1.31.0/ChangeLog 2018-01-08 15:15:48.000000000
+0100
@@ -1,6 +1,51 @@
CHANGES
=======
+1.31.0
+------
+
+* Fix wrong indent of releasenotes
+* Add bandit to pep8 job
+* Updated from global requirements
+* Follow the new PTI for document build
+* Avoid tox\_install.sh for constraints support
+
+1.30.0
+------
+
+* Updated from global requirements
+* Remove setting of version/release from releasenotes
+* Updated from global requirements
+* Updated from global requirements
+* Updated from global requirements
+* Zuul: add file extension to playbook path
+
+1.29.0
+------
+
+* Imported Translations from Zanata
+* Migrate to zuulv3 - move legacy jobs to project
+* Updated from global requirements
+* Imported Translations from Zanata
+* Use newer location for iso8601 UTC
+
+1.28.0
+------
+
+* Updated from global requirements
+
+1.27.0
+------
+
+* Updated from global requirements
+* iso8601.is8601.Utc No Longer Exists
+* Updated from global requirements
+* Imported Translations from Zanata
+* Add a TimestampedObject mixin
+* Updated from global requirements
+* Update reno for stable/pike
+* Updated from global requirements
+
1.26.0
------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.versionedobjects-1.26.0/PKG-INFO
new/oslo.versionedobjects-1.31.0/PKG-INFO
--- old/oslo.versionedobjects-1.26.0/PKG-INFO 2017-07-18 15:09:58.000000000
+0200
+++ new/oslo.versionedobjects-1.31.0/PKG-INFO 2018-01-08 15:15:49.000000000
+0100
@@ -1,11 +1,12 @@
Metadata-Version: 1.1
Name: oslo.versionedobjects
-Version: 1.26.0
+Version: 1.31.0
Summary: Oslo Versioned Objects library
Home-page: https://docs.openstack.org/oslo.versionedobjects/latest/
Author: OpenStack
Author-email: [email protected]
License: UNKNOWN
+Description-Content-Type: UNKNOWN
Description: ========================
Team and repository tags
========================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.versionedobjects-1.26.0/doc/requirements.txt
new/oslo.versionedobjects-1.31.0/doc/requirements.txt
--- old/oslo.versionedobjects-1.26.0/doc/requirements.txt 1970-01-01
01:00:00.000000000 +0100
+++ new/oslo.versionedobjects-1.31.0/doc/requirements.txt 2018-01-08
15:13:09.000000000 +0100
@@ -0,0 +1,10 @@
+# The order of packages is significant, because pip processes them in the order
+# of appearance. Changing the order has an impact on the overall integration
+# process, which may cause wedges in the gate later.
+# These are needed for docs generation
+openstackdocstheme>=1.17.0 # Apache-2.0
+sphinx>=1.6.2 # BSD
+reno>=2.5.0 # Apache-2.0
+
+mock>=2.0.0 # BSD
+fixtures>=3.0.0 # Apache-2.0/BSD
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.versionedobjects-1.26.0/oslo.versionedobjects.egg-info/PKG-INFO
new/oslo.versionedobjects-1.31.0/oslo.versionedobjects.egg-info/PKG-INFO
--- old/oslo.versionedobjects-1.26.0/oslo.versionedobjects.egg-info/PKG-INFO
2017-07-18 15:09:58.000000000 +0200
+++ new/oslo.versionedobjects-1.31.0/oslo.versionedobjects.egg-info/PKG-INFO
2018-01-08 15:15:48.000000000 +0100
@@ -1,11 +1,12 @@
Metadata-Version: 1.1
Name: oslo.versionedobjects
-Version: 1.26.0
+Version: 1.31.0
Summary: Oslo Versioned Objects library
Home-page: https://docs.openstack.org/oslo.versionedobjects/latest/
Author: OpenStack
Author-email: [email protected]
License: UNKNOWN
+Description-Content-Type: UNKNOWN
Description: ========================
Team and repository tags
========================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.versionedobjects-1.26.0/oslo.versionedobjects.egg-info/SOURCES.txt
new/oslo.versionedobjects-1.31.0/oslo.versionedobjects.egg-info/SOURCES.txt
--- old/oslo.versionedobjects-1.26.0/oslo.versionedobjects.egg-info/SOURCES.txt
2017-07-18 15:09:58.000000000 +0200
+++ new/oslo.versionedobjects-1.31.0/oslo.versionedobjects.egg-info/SOURCES.txt
2018-01-08 15:15:49.000000000 +0100
@@ -1,6 +1,7 @@
.coveragerc
.mailmap
.testr.conf
+.zuul.yaml
AUTHORS
CONTRIBUTING.rst
ChangeLog
@@ -13,6 +14,7 @@
setup.py
test-requirements.txt
tox.ini
+doc/requirements.txt
doc/source/conf.py
doc/source/index.rst
doc/source/configuration/index.rst
@@ -46,23 +48,21 @@
oslo_versionedobjects/test.py
oslo_versionedobjects/examples/__init__.py
oslo_versionedobjects/examples/iot_bulb.py
-oslo_versionedobjects/locale/en_AU/LC_MESSAGES/oslo_versionedobjects-log-error.po
-oslo_versionedobjects/locale/en_GB/LC_MESSAGES/oslo_versionedobjects-log-error.po
oslo_versionedobjects/locale/en_GB/LC_MESSAGES/oslo_versionedobjects.po
-oslo_versionedobjects/locale/es/LC_MESSAGES/oslo_versionedobjects-log-error.po
-oslo_versionedobjects/locale/fr/LC_MESSAGES/oslo_versionedobjects-log-error.po
-oslo_versionedobjects/locale/it/LC_MESSAGES/oslo_versionedobjects-log-error.po
oslo_versionedobjects/tests/__init__.py
oslo_versionedobjects/tests/obj_fixtures.py
oslo_versionedobjects/tests/test_exception.py
oslo_versionedobjects/tests/test_fields.py
oslo_versionedobjects/tests/test_fixture.py
oslo_versionedobjects/tests/test_objects.py
+playbooks/legacy/oslo.versionedobjects-src-grenade-devstack-multinode/post.yaml
+playbooks/legacy/oslo.versionedobjects-src-grenade-devstack-multinode/run.yaml
releasenotes/notes/add-reno-996dd44974d53238.yaml
releasenotes/source/conf.py
releasenotes/source/index.rst
releasenotes/source/ocata.rst
+releasenotes/source/pike.rst
releasenotes/source/unreleased.rst
releasenotes/source/_static/.placeholder
releasenotes/source/_templates/.placeholder
-tools/tox_install.sh
\ No newline at end of file
+releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.versionedobjects-1.26.0/oslo.versionedobjects.egg-info/pbr.json
new/oslo.versionedobjects-1.31.0/oslo.versionedobjects.egg-info/pbr.json
--- old/oslo.versionedobjects-1.26.0/oslo.versionedobjects.egg-info/pbr.json
2017-07-18 15:09:58.000000000 +0200
+++ new/oslo.versionedobjects-1.31.0/oslo.versionedobjects.egg-info/pbr.json
2018-01-08 15:15:48.000000000 +0100
@@ -1 +1 @@
-{"git_version": "b65e473", "is_release": true}
\ No newline at end of file
+{"git_version": "98cea0f", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.versionedobjects-1.26.0/oslo.versionedobjects.egg-info/requires.txt
new/oslo.versionedobjects-1.31.0/oslo.versionedobjects.egg-info/requires.txt
---
old/oslo.versionedobjects-1.26.0/oslo.versionedobjects.egg-info/requires.txt
2017-07-18 15:09:58.000000000 +0200
+++
new/oslo.versionedobjects-1.31.0/oslo.versionedobjects.egg-info/requires.txt
2018-01-08 15:15:48.000000000 +0100
@@ -1,16 +1,12 @@
-six>=1.9.0
-oslo.concurrency>=3.8.0
-oslo.config!=4.3.0,!=4.4.0,>=4.0.0
-oslo.context>=2.14.0
-oslo.messaging!=5.25.0,>=5.24.2
-oslo.serialization!=2.19.1,>=1.10.0
-oslo.utils>=3.20.0
+six>=1.10.0
+oslo.concurrency>=3.20.0
+oslo.config>=5.1.0
+oslo.context>=2.19.2
+oslo.messaging>=5.29.0
+oslo.serialization!=2.19.1,>=2.18.0
+oslo.utils>=3.33.0
iso8601>=0.1.11
-oslo.log>=3.22.0
-oslo.i18n!=3.15.2,>=2.1.0
+oslo.log>=3.30.0
+oslo.i18n>=3.15.3
WebOb>=1.7.1
-netaddr!=0.7.16,>=0.7.13
-
-[fixtures]
-mock>=2.0
-fixtures>=3.0.0
+netaddr>=0.7.18
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.versionedobjects-1.26.0/oslo_versionedobjects/base.py
new/oslo.versionedobjects-1.31.0/oslo_versionedobjects/base.py
--- old/oslo.versionedobjects-1.26.0/oslo_versionedobjects/base.py
2017-07-18 15:08:16.000000000 +0200
+++ new/oslo.versionedobjects-1.31.0/oslo_versionedobjects/base.py
2018-01-08 15:12:52.000000000 +0100
@@ -715,6 +715,18 @@
return NotImplemented
+class TimestampedObject(object):
+ """Mixin class for db backed objects with timestamp fields.
+
+ Sqlalchemy models that inherit from the oslo_db TimestampMixin will include
+ these fields and the corresponding objects will benefit from this mixin.
+ """
+ fields = {
+ 'created_at': obj_fields.DateTimeField(nullable=True),
+ 'updated_at': obj_fields.DateTimeField(nullable=True),
+ }
+
+
class VersionedObjectDictCompat(object):
"""Mix-in to provide dictionary key access compatibility
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.versionedobjects-1.26.0/oslo_versionedobjects/fields.py
new/oslo.versionedobjects-1.31.0/oslo_versionedobjects/fields.py
--- old/oslo.versionedobjects-1.26.0/oslo_versionedobjects/fields.py
2017-07-18 15:08:16.000000000 +0200
+++ new/oslo.versionedobjects-1.31.0/oslo_versionedobjects/fields.py
2018-01-08 15:12:52.000000000 +0100
@@ -468,7 +468,7 @@
# NOTE(danms): Legacy objects from sqlalchemy are stored in UTC,
# but are returned without a timezone attached.
# As a transitional aid, assume a tz-naive object is in UTC.
- value = value.replace(tzinfo=iso8601.iso8601.Utc())
+ value = value.replace(tzinfo=iso8601.UTC)
elif not self.tzinfo_aware:
value = value.replace(tzinfo=None)
return value
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.versionedobjects-1.26.0/oslo_versionedobjects/fixture.py
new/oslo.versionedobjects-1.31.0/oslo_versionedobjects/fixture.py
--- old/oslo.versionedobjects-1.26.0/oslo_versionedobjects/fixture.py
2017-07-18 15:08:16.000000000 +0200
+++ new/oslo.versionedobjects-1.31.0/oslo_versionedobjects/fixture.py
2018-01-08 15:13:09.000000000 +0100
@@ -369,12 +369,13 @@
for my_version, child_version in versions:
_my_version = vutils.convert_version_to_tuple(my_version)
_ch_version = vutils.convert_version_to_tuple(child_version)
- assert (last_my_version < _my_version
- and last_child_version <= _ch_version), \
- ('Object %s relationship '
- '%s->%s for field %s is out of order') % (
- obj_class.obj_name(), my_version,
- child_version, field)
+ if not (last_my_version < _my_version
+ and last_child_version <= _ch_version):
+ raise AssertionError(('Object %s relationship %s->%s for '
+ 'field %s is out of order') % (
+ obj_class.obj_name(),
+ my_version, child_version,
+ field))
last_my_version = _my_version
last_child_version = _ch_version
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.versionedobjects-1.26.0/oslo_versionedobjects/locale/en_AU/LC_MESSAGES/oslo_versionedobjects-log-error.po
new/oslo.versionedobjects-1.31.0/oslo_versionedobjects/locale/en_AU/LC_MESSAGES/oslo_versionedobjects-log-error.po
---
old/oslo.versionedobjects-1.26.0/oslo_versionedobjects/locale/en_AU/LC_MESSAGES/oslo_versionedobjects-log-error.po
2017-07-18 15:08:16.000000000 +0200
+++
new/oslo.versionedobjects-1.31.0/oslo_versionedobjects/locale/en_AU/LC_MESSAGES/oslo_versionedobjects-log-error.po
1970-01-01 01:00:00.000000000 +0100
@@ -1,33 +0,0 @@
-# OpenStack Infra <[email protected]>, 2015. #zanata
-# Alex Eng <[email protected]>, 2016. #zanata
-# Andreas Jaeger <[email protected]>, 2016. #zanata
-# KATO Tomoyuki <[email protected]>, 2016. #zanata
-msgid ""
-msgstr ""
-"Project-Id-Version: oslo.versionedobjects 1.10.1.dev1\n"
-"Report-Msgid-Bugs-To: https://bugs.launchpad.net/openstack-i18n/\n"
-"POT-Creation-Date: 2016-06-12 09:04+0000\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"PO-Revision-Date: 2016-06-09 12:04+0000\n"
-"Last-Translator: KATO Tomoyuki <[email protected]>\n"
-"Language-Team: English (Australia)\n"
-"Language: en-AU\n"
-"X-Generator: Zanata 3.7.3\n"
-"Plural-Forms: nplurals=2; plural=(n != 1)\n"
-
-#, python-format
-msgid "Error setting %(attr)s"
-msgstr "Error setting %(attr)s"
-
-msgid "Exception in string format operation"
-msgstr "Exception in string format operation"
-
-#, python-format
-msgid "Malformed MAC %s"
-msgstr "Malformed MAC %s"
-
-#, python-format
-msgid "Unable to instantiate unregistered object type %(objtype)s"
-msgstr "Unable to instantiate unregistered object type %(objtype)s"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.versionedobjects-1.26.0/oslo_versionedobjects/locale/en_GB/LC_MESSAGES/oslo_versionedobjects-log-error.po
new/oslo.versionedobjects-1.31.0/oslo_versionedobjects/locale/en_GB/LC_MESSAGES/oslo_versionedobjects-log-error.po
---
old/oslo.versionedobjects-1.26.0/oslo_versionedobjects/locale/en_GB/LC_MESSAGES/oslo_versionedobjects-log-error.po
2017-07-18 15:08:16.000000000 +0200
+++
new/oslo.versionedobjects-1.31.0/oslo_versionedobjects/locale/en_GB/LC_MESSAGES/oslo_versionedobjects-log-error.po
1970-01-01 01:00:00.000000000 +0100
@@ -1,43 +0,0 @@
-# Translations template for oslo.versionedobjects.
-# Copyright (C) 2015 ORGANIZATION
-# This file is distributed under the same license as the
-# oslo.versionedobjects project.
-#
-# Translators:
-# Andi Chandler <[email protected]>, 2015
-# Andi Chandler <[email protected]>, 2016. #zanata
-# Andreas Jaeger <[email protected]>, 2016. #zanata
-msgid ""
-msgstr ""
-"Project-Id-Version: oslo.versionedobjects 1.10.1.dev1\n"
-"Report-Msgid-Bugs-To: https://bugs.launchpad.net/openstack-i18n/\n"
-"POT-Creation-Date: 2016-06-12 09:04+0000\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"PO-Revision-Date: 2016-06-09 11:16+0000\n"
-"Last-Translator: Andi Chandler <[email protected]>\n"
-"Language: en-GB\n"
-"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"Generated-By: Babel 2.0\n"
-"X-Generator: Zanata 3.7.3\n"
-"Language-Team: English (United Kingdom)\n"
-
-#, python-format
-msgid "Error setting %(attr)s"
-msgstr "Error setting %(attr)s"
-
-msgid "Exception in string format operation"
-msgstr "Exception in string format operation"
-
-#, python-format
-msgid "Malformed MAC %s"
-msgstr "Malformed MAC %s"
-
-#, python-format
-msgid "Malformed PCI address %s"
-msgstr "Malformed PCI address %s"
-
-#, python-format
-msgid "Unable to instantiate unregistered object type %(objtype)s"
-msgstr "Unable to instantiate unregistered object type %(objtype)s"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.versionedobjects-1.26.0/oslo_versionedobjects/locale/en_GB/LC_MESSAGES/oslo_versionedobjects.po
new/oslo.versionedobjects-1.31.0/oslo_versionedobjects/locale/en_GB/LC_MESSAGES/oslo_versionedobjects.po
---
old/oslo.versionedobjects-1.26.0/oslo_versionedobjects/locale/en_GB/LC_MESSAGES/oslo_versionedobjects.po
2017-07-18 15:08:16.000000000 +0200
+++
new/oslo.versionedobjects-1.31.0/oslo_versionedobjects/locale/en_GB/LC_MESSAGES/oslo_versionedobjects.po
2018-01-08 15:12:52.000000000 +0100
@@ -7,20 +7,21 @@
# Andi Chandler <[email protected]>, 2015
# Andi Chandler <[email protected]>, 2016. #zanata
# Andreas Jaeger <[email protected]>, 2016. #zanata
+# Andi Chandler <[email protected]>, 2017. #zanata
msgid ""
msgstr ""
-"Project-Id-Version: oslo.versionedobjects 1.10.1.dev1\n"
+"Project-Id-Version: oslo.versionedobjects 1.28.1.dev1\n"
"Report-Msgid-Bugs-To: https://bugs.launchpad.net/openstack-i18n/\n"
-"POT-Creation-Date: 2016-06-12 09:04+0000\n"
+"POT-Creation-Date: 2017-10-05 14:55+0000\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"PO-Revision-Date: 2016-06-09 11:16+0000\n"
+"PO-Revision-Date: 2017-09-28 03:01+0000\n"
"Last-Translator: Andi Chandler <[email protected]>\n"
"Language: en-GB\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Generated-By: Babel 2.0\n"
-"X-Generator: Zanata 3.7.3\n"
+"X-Generator: Zanata 3.9.6\n"
"Language-Team: English (United Kingdom)\n"
#, python-format
@@ -49,6 +50,10 @@
msgstr "%(typename)s in %(fieldname)s is not an instance of Enum"
#, python-format
+msgid "%s has no pattern"
+msgstr "%s has no pattern"
+
+#, python-format
msgid "A datetime.datetime is required in field %(attr)s, not a %(type)s"
msgstr "A datetime.datetime is required in field %(attr)s, not a %(type)s"
@@ -123,6 +128,14 @@
msgstr "Key %(key)s must be of type %(expected)s not %(actual)s"
#, python-format
+msgid "Malformed MAC %s"
+msgstr "Malformed MAC %s"
+
+#, python-format
+msgid "Malformed PCI address %s"
+msgstr "Malformed PCI address %s"
+
+#, python-format
msgid "Network \"%(val)s\" is not valid in field %(attr)s"
msgstr "Network \"%(val)s\" is not valid in field %(attr)s"
@@ -139,6 +152,10 @@
msgstr "Unsupported object type %(objtype)s"
#, python-format
+msgid "Value must be >= 0 for field %s"
+msgstr "Value must be >= 0 for field %s"
+
+#, python-format
msgid "Version %(objver)s of %(objname)s is not supported"
msgstr "Version %(objver)s of %(objname)s is not supported"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.versionedobjects-1.26.0/oslo_versionedobjects/locale/es/LC_MESSAGES/oslo_versionedobjects-log-error.po
new/oslo.versionedobjects-1.31.0/oslo_versionedobjects/locale/es/LC_MESSAGES/oslo_versionedobjects-log-error.po
---
old/oslo.versionedobjects-1.26.0/oslo_versionedobjects/locale/es/LC_MESSAGES/oslo_versionedobjects-log-error.po
2017-07-18 15:08:16.000000000 +0200
+++
new/oslo.versionedobjects-1.31.0/oslo_versionedobjects/locale/es/LC_MESSAGES/oslo_versionedobjects-log-error.po
1970-01-01 01:00:00.000000000 +0100
@@ -1,37 +0,0 @@
-# OpenStack Infra <[email protected]>, 2015. #zanata
-# Alex Eng <[email protected]>, 2016. #zanata
-# Andreas Jaeger <[email protected]>, 2016. #zanata
-# KATO Tomoyuki <[email protected]>, 2016. #zanata
-msgid ""
-msgstr ""
-"Project-Id-Version: oslo.versionedobjects 1.12.1.dev5\n"
-"Report-Msgid-Bugs-To: https://bugs.launchpad.net/openstack-i18n/\n"
-"POT-Creation-Date: 2016-07-01 03:40+0000\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"PO-Revision-Date: 2016-07-02 08:11+0000\n"
-"Last-Translator: KATO Tomoyuki <[email protected]>\n"
-"Language-Team: Spanish\n"
-"Language: es\n"
-"X-Generator: Zanata 3.7.3\n"
-"Plural-Forms: nplurals=2; plural=(n != 1)\n"
-
-#, python-format
-msgid "Error setting %(attr)s"
-msgstr "Error al establecer %(attr)s"
-
-msgid "Exception in string format operation"
-msgstr "Excepción en operación de formateo de cadena"
-
-#, python-format
-msgid "Malformed MAC %s"
-msgstr "mal formada MAC %s"
-
-#, python-format
-msgid "Malformed PCI address %s"
-msgstr "mal formada PCI dirección %s"
-
-#, python-format
-msgid "Unable to instantiate unregistered object type %(objtype)s"
-msgstr "Incapaz de instanciar tipo de objeto no registrado %(objtype)s"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.versionedobjects-1.26.0/oslo_versionedobjects/locale/fr/LC_MESSAGES/oslo_versionedobjects-log-error.po
new/oslo.versionedobjects-1.31.0/oslo_versionedobjects/locale/fr/LC_MESSAGES/oslo_versionedobjects-log-error.po
---
old/oslo.versionedobjects-1.26.0/oslo_versionedobjects/locale/fr/LC_MESSAGES/oslo_versionedobjects-log-error.po
2017-07-18 15:08:16.000000000 +0200
+++
new/oslo.versionedobjects-1.31.0/oslo_versionedobjects/locale/fr/LC_MESSAGES/oslo_versionedobjects-log-error.po
1970-01-01 01:00:00.000000000 +0100
@@ -1,34 +0,0 @@
-# Translations template for oslo.versionedobjects.
-# Copyright (C) 2015 ORGANIZATION
-# This file is distributed under the same license as the
-# oslo.versionedobjects project.
-#
-# Translators:
-# Maxime COQUEREL <[email protected]>, 2015
-# Andreas Jaeger <[email protected]>, 2016. #zanata
-msgid ""
-msgstr ""
-"Project-Id-Version: oslo.versionedobjects 1.7.1.dev16\n"
-"Report-Msgid-Bugs-To: https://bugs.launchpad.net/openstack-i18n/\n"
-"POT-Creation-Date: 2016-04-18 10:19+0000\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"PO-Revision-Date: 2015-07-27 10:57+0000\n"
-"Last-Translator: Maxime COQUEREL <[email protected]>\n"
-"Language: fr\n"
-"Plural-Forms: nplurals=2; plural=(n > 1);\n"
-"Generated-By: Babel 2.0\n"
-"X-Generator: Zanata 3.7.3\n"
-"Language-Team: French\n"
-
-#, python-format
-msgid "Error setting %(attr)s"
-msgstr "Erreur de paramètre %(attr)s"
-
-msgid "Exception in string format operation"
-msgstr "Exception dans le fonctionnement de format de chaîne"
-
-#, python-format
-msgid "Unable to instantiate unregistered object type %(objtype)s"
-msgstr "Impossible d' instancier un type d'objet non enregistrée %(objtype)s"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.versionedobjects-1.26.0/oslo_versionedobjects/locale/it/LC_MESSAGES/oslo_versionedobjects-log-error.po
new/oslo.versionedobjects-1.31.0/oslo_versionedobjects/locale/it/LC_MESSAGES/oslo_versionedobjects-log-error.po
---
old/oslo.versionedobjects-1.26.0/oslo_versionedobjects/locale/it/LC_MESSAGES/oslo_versionedobjects-log-error.po
2017-07-18 15:08:16.000000000 +0200
+++
new/oslo.versionedobjects-1.31.0/oslo_versionedobjects/locale/it/LC_MESSAGES/oslo_versionedobjects-log-error.po
1970-01-01 01:00:00.000000000 +0100
@@ -1,37 +0,0 @@
-# OpenStack Infra <[email protected]>, 2015. #zanata
-# Alex Eng <[email protected]>, 2016. #zanata
-# Andreas Jaeger <[email protected]>, 2016. #zanata
-# KATO Tomoyuki <[email protected]>, 2016. #zanata
-msgid ""
-msgstr ""
-"Project-Id-Version: oslo.versionedobjects 1.12.1.dev5\n"
-"Report-Msgid-Bugs-To: https://bugs.launchpad.net/openstack-i18n/\n"
-"POT-Creation-Date: 2016-07-01 03:40+0000\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"PO-Revision-Date: 2016-07-02 08:13+0000\n"
-"Last-Translator: KATO Tomoyuki <[email protected]>\n"
-"Language-Team: Italian\n"
-"Language: it\n"
-"X-Generator: Zanata 3.7.3\n"
-"Plural-Forms: nplurals=2; plural=(n != 1)\n"
-
-#, python-format
-msgid "Error setting %(attr)s"
-msgstr "Impossibile impostare %(attr)s"
-
-msgid "Exception in string format operation"
-msgstr "Eccezione nell'operazione di formattazione della stringa"
-
-#, python-format
-msgid "Malformed MAC %s"
-msgstr "MAC %s non corretto"
-
-#, python-format
-msgid "Malformed PCI address %s"
-msgstr "dell'indirizzo PCI %s non corretto"
-
-#, python-format
-msgid "Unable to instantiate unregistered object type %(objtype)s"
-msgstr "Impossibile istanziare il tipo di oggetto non registrato %(objtype)s"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.versionedobjects-1.26.0/oslo_versionedobjects/tests/test_fields.py
new/oslo.versionedobjects-1.31.0/oslo_versionedobjects/tests/test_fields.py
--- old/oslo.versionedobjects-1.26.0/oslo_versionedobjects/tests/test_fields.py
2017-07-18 15:08:16.000000000 +0200
+++ new/oslo.versionedobjects-1.31.0/oslo_versionedobjects/tests/test_fields.py
2018-01-08 15:12:52.000000000 +0100
@@ -560,7 +560,7 @@
class TestDateTime(TestField):
def setUp(self):
super(TestDateTime, self).setUp()
- self.dt = datetime.datetime(1955, 11, 5, tzinfo=iso8601.iso8601.Utc())
+ self.dt = datetime.datetime(1955, 11, 5, tzinfo=iso8601.iso8601.UTC)
self.field = fields.DateTimeField()
self.coerce_good_values = [(self.dt, self.dt),
(_utils.isotime(self.dt), self.dt)]
@@ -573,7 +573,7 @@
'1955-11-05T18:00:00Z',
self.field.stringify(
datetime.datetime(1955, 11, 5, 18, 0, 0,
- tzinfo=iso8601.iso8601.Utc())))
+ tzinfo=iso8601.iso8601.UTC)))
def test_get_schema(self):
self.assertEqual({'type': ['string'], 'format': 'date-time',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.versionedobjects-1.26.0/oslo_versionedobjects/tests/test_fixture.py
new/oslo.versionedobjects-1.31.0/oslo_versionedobjects/tests/test_fixture.py
---
old/oslo.versionedobjects-1.26.0/oslo_versionedobjects/tests/test_fixture.py
2017-07-18 15:08:16.000000000 +0200
+++
new/oslo.versionedobjects-1.31.0/oslo_versionedobjects/tests/test_fixture.py
2018-01-08 15:12:52.000000000 +0100
@@ -190,7 +190,7 @@
def test_compare_obj_with_dt(self):
mock_test = mock.Mock()
mock_test.assertEqual = mock.Mock()
- dt = datetime.datetime(1955, 11, 5, tzinfo=iso8601.iso8601.Utc())
+ dt = datetime.datetime(1955, 11, 5, tzinfo=iso8601.iso8601.UTC)
replaced_dt = dt.replace(tzinfo=None)
my_obj = self.MyComparedObjectWithTZ(tzfield=dt)
my_db_obj = {'tzfield': replaced_dt}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.versionedobjects-1.26.0/oslo_versionedobjects/tests/test_objects.py
new/oslo.versionedobjects-1.31.0/oslo_versionedobjects/tests/test_objects.py
---
old/oslo.versionedobjects-1.26.0/oslo_versionedobjects/tests/test_objects.py
2017-07-18 15:08:16.000000000 +0200
+++
new/oslo.versionedobjects-1.31.0/oslo_versionedobjects/tests/test_objects.py
2018-01-08 15:12:52.000000000 +0100
@@ -23,6 +23,7 @@
from oslo_context import context
from oslo_serialization import jsonutils
from oslo_utils import timeutils
+import testtools
from testtools import matchers
from oslo_versionedobjects import base
@@ -2441,3 +2442,42 @@
return [] + obj
self.assertRaises(TypeError, add, list1)
+
+
+class TestTimestampedObject(test.TestCase):
+ """Test TimestampedObject mixin.
+
+ Do this by creating an object that uses the mixin and confirm that the
+ added fields are there and in fact behaves as the DateTimeFields we desire.
+ """
+
+ def setUp(self):
+ super(TestTimestampedObject, self).setUp()
+
+ @base.VersionedObjectRegistry.register_if(False)
+ class MyTimestampedObject(base.VersionedObject,
+ base.TimestampedObject):
+ fields = {
+ 'field1': fields.Field(fields.String()),
+ }
+
+ self.myclass = MyTimestampedObject
+ self.my_object = self.myclass(field1='field1')
+
+ def test_timestamped_has_fields(self):
+ self.assertEqual('field1', self.my_object.field1)
+ self.assertIn('updated_at', self.my_object.fields)
+ self.assertIn('created_at', self.my_object.fields)
+
+ def test_timestamped_holds_timestamps(self):
+ now = timeutils.utcnow(with_timezone=True)
+ self.my_object.updated_at = now
+ self.my_object.created_at = now
+ self.assertEqual(now, self.my_object.updated_at)
+ self.assertEqual(now, self.my_object.created_at)
+
+ def test_timestamped_rejects_not_timestamps(self):
+ with testtools.ExpectedException(ValueError, '.*parse date.*'):
+ self.my_object.updated_at = 'a string'
+ with testtools.ExpectedException(ValueError, '.*parse date.*'):
+ self.my_object.created_at = 'a string'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.versionedobjects-1.26.0/playbooks/legacy/oslo.versionedobjects-src-grenade-devstack-multinode/post.yaml
new/oslo.versionedobjects-1.31.0/playbooks/legacy/oslo.versionedobjects-src-grenade-devstack-multinode/post.yaml
---
old/oslo.versionedobjects-1.26.0/playbooks/legacy/oslo.versionedobjects-src-grenade-devstack-multinode/post.yaml
1970-01-01 01:00:00.000000000 +0100
+++
new/oslo.versionedobjects-1.31.0/playbooks/legacy/oslo.versionedobjects-src-grenade-devstack-multinode/post.yaml
2018-01-08 15:12:52.000000000 +0100
@@ -0,0 +1,15 @@
+- hosts: primary
+ tasks:
+
+ - name: Copy files from {{ ansible_user_dir }}/workspace/ on node
+ synchronize:
+ src: '{{ ansible_user_dir }}/workspace/'
+ dest: '{{ zuul.executor.log_root }}'
+ mode: pull
+ copy_links: true
+ verify_host: true
+ rsync_opts:
+ - --include=/logs/**
+ - --include=*/
+ - --exclude=*
+ - --prune-empty-dirs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.versionedobjects-1.26.0/playbooks/legacy/oslo.versionedobjects-src-grenade-devstack-multinode/run.yaml
new/oslo.versionedobjects-1.31.0/playbooks/legacy/oslo.versionedobjects-src-grenade-devstack-multinode/run.yaml
---
old/oslo.versionedobjects-1.26.0/playbooks/legacy/oslo.versionedobjects-src-grenade-devstack-multinode/run.yaml
1970-01-01 01:00:00.000000000 +0100
+++
new/oslo.versionedobjects-1.31.0/playbooks/legacy/oslo.versionedobjects-src-grenade-devstack-multinode/run.yaml
2018-01-08 15:12:52.000000000 +0100
@@ -0,0 +1,52 @@
+- hosts: primary
+ name: Autoconverted job
legacy-oslo.versionedobjects-src-grenade-dsvm-multinode
+ from old job
gate-oslo.versionedobjects-src-grenade-dsvm-multinode-ubuntu-xenial-nv
+ tasks:
+
+ - name: Ensure legacy workspace directory
+ file:
+ path: '{{ ansible_user_dir }}/workspace'
+ state: directory
+
+ - shell:
+ cmd: |
+ set -e
+ set -x
+ cat > clonemap.yaml << EOF
+ clonemap:
+ - name: openstack-infra/devstack-gate
+ dest: devstack-gate
+ EOF
+ /usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \
+ git://git.openstack.org \
+ openstack-infra/devstack-gate
+ executable: /bin/bash
+ chdir: '{{ ansible_user_dir }}/workspace'
+ environment: '{{ zuul | zuul_legacy_vars }}'
+
+ - shell:
+ cmd: |
+ set -e
+ set -x
+ export PROJECTS="openstack-dev/grenade $PROJECTS"
+ export PYTHONUNBUFFERED=true
+ export DEVSTACK_GATE_TEMPEST=1
+ export DEVSTACK_GATE_GRENADE=pullup
+ export BRANCH_OVERRIDE=default
+ if [ "$BRANCH_OVERRIDE" != "default" ] ; then
+ export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
+ fi
+ export DEVSTACK_GATE_TOPOLOGY="multinode"
+ export DEVSTACK_PROJECT_FROM_GIT=$ZUUL_SHORT_PROJECT_NAME
+
+ # Even if the branch is overridden, make sure we use
+ # the correct branch using the OVERRIDE_*_PROJECT_BRANCH
+ # variable.
+ uc_project=`echo $DEVSTACK_PROJECT_FROM_GIT | tr [:lower:] [:upper:]
| tr '-' '_' | sed 's/[^A-Z_]//'`
+ export "OVERRIDE_"$uc_project"_PROJECT_BRANCH"=$ZUUL_BRANCH
+
+ cp devstack-gate/devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
+ ./safe-devstack-vm-gate-wrap.sh
+ executable: /bin/bash
+ chdir: '{{ ansible_user_dir }}/workspace'
+ environment: '{{ zuul | zuul_legacy_vars }}'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.versionedobjects-1.26.0/releasenotes/source/conf.py
new/oslo.versionedobjects-1.31.0/releasenotes/source/conf.py
--- old/oslo.versionedobjects-1.26.0/releasenotes/source/conf.py
2017-07-18 15:08:16.000000000 +0200
+++ new/oslo.versionedobjects-1.31.0/releasenotes/source/conf.py
2018-01-08 15:12:52.000000000 +0100
@@ -60,16 +60,12 @@
project = u'oslo.versionedobjects Release Notes'
copyright = u'2016, oslo.versionedobjects Developers'
-# The version info for the project you're documenting, acts as replacement for
-# |version| and |release|, also used in various other places throughout the
-# built documents.
-#
-# The short X.Y version.
+# Release notes do not need a version in the title, they span
+# multiple versions.
# The full version, including alpha/beta/rc tags.
-import pkg_resources
-release = pkg_resources.get_distribution('oslo.versionedobjects').version
+release = ''
# The short X.Y version.
-version = release
+version = ''
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.versionedobjects-1.26.0/releasenotes/source/index.rst
new/oslo.versionedobjects-1.31.0/releasenotes/source/index.rst
--- old/oslo.versionedobjects-1.26.0/releasenotes/source/index.rst
2017-07-18 15:08:16.000000000 +0200
+++ new/oslo.versionedobjects-1.31.0/releasenotes/source/index.rst
2018-01-08 15:13:09.000000000 +0100
@@ -2,8 +2,9 @@
oslo.versionedobjects Release Notes
=====================================
- .. toctree::
- :maxdepth: 1
+.. toctree::
+ :maxdepth: 1
- unreleased
- ocata
+ unreleased
+ pike
+ ocata
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.versionedobjects-1.26.0/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po
new/oslo.versionedobjects-1.31.0/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po
---
old/oslo.versionedobjects-1.26.0/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po
1970-01-01 01:00:00.000000000 +0100
+++
new/oslo.versionedobjects-1.31.0/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po
2018-01-08 15:12:52.000000000 +0100
@@ -0,0 +1,36 @@
+# Andi Chandler <[email protected]>, 2017. #zanata
+msgid ""
+msgstr ""
+"Project-Id-Version: oslo.versionedobjects Release Notes 1.28.1.dev2\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-10-09 03:31+0000\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"PO-Revision-Date: 2017-10-21 09:00+0000\n"
+"Last-Translator: Andi Chandler <[email protected]>\n"
+"Language-Team: English (United Kingdom)\n"
+"Language: en-GB\n"
+"X-Generator: Zanata 3.9.6\n"
+"Plural-Forms: nplurals=2; plural=(n != 1)\n"
+
+msgid "1.19.0"
+msgstr "1.19.0"
+
+msgid "Current Series Release Notes"
+msgstr "Current Series Release Notes"
+
+msgid "Introduce reno for deployer release notes."
+msgstr "Introduce Reno for deployer release notes."
+
+msgid "Ocata Series Release Notes"
+msgstr "Ocata Series Release Notes"
+
+msgid "Other Notes"
+msgstr "Other Notes"
+
+msgid "Pike Series Release Notes"
+msgstr "Pike Series Release Notes"
+
+msgid "oslo.versionedobjects Release Notes"
+msgstr "oslo.versionedobjects Release Notes"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.versionedobjects-1.26.0/releasenotes/source/pike.rst
new/oslo.versionedobjects-1.31.0/releasenotes/source/pike.rst
--- old/oslo.versionedobjects-1.26.0/releasenotes/source/pike.rst
1970-01-01 01:00:00.000000000 +0100
+++ new/oslo.versionedobjects-1.31.0/releasenotes/source/pike.rst
2018-01-08 15:12:52.000000000 +0100
@@ -0,0 +1,6 @@
+===================================
+ Pike Series Release Notes
+===================================
+
+.. release-notes::
+ :branch: stable/pike
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.versionedobjects-1.26.0/requirements.txt
new/oslo.versionedobjects-1.31.0/requirements.txt
--- old/oslo.versionedobjects-1.26.0/requirements.txt 2017-07-18
15:08:16.000000000 +0200
+++ new/oslo.versionedobjects-1.31.0/requirements.txt 2018-01-08
15:13:09.000000000 +0100
@@ -1,15 +1,15 @@
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
-six>=1.9.0 # MIT
-oslo.concurrency>=3.8.0 # Apache-2.0
-oslo.config!=4.3.0,!=4.4.0,>=4.0.0 # Apache-2.0
-oslo.context>=2.14.0 # Apache-2.0
-oslo.messaging!=5.25.0,>=5.24.2 # Apache-2.0
-oslo.serialization!=2.19.1,>=1.10.0 # Apache-2.0
-oslo.utils>=3.20.0 # Apache-2.0
+six>=1.10.0 # MIT
+oslo.concurrency>=3.20.0 # Apache-2.0
+oslo.config>=5.1.0 # Apache-2.0
+oslo.context>=2.19.2 # Apache-2.0
+oslo.messaging>=5.29.0 # Apache-2.0
+oslo.serialization!=2.19.1,>=2.18.0 # Apache-2.0
+oslo.utils>=3.33.0 # Apache-2.0
iso8601>=0.1.11 # MIT
-oslo.log>=3.22.0 # Apache-2.0
-oslo.i18n!=3.15.2,>=2.1.0 # Apache-2.0
+oslo.log>=3.30.0 # Apache-2.0
+oslo.i18n>=3.15.3 # Apache-2.0
WebOb>=1.7.1 # MIT
-netaddr!=0.7.16,>=0.7.13 # BSD
+netaddr>=0.7.18 # BSD
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.versionedobjects-1.26.0/setup.cfg
new/oslo.versionedobjects-1.31.0/setup.cfg
--- old/oslo.versionedobjects-1.26.0/setup.cfg 2017-07-18 15:09:58.000000000
+0200
+++ new/oslo.versionedobjects-1.31.0/setup.cfg 2018-01-08 15:15:49.000000000
+0100
@@ -26,11 +26,6 @@
oslo.config.opts =
oslo.versionedobjects = oslo_versionedobjects._options:list_opts
-[extras]
-fixtures =
- mock>=2.0 # BSD
- fixtures>=3.0.0 # Apache-2.0/BSD
-
[build_sphinx]
source-dir = doc/source
build-dir = doc/build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.versionedobjects-1.26.0/test-requirements.txt
new/oslo.versionedobjects-1.31.0/test-requirements.txt
--- old/oslo.versionedobjects-1.26.0/test-requirements.txt 2017-07-18
15:08:16.000000000 +0200
+++ new/oslo.versionedobjects-1.31.0/test-requirements.txt 2018-01-08
15:13:09.000000000 +0100
@@ -3,11 +3,12 @@
# process, which may cause wedges in the gate later.
hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
oslotest>=1.10.0 # Apache-2.0
-testtools>=1.4.0 # MIT
-# These are needed for docs generation
-openstackdocstheme>=1.11.0 # Apache-2.0
-sphinx>=1.6.2 # BSD
-
+testtools>=2.2.0 # MIT
coverage!=4.4,>=4.0 # Apache-2.0
-jsonschema!=2.5.0,<3.0.0,>=2.0.0 # MIT
-reno!=2.3.1,>=1.8.0 # Apache-2.0
+jsonschema<3.0.0,>=2.6.0 # MIT
+
+mock>=2.0.0 # BSD
+fixtures>=3.0.0 # Apache-2.0/BSD
+
+# Bandit security code scanner
+bandit>=1.1.0 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.versionedobjects-1.26.0/tools/tox_install.sh
new/oslo.versionedobjects-1.31.0/tools/tox_install.sh
--- old/oslo.versionedobjects-1.26.0/tools/tox_install.sh 2017-07-18
15:08:16.000000000 +0200
+++ new/oslo.versionedobjects-1.31.0/tools/tox_install.sh 1970-01-01
01:00:00.000000000 +0100
@@ -1,30 +0,0 @@
-#!/usr/bin/env bash
-
-# Client constraint file contains this client version pin that is in conflict
-# with installing the client from source. We should remove the version pin in
-# the constraints file before applying it for from-source installation.
-
-CONSTRAINTS_FILE=$1
-shift 1
-
-set -e
-
-# NOTE(tonyb): Place this in the tox enviroment's log dir so it will get
-# published to logs.openstack.org for easy debugging.
-localfile="$VIRTUAL_ENV/log/upper-constraints.txt"
-
-if [[ $CONSTRAINTS_FILE != http* ]]; then
- CONSTRAINTS_FILE=file://$CONSTRAINTS_FILE
-fi
-# NOTE(tonyb): need to add curl to bindep.txt if the project supports bindep
-curl $CONSTRAINTS_FILE --insecure --progress-bar --output $localfile
-
-pip install -c$localfile openstack-requirements
-
-# This is the main purpose of the script: Allow local installation of
-# the current repo. It is listed in constraints file and thus any
-# install will be constrained and we need to unconstrain it.
-edit-constraints $localfile -- $CLIENT_NAME
-
-pip install -c$localfile -U $*
-exit $?
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.versionedobjects-1.26.0/tox.ini
new/oslo.versionedobjects-1.31.0/tox.ini
--- old/oslo.versionedobjects-1.26.0/tox.ini 2017-07-18 15:08:16.000000000
+0200
+++ new/oslo.versionedobjects-1.31.0/tox.ini 2018-01-08 15:13:09.000000000
+0100
@@ -6,20 +6,26 @@
setenv =
VIRTUAL_ENV={envdir}
BRANCH_NAME=master
- CLIENT_NAME=oslo.versionedobjects
-install_command = {toxinidir}/tools/tox_install.sh
{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
{opts} {packages}
-deps = .[fixtures]
- -r{toxinidir}/test-requirements.txt
+install_command = pip install {opts} {packages}
+deps =
+
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
+ -r{toxinidir}/test-requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'
[testenv:pep8]
-commands = flake8
+deps =
+ -r{toxinidir}/test-requirements.txt
+commands =
+ flake8
+ # Run security linter
+ bandit -r oslo_versionedobjects tests -n5 --skip B303
[testenv:venv]
commands = {posargs}
[testenv:docs]
-commands = python setup.py build_sphinx
+deps = -r{toxinidir}/doc/requirements.txt
+commands = sphinx-build -b html doc/source doc/build/html
[testenv:cover]
commands = python setup.py test --coverage
--coverage-package-name=oslo_versionedobjects --testr-args='{posargs}'
@@ -44,4 +50,5 @@
commands = pip-missing-reqs -d --ignore-module=oslo_versionedobjects*
--ignore-module=pkg_resources --ignore-file=oslo_versionedobjects/test.py
--ignore-file=oslo_versionedobjects/tests/* oslo_versionedobjects
[testenv:releasenotes]
+deps = -r{toxinidir}/doc/requirements.txt
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html
releasenotes/source releasenotes/build/html