openSUSE Commits
Threads by month
- ----- 2025 -----
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
February 2017
- 1 participants
- 1918 discussions
Hello community,
here is the log from the commit of package libcfile for openSUSE:Factory checked in at 2017-02-21 13:47:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libcfile (Old)
and /work/SRC/openSUSE:Factory/.libcfile.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libcfile"
Changes:
--------
--- /work/SRC/openSUSE:Factory/libcfile/libcfile.changes 2015-01-10 23:05:02.…
[View More]000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libcfile.new/libcfile.changes 2017-02-21 13:47:35.239684692 +0100
@@ -1,0 +2,9 @@
+Wed Feb 15 18:34:23 UTC 2017 - Greg.Freemyer(a)gmail.com
+
+- update to v0~20170105
+ * worked on tests
+ * added remove file function
+ * worked on fallback functions
+ * remove stream functions
+
+-------------------------------------------------------------------
Old:
----
libcfile-alpha-20150101.tar.gz
New:
----
libcfile-alpha-20170105.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libcfile.spec ++++++
--- /var/tmp/diff_new_pack.JY9kyt/_old 2017-02-21 13:47:35.827601958 +0100
+++ /var/tmp/diff_new_pack.JY9kyt/_new 2017-02-21 13:47:35.831601395 +0100
@@ -18,7 +18,7 @@
Name: libcfile
%define lname libcfile1
-%define timestamp 20150101
+%define timestamp 20170105
Version: 0~%timestamp
Release: 0
Summary: Library for cross-platform C file functions
++++++ libcfile-alpha-20150101.tar.gz -> libcfile-alpha-20170105.tar.gz ++++++
++++ 59822 lines of diff (skipped)
[View Less]
1
0
Hello community,
here is the log from the commit of package libcnotify for openSUSE:Factory checked in at 2017-02-21 13:47:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libcnotify (Old)
and /work/SRC/openSUSE:Factory/.libcnotify.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libcnotify"
Changes:
--------
--- /work/SRC/openSUSE:Factory/libcnotify/libcnotify.changes 2015-01-…
[View More]10 23:05:03.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libcnotify.new/libcnotify.changes 2017-02-21 13:47:28.764595892 +0100
@@ -1,0 +2,6 @@
+Wed Feb 15 19:02:54 UTC 2017 - Greg.Freemyer(a)gmail.com
+
+- update to v0~20170107
+ * worked on tests
+
+-------------------------------------------------------------------
Old:
----
libcnotify-alpha-20150101.tar.gz
New:
----
libcnotify-alpha-20170107.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libcnotify.spec ++++++
--- /var/tmp/diff_new_pack.W7Gmhr/_old 2017-02-21 13:47:29.456498525 +0100
+++ /var/tmp/diff_new_pack.W7Gmhr/_new 2017-02-21 13:47:29.460497963 +0100
@@ -18,7 +18,7 @@
Name: libcnotify
%define lname libcnotify1
-%define timestamp 20150101
+%define timestamp 20170107
Version: 0~%timestamp
Release: 0
Summary: Library for cross-platform C notify functions
@@ -32,7 +32,7 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
-A library for cross-platform C notify functions.
+A library for cross-platform C notify functions. Part of the libyal library collection.
%package -n %lname
Summary: Library for cross-platform C notify functions
++++++ libcnotify-alpha-20150101.tar.gz -> libcnotify-alpha-20170107.tar.gz ++++++
++++ 39234 lines of diff (skipped)
[View Less]
1
0
Hello community,
here is the log from the commit of package libclocale for openSUSE:Factory checked in at 2017-02-21 13:47:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libclocale (Old)
and /work/SRC/openSUSE:Factory/.libclocale.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libclocale"
Changes:
--------
--- /work/SRC/openSUSE:Factory/libclocale/libclocale.changes 2015-01-…
[View More]22 21:49:26.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libclocale.new/libclocale.changes 2017-02-21 13:47:24.433205421 +0100
@@ -1,0 +2,6 @@
+Wed Feb 15 18:45:51 UTC 2017 - Greg.Freemyer(a)gmail.com
+
+- update to v0~20170105
+ * worked on tests
+
+-------------------------------------------------------------------
Old:
----
libclocale-alpha-20150101.tar.gz
New:
----
libclocale-alpha-20170105.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libclocale.spec ++++++
--- /var/tmp/diff_new_pack.5wjBvf/_old 2017-02-21 13:47:24.949132818 +0100
+++ /var/tmp/diff_new_pack.5wjBvf/_new 2017-02-21 13:47:24.949132818 +0100
@@ -18,14 +18,14 @@
Name: libclocale
%define lname libclocale1
-%define timestamp 20150101
+%define timestamp 20170105
Version: 0~%timestamp
Release: 0
Summary: Library for cross-platform C locale functions
License: LGPL-3.0+
Group: Development/Libraries/C and C++
Url: https://github.com/libyal/libclocale/wiki
-Source: https://github.com/libyal/libclocale/releases/download/20150101/%name-alpha…
+Source: https://github.com/libyal/libclocale/releases/download/%{timestamp}/%name-a…
BuildRequires: pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build
++++++ libclocale-alpha-20150101.tar.gz -> libclocale-alpha-20170105.tar.gz ++++++
++++ 40081 lines of diff (skipped)
[View Less]
1
0
Hello community,
here is the log from the commit of package libfvalue for openSUSE:Factory checked in at 2017-02-21 13:47:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libfvalue (Old)
and /work/SRC/openSUSE:Factory/.libfvalue.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libfvalue"
Changes:
--------
--- /work/SRC/openSUSE:Factory/libfvalue/libfvalue.changes 2016-02-08 09:…
[View More]47:28.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libfvalue.new/libfvalue.changes 2017-02-21 13:47:18.582028815 +0100
@@ -1,0 +2,15 @@
+Wed Feb 15 21:26:35 UTC 2017 - Greg.Freemyer(a)gmail.com
+
+- update to v0~20170113
+- tweak dependency list
+- verified plaso run_tests.py didn't segfault
+
+-------------------------------------------------------------------
+Wed Jul 13 03:03:08 UTC 2016 - Greg.Freemyer(a)gmail.com
+
+- update to v0~20160325
+ * fixed leaks in value and data handle
+ * fix in clear function
+ * 2016 update
+
+-------------------------------------------------------------------
Old:
----
libfvalue-alpha-20151226.tar.gz
New:
----
libfvalue-experimental-20170113.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libfvalue.spec ++++++
--- /var/tmp/diff_new_pack.cq51zf/_old 2017-02-21 13:47:19.085957901 +0100
+++ /var/tmp/diff_new_pack.cq51zf/_new 2017-02-21 13:47:19.085957901 +0100
@@ -1,7 +1,7 @@
#
# spec file for package libfvalue
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -18,27 +18,25 @@
Name: libfvalue
%define lname libfvalue1
-%define timestamp 20151226
+%define timestamp 20170113
Version: 0~%{timestamp}
Release: 0
Summary: Library to provide generic file value functions
License: LGPL-3.0+
Group: Productivity/File utilities
Url: https://github.com/libyal/libfvalue/wiki
-Source: https://github.com/libyal/libfvalue/releases/download/%timestamp/%{name}-al…
+Source: https://github.com/libyal/libfvalue/releases/download/%timestamp/%{name}-ex…
BuildRequires: pkg-config
BuildRequires: python-devel
+BuildRequires: pkgconfig(libcerror)
BuildRequires: pkgconfig(libcnotify)
-BuildRequires: pkgconfig(libcthreads) >= 20130723
+BuildRequires: pkgconfig(libcthreads)
BuildRequires: pkgconfig(libfdatetime)
BuildRequires: pkgconfig(libfguid)
-BuildRequires: pkgconfig(libfwnt)
+BuildRequires: pkgconfig(libfwnt) >= 20170115
BuildRequires: pkgconfig(libuna)
-#version from factory causes a sigfault in plaso/run_tests.py (as of Jan 2016)
-#BuildRequires: pkgconfig(libcdata) > 20160108
-# version from OBS fails to build (as of Jan 2015)
-#BuildRequires: pkgconfig(libcerror) >= 20140105
-#BuildRequires: pkgconfig(libcstring) > 20150101
+#version from factory causes a sigfault in plaso/run_tests.py (as of Jan 2017)
+#BuildRequires: pkgconfig(libcdata) > 20170102
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
[View Less]
1
0
Hello community,
here is the log from the commit of package libfwnt for openSUSE:Factory checked in at 2017-02-21 13:47:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libfwnt (Old)
and /work/SRC/openSUSE:Factory/.libfwnt.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libfwnt"
Changes:
--------
--- /work/SRC/openSUSE:Factory/libfwnt/libfwnt.changes 2016-10-02 00:07:15.…
[View More]000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libfwnt.new/libfwnt.changes 2017-02-21 13:47:07.699560220 +0100
@@ -1,0 +2,6 @@
+Thu Feb 16 17:41:32 UTC 2017 - Greg.Freemyer(a)gmail.com
+
+- updated to 20170115
+- use libcstring from factory
+
+-------------------------------------------------------------------
Old:
----
libfwnt-experimental-20160418.tar.gz
New:
----
libfwnt-alpha-20170115.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libfwnt.spec ++++++
--- /var/tmp/diff_new_pack.0jI01y/_old 2017-02-21 13:47:08.211488181 +0100
+++ /var/tmp/diff_new_pack.0jI01y/_new 2017-02-21 13:47:08.215487618 +0100
@@ -1,7 +1,7 @@
#
# spec file for package libfwnt
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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,7 +17,7 @@
%define lname libfwnt1
-%define timestamp 20160418
+%define timestamp 20170115
Name: libfwnt
Version: 0~%{timestamp}
Release: 0
@@ -25,14 +25,14 @@
License: LGPL-3.0+ and GFDL-1.3+
Group: Productivity/File utilities
Url: https://github.com/libyal/libfwnt/wiki
-Source: https://github.com/libyal/libfwnt/releases/download/%timestamp/%{name}-expe…
+Source: https://github.com/libyal/libfwnt/releases/download/%timestamp/%{name}-alph…
Source2: Locale_identifier_LCID.pdf
BuildRequires: pkg-config
BuildRequires: pkgconfig(libcdata) >= 20140105
BuildRequires: pkgconfig(libcerror) >= 20140105
BuildRequires: pkgconfig(libcnotify)
+BuildRequires: pkgconfig(libcstring) >= 20120425
BuildRequires: pkgconfig(libcthreads) >= 20130723
-#BuildRequires: pkgconfig(libcstring) >= 20120425
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
[View Less]
1
0
Hello community,
here is the log from the commit of package python-plaso for openSUSE:Factory checked in at 2017-02-21 13:47:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-plaso (Old)
and /work/SRC/openSUSE:Factory/.python-plaso.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-plaso"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-plaso/python-plaso.…
[View More]changes 2016-11-12 13:00:28.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-plaso.new/python-plaso.changes 2017-02-21 13:47:01.316458459 +0100
@@ -1,0 +2,11 @@
+Wed Feb 15 13:34:35 UTC 2017 - Greg.Freemyer(a)gmail.com
+
+- fix a major bug where the front-end files were being removed.
+ * Apparently there was old plaso install bug that installed 2 copies
+
+-------------------------------------------------------------------
+Mon Oct 3 23:02:50 UTC 2016 - Greg.Freemyer(a)gmail.com
+
+- require python-efilter >= 1.1.5 to fix a bug found in testing
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-plaso.spec ++++++
--- /var/tmp/diff_new_pack.bxMFwC/_old 2017-02-21 13:47:03.908093761 +0100
+++ /var/tmp/diff_new_pack.bxMFwC/_new 2017-02-21 13:47:03.912093198 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-plaso
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -39,7 +39,7 @@
Requires: python-dateutil >= 2.4.2
Requires: python-dfwinreg
Requires: python-dpkt
-Requires: python-efilter
+Requires: python-efilter >= 1.1.5
Requires: python-hachoir-core
Requires: python-hachoir-metadata
Requires: python-hachoir-parser >= 1.3.4
@@ -131,10 +131,6 @@
"; for FILE in `grep -r ímynd.dd | sed 's/:.*$//'`; do sed 's/ímynd.dd/image.dd/g' -i $FILE; done
%endif
python setup.py install --root=%{buildroot} --prefix=%{_prefix}
-rm %{buildroot}%{python_sitelib}/plaso/frontend/psort.*
-rm %{buildroot}%{python_sitelib}/plaso/frontend/preg.*
-rm %{buildroot}%{python_sitelib}/plaso/frontend/log2timeline.*
-rm %{buildroot}%{python_sitelib}/plaso/frontend/image_export.*
# Fix python-bytecode-inconsistent-mtime
pushd %{buildroot}%{python_sitelib}/plaso/
%py_compile .
[View Less]
1
0
Hello community,
here is the log from the commit of package python-oslotest for openSUSE:Factory checked in at 2017-02-21 13:46:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslotest (Old)
and /work/SRC/openSUSE:Factory/.python-oslotest.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslotest"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslotest/…
[View More]python-oslotest.changes 2016-09-30 15:30:53.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-oslotest.new/python-oslotest.changes 2017-02-21 13:46:57.313021825 +0100
@@ -1,0 +2,11 @@
+Fri Feb 10 15:25:27 UTC 2017 - cloud-devel(a)suse.de
+
+- update to version 2.13.0:
+ - Add Constraints support
+ - Updated from global requirements
+ - Show team and repo badges on README
+ - Changed the home-page link
+ - Add reno for release notes management
+ - Remove testscenarios from requirements
+
+-------------------------------------------------------------------
Old:
----
oslotest-2.10.0.tar.gz
New:
----
oslotest-2.13.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-oslotest.spec ++++++
--- /var/tmp/diff_new_pack.eWKYYL/_old 2017-02-21 13:46:57.904938530 +0100
+++ /var/tmp/diff_new_pack.eWKYYL/_new 2017-02-21 13:46:57.904938530 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-oslotest
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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,7 +17,7 @@
Name: python-oslotest
-Version: 2.10.0
+Version: 2.13.0
Release: 0
Summary: OpenStack test framework
License: Apache-2.0
@@ -25,26 +25,25 @@
Url: https://launchpad.net/oslotest
Source0: https://pypi.io/packages/source/o/oslotest/oslotest-%{version}.tar.gz
BuildRequires: openstack-macros
-BuildRequires: python-debtcollector >= 1.2.0
+## BuildRequires: python-debtcollector >= 1.2.0
BuildRequires: python-devel
BuildRequires: python-fixtures >= 3.0.0
BuildRequires: python-mock >= 2.0
BuildRequires: python-mox3 >= 0.7.0
-BuildRequires: python-pbr >= 1.6
+BuildRequires: python-pbr >= 1.8
BuildRequires: python-python-subunit >= 0.0.18
BuildRequires: python-six >= 1.9.0
BuildRequires: python-testrepository >= 0.0.18
-BuildRequires: python-testscenarios >= 0.4
BuildRequires: python-testtools >= 1.4.0
+Requires: python-debtcollector >= 1.2.0
Requires: python-fixtures >= 3.0.0
Requires: python-mock >= 2.0
Requires: python-mox3 >= 0.7.0
# NOTE: python-os-client-config is only needed for functional testing
-#Requires: python-os-client-config >= 1.13.1
+# Requires: python-os-client-config >= 1.22.0
Requires: python-python-subunit >= 0.0.18
Requires: python-six >= 1.9.0
Requires: python-testrepository >= 0.0.18
-Requires: python-testscenarios >= 0.4
Requires: python-testtools >= 1.4.0
BuildArch: noarch
@@ -53,7 +52,8 @@
better support for mocking results.
%prep
-%setup -q -n oslotest-%{version}
+%autosetup -n oslotest-%{version}
+%py_req_cleanup
%build
%{py2_build}
@@ -61,12 +61,12 @@
%install
%{py2_install}
-%check
-%{__python2} setup.py test
+## %check
+# %{__python2} setup.py test
%files
%license LICENSE
-%doc ChangeLog README.rst AUTHORS
+%doc ChangeLog README.rst
%{_bindir}/oslo_debug_helper
%{_bindir}/oslo_run_cross_tests
%{_bindir}/oslo_run_pre_release_tests
++++++ _service ++++++
--- /var/tmp/diff_new_pack.eWKYYL/_old 2017-02-21 13:46:57.948932340 +0100
+++ /var/tmp/diff_new_pack.eWKYYL/_new 2017-02-21 13:46:57.948932340 +0100
@@ -1,20 +1,12 @@
<services>
<service mode="disabled" name="renderspec">
- <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/master/openstack/…</param>
+ <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/open…</param>
<param name="output-name">python-oslotest.spec</param>
- <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/master/global-req…</param>
+ <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/glob…</param>
+ <param name="changelog-email">cloud-devel(a)suse.de</param>
+ <param name="changelog-provider">gh,openstack,oslotest</param>
</service>
<service mode="disabled" name="download_files">
- <param name="changesgenerate">enable</param>
- </service>
-
- <service mode="disabled" name="download_files">
- <param name="changesgenerate">enable</param>
- </service>
- <service mode="disabled" name="set_version">
- <param name="basename">oslotest</param>
- </service>
- <service name="refresh_patches" mode="disabled">
- <param name="changesgenerate">enable</param>
</service>
+ <service name="format_spec_file" mode="disabled"/>
</services>
++++++ oslotest-2.10.0.tar.gz -> oslotest-2.13.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.10.0/AUTHORS new/oslotest-2.13.0/AUTHORS
--- old/oslotest-2.10.0/AUTHORS 2016-08-25 14:02:57.000000000 +0200
+++ new/oslotest-2.13.0/AUTHORS 2017-01-18 15:12:34.000000000 +0100
@@ -14,6 +14,7 @@
Dirk Mueller <dirk(a)dmllr.de>
Doug Hellmann <doug.hellmann(a)dreamhost.com>
Doug Hellmann <doug(a)doughellmann.com>
+Flavio Percoco <flaper87(a)gmail.com>
George Peristerakis <george.peristerakis(a)enovance.com>
Ihar Hrachyshka <ihrachys(a)redhat.com>
Ilya Pekelny <ipekelny(a)mirantis.com>
@@ -39,8 +40,10 @@
Sergey Kraynev <skraynev(a)mirantis.com>
Soren Hansen <soren(a)linux2go.dk>
Steve Martinelli <stevemar(a)ca.ibm.com>
+Tony Breeds <tony(a)bakeyournoodle.com>
Victor Stinner <vstinner(a)redhat.com>
Yuriy Taraday <yorik.sar(a)gmail.com>
Zhongyue Luo <zhongyue.nah(a)intel.com>
+melissaml <ma.lei(a)99cloud.net>
venkatamahesh <venkatamaheshkotha(a)gmail.com>
yan.haifeng <yanheven(a)qq.com>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.10.0/ChangeLog new/oslotest-2.13.0/ChangeLog
--- old/oslotest-2.10.0/ChangeLog 2016-08-25 14:02:57.000000000 +0200
+++ new/oslotest-2.13.0/ChangeLog 2017-01-18 15:12:34.000000000 +0100
@@ -1,6 +1,29 @@
CHANGES
=======
+2.13.0
+------
+
+* Add Constraints support
+* Show team and repo badges on README
+
+2.12.0
+------
+
+* Updated from global requirements
+* Add reno for release notes management
+* Updated from global requirements
+* Updated from global requirements
+* Changed the home-page link
+
+2.11.0
+------
+
+* Remove testscenarios from requirements
+* Updated from global requirements
+* Updated from global requirements
+* Updated from global requirements
+
2.10.0
------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.10.0/PKG-INFO new/oslotest-2.13.0/PKG-INFO
--- old/oslotest-2.10.0/PKG-INFO 2016-08-25 14:02:57.000000000 +0200
+++ new/oslotest-2.13.0/PKG-INFO 2017-01-18 15:12:34.000000000 +0100
@@ -1,12 +1,21 @@
Metadata-Version: 1.1
Name: oslotest
-Version: 2.10.0
+Version: 2.13.0
Summary: Oslo test framework
-Home-page: http://wiki.openstack.org/wiki/Oslo#oslotest
+Home-page: http://docs.openstack.org/developer/oslotest
Author: OpenStack
Author-email: openstack-dev(a)lists.openstack.org
License: UNKNOWN
-Description: =======================================================
+Description: ========================
+ Team and repository tags
+ ========================
+
+ .. image:: http://governance.openstack.org/badges/oslotest.svg
+ :target: http://governance.openstack.org/reference/tags/index.html
+
+ .. Change things from this point on
+
+ =======================================================
oslotest -- OpenStack Testing Framework and Utilities
=======================================================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.10.0/README.rst new/oslotest-2.13.0/README.rst
--- old/oslotest-2.10.0/README.rst 2016-08-25 14:01:26.000000000 +0200
+++ new/oslotest-2.13.0/README.rst 2017-01-18 15:10:36.000000000 +0100
@@ -1,3 +1,12 @@
+========================
+Team and repository tags
+========================
+
+.. image:: http://governance.openstack.org/badges/oslotest.svg
+ :target: http://governance.openstack.org/reference/tags/index.html
+
+.. Change things from this point on
+
=======================================================
oslotest -- OpenStack Testing Framework and Utilities
=======================================================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.10.0/oslotest.egg-info/PKG-INFO new/oslotest-2.13.0/oslotest.egg-info/PKG-INFO
--- old/oslotest-2.10.0/oslotest.egg-info/PKG-INFO 2016-08-25 14:02:57.000000000 +0200
+++ new/oslotest-2.13.0/oslotest.egg-info/PKG-INFO 2017-01-18 15:12:34.000000000 +0100
@@ -1,12 +1,21 @@
Metadata-Version: 1.1
Name: oslotest
-Version: 2.10.0
+Version: 2.13.0
Summary: Oslo test framework
-Home-page: http://wiki.openstack.org/wiki/Oslo#oslotest
+Home-page: http://docs.openstack.org/developer/oslotest
Author: OpenStack
Author-email: openstack-dev(a)lists.openstack.org
License: UNKNOWN
-Description: =======================================================
+Description: ========================
+ Team and repository tags
+ ========================
+
+ .. image:: http://governance.openstack.org/badges/oslotest.svg
+ :target: http://governance.openstack.org/reference/tags/index.html
+
+ .. Change things from this point on
+
+ =======================================================
oslotest -- OpenStack Testing Framework and Utilities
=======================================================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.10.0/oslotest.egg-info/SOURCES.txt new/oslotest-2.13.0/oslotest.egg-info/SOURCES.txt
--- old/oslotest-2.10.0/oslotest.egg-info/SOURCES.txt 2016-08-25 14:02:57.000000000 +0200
+++ new/oslotest-2.13.0/oslotest.egg-info/SOURCES.txt 2017-01-18 15:12:34.000000000 +0100
@@ -51,6 +51,13 @@
oslotest/tests/unit/test_timeout.py
oslotest/tools/__init__.py
oslotest/tools/config.py
+releasenotes/notes/add-reno-996dd44974d53238.yaml
+releasenotes/source/conf.py
+releasenotes/source/index.rst
+releasenotes/source/unreleased.rst
+releasenotes/source/_static/.placeholder
+releasenotes/source/_templates/.placeholder
tools/oslo_debug_helper
tools/oslo_run_cross_tests
-tools/oslo_run_pre_release_tests
\ No newline at end of file
+tools/oslo_run_pre_release_tests
+tools/tox_install.sh
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.10.0/oslotest.egg-info/pbr.json new/oslotest-2.13.0/oslotest.egg-info/pbr.json
--- old/oslotest-2.10.0/oslotest.egg-info/pbr.json 2016-08-25 14:02:57.000000000 +0200
+++ new/oslotest-2.13.0/oslotest.egg-info/pbr.json 2017-01-18 15:12:34.000000000 +0100
@@ -1 +1 @@
-{"git_version": "0fad885", "is_release": true}
\ No newline at end of file
+{"is_release": true, "git_version": "5337479"}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.10.0/oslotest.egg-info/requires.txt new/oslotest-2.13.0/oslotest.egg-info/requires.txt
--- old/oslotest-2.10.0/oslotest.egg-info/requires.txt 2016-08-25 14:02:57.000000000 +0200
+++ new/oslotest-2.13.0/oslotest.egg-info/requires.txt 2017-01-18 15:12:34.000000000 +0100
@@ -2,9 +2,8 @@
python-subunit>=0.0.18
six>=1.9.0
testrepository>=0.0.18
-testscenarios>=0.4
testtools>=1.4.0
mock>=2.0
mox3>=0.7.0
-os-client-config!=1.19.0,!=1.19.1,!=1.20.0,>=1.13.1
+os-client-config>=1.22.0
debtcollector>=1.2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.10.0/releasenotes/notes/add-reno-996dd44974d53238.yaml new/oslotest-2.13.0/releasenotes/notes/add-reno-996dd44974d53238.yaml
--- old/oslotest-2.10.0/releasenotes/notes/add-reno-996dd44974d53238.yaml 1970-01-01 01:00:00.000000000 +0100
+++ new/oslotest-2.13.0/releasenotes/notes/add-reno-996dd44974d53238.yaml 2017-01-18 15:10:36.000000000 +0100
@@ -0,0 +1,3 @@
+---
+other:
+ - Introduce reno for deployer release notes.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.10.0/releasenotes/source/conf.py new/oslotest-2.13.0/releasenotes/source/conf.py
--- old/oslotest-2.10.0/releasenotes/source/conf.py 1970-01-01 01:00:00.000000000 +0100
+++ new/oslotest-2.13.0/releasenotes/source/conf.py 2017-01-18 15:10:36.000000000 +0100
@@ -0,0 +1,276 @@
+# -*- coding: utf-8 -*-
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# This file is execfile()d with the current directory set to its
+# containing dir.
+#
+# Note that not all possible configuration values are present in this
+# autogenerated file.
+#
+# All configuration values have a default; values that are commented out
+# serve to show the default.
+
+# If extensions (or modules to document with autodoc) are in another directory,
+# add these directories to sys.path here. If the directory is relative to the
+# documentation root, use os.path.abspath to make it absolute, like shown here.
+# sys.path.insert(0, os.path.abspath('.'))
+
+# -- General configuration ------------------------------------------------
+
+# If your documentation needs a minimal Sphinx version, state it here.
+# needs_sphinx = '1.0'
+
+# Add any Sphinx extension module names here, as strings. They can be
+# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
+# ones.
+extensions = [
+ 'oslosphinx',
+ 'reno.sphinxext',
+]
+
+# Add any paths that contain templates here, relative to this directory.
+templates_path = ['_templates']
+
+# The suffix of source filenames.
+source_suffix = '.rst'
+
+# The encoding of source files.
+# source_encoding = 'utf-8-sig'
+
+# The master toctree document.
+master_doc = 'index'
+
+# General information about the project.
+project = u'oslotest Release Notes'
+copyright = u'2016, oslotest 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.
+# The full version, including alpha/beta/rc tags.
+import pkg_resources
+release = pkg_resources.get_distribution('oslotest').version
+# The short X.Y version.
+version = release
+
+# The language for content autogenerated by Sphinx. Refer to documentation
+# for a list of supported languages.
+# language = None
+
+# There are two options for replacing |today|: either, you set today to some
+# non-false value, then it is used:
+# today = ''
+# Else, today_fmt is used as the format for a strftime call.
+# today_fmt = '%B %d, %Y'
+
+# List of patterns, relative to source directory, that match files and
+# directories to ignore when looking for source files.
+exclude_patterns = []
+
+# The reST default role (used for this markup: `text`) to use for all
+# documents.
+# default_role = None
+
+# If true, '()' will be appended to :func: etc. cross-reference text.
+# add_function_parentheses = True
+
+# If true, the current module name will be prepended to all description
+# unit titles (such as .. function::).
+# add_module_names = True
+
+# If true, sectionauthor and moduleauthor directives will be shown in the
+# output. They are ignored by default.
+# show_authors = False
+
+# The name of the Pygments (syntax highlighting) style to use.
+pygments_style = 'sphinx'
+
+# A list of ignored prefixes for module index sorting.
+# modindex_common_prefix = []
+
+# If true, keep warnings as "system message" paragraphs in the built documents.
+# keep_warnings = False
+
+
+# -- Options for HTML output ----------------------------------------------
+
+# The theme to use for HTML and HTML Help pages. See the documentation for
+# a list of builtin themes.
+html_theme = 'default'
+
+# Theme options are theme-specific and customize the look and feel of a theme
+# further. For a list of options available for each theme, see the
+# documentation.
+# html_theme_options = {}
+
+# Add any paths that contain custom themes here, relative to this directory.
+# html_theme_path = []
+
+# The name for this set of Sphinx documents. If None, it defaults to
+# "<project> v<release> documentation".
+# html_title = None
+
+# A shorter title for the navigation bar. Default is the same as html_title.
+# html_short_title = None
+
+# The name of an image file (relative to this directory) to place at the top
+# of the sidebar.
+# html_logo = None
+
+# The name of an image file (within the static path) to use as favicon of the
+# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
+# pixels large.
+# html_favicon = None
+
+# Add any paths that contain custom static files (such as style sheets) here,
+# relative to this directory. They are copied after the builtin static files,
+# so a file named "default.css" will overwrite the builtin "default.css".
+html_static_path = ['_static']
+
+# Add any extra paths that contain custom files (such as robots.txt or
+# .htaccess) here, relative to this directory. These files are copied
+# directly to the root of the documentation.
+# html_extra_path = []
+
+# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
+# using the given strftime format.
+# html_last_updated_fmt = '%b %d, %Y'
+
+# If true, SmartyPants will be used to convert quotes and dashes to
+# typographically correct entities.
+# html_use_smartypants = True
+
+# Custom sidebar templates, maps document names to template names.
+# html_sidebars = {}
+
+# Additional templates that should be rendered to pages, maps page names to
+# template names.
+# html_additional_pages = {}
+
+# If false, no module index is generated.
+# html_domain_indices = True
+
+# If false, no index is generated.
+# html_use_index = True
+
+# If true, the index is split into individual pages for each letter.
+# html_split_index = False
+
+# If true, links to the reST sources are added to the pages.
+# html_show_sourcelink = True
+
+# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
+# html_show_sphinx = True
+
+# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
+# html_show_copyright = True
+
+# If true, an OpenSearch description file will be output, and all pages will
+# contain a <link> tag referring to it. The value of this option must be the
+# base URL from which the finished HTML is served.
+# html_use_opensearch = ''
+
+# This is the file name suffix for HTML files (e.g. ".xhtml").
+# html_file_suffix = None
+
+# Output file base name for HTML help builder.
+htmlhelp_basename = 'oslotestReleaseNotesDoc'
+
+
+# -- Options for LaTeX output ---------------------------------------------
+
+latex_elements = {
+ # The paper size ('letterpaper' or 'a4paper').
+ # 'papersize': 'letterpaper',
+
+ # The font size ('10pt', '11pt' or '12pt').
+ # 'pointsize': '10pt',
+
+ # Additional stuff for the LaTeX preamble.
+ # 'preamble': '',
+}
+
+# Grouping the document tree into LaTeX files. List of tuples
+# (source start file, target name, title,
+# author, documentclass [howto, manual, or own class]).
+latex_documents = [
+ ('index', 'oslotestReleaseNotes.tex',
+ u'oslotest Release Notes Documentation',
+ u'oslotest Developers', 'manual'),
+]
+
+# The name of an image file (relative to this directory) to place at the top of
+# the title page.
+# latex_logo = None
+
+# For "manual" documents, if this is true, then toplevel headings are parts,
+# not chapters.
+# latex_use_parts = False
+
+# If true, show page references after internal links.
+# latex_show_pagerefs = False
+
+# If true, show URL addresses after external links.
+# latex_show_urls = False
+
+# Documents to append as an appendix to all manuals.
+# latex_appendices = []
+
+# If false, no module index is generated.
+# latex_domain_indices = True
+
+
+# -- Options for manual page output ---------------------------------------
+
+# One entry per manual page. List of tuples
+# (source start file, name, description, authors, manual section).
+man_pages = [
+ ('index', 'oslotestReleaseNotes',
+ u'oslotest Release Notes Documentation',
+ [u'oslotest Developers'], 1)
+]
+
+# If true, show URL addresses after external links.
+# man_show_urls = False
+
+
+# -- Options for Texinfo output -------------------------------------------
+
+# Grouping the document tree into Texinfo files. List of tuples
+# (source start file, target name, title, author,
+# dir menu entry, description, category)
+texinfo_documents = [
+ ('index', 'oslotestReleaseNotes',
+ u'oslotest Release Notes Documentation',
+ u'oslotest Developers', 'oslotestReleaseNotes',
+ 'One line description of project.',
+ 'Miscellaneous'),
+]
+
+# Documents to append as an appendix to all manuals.
+# texinfo_appendices = []
+
+# If false, no module index is generated.
+# texinfo_domain_indices = True
+
+# How to display URL addresses: 'footnote', 'no', or 'inline'.
+# texinfo_show_urls = 'footnote'
+
+# If true, do not generate a @detailmenu in the "Top" node's menu.
+# texinfo_no_detailmenu = False
+
+# -- Options for Internationalization output ------------------------------
+locale_dirs = ['locale/']
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.10.0/releasenotes/source/index.rst new/oslotest-2.13.0/releasenotes/source/index.rst
--- old/oslotest-2.10.0/releasenotes/source/index.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/oslotest-2.13.0/releasenotes/source/index.rst 2017-01-18 15:10:36.000000000 +0100
@@ -0,0 +1,8 @@
+========================
+ oslotest Release Notes
+========================
+
+ .. toctree::
+ :maxdepth: 1
+
+ unreleased
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.10.0/releasenotes/source/unreleased.rst new/oslotest-2.13.0/releasenotes/source/unreleased.rst
--- old/oslotest-2.10.0/releasenotes/source/unreleased.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/oslotest-2.13.0/releasenotes/source/unreleased.rst 2017-01-18 15:10:36.000000000 +0100
@@ -0,0 +1,5 @@
+==============================
+ Current Series Release Notes
+==============================
+
+.. release-notes::
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.10.0/requirements.txt new/oslotest-2.13.0/requirements.txt
--- old/oslotest-2.10.0/requirements.txt 2016-08-25 14:01:27.000000000 +0200
+++ new/oslotest-2.13.0/requirements.txt 2017-01-18 15:10:36.000000000 +0100
@@ -6,9 +6,8 @@
python-subunit>=0.0.18 # Apache-2.0/BSD
six>=1.9.0 # MIT
testrepository>=0.0.18 # Apache-2.0/BSD
-testscenarios>=0.4 # Apache-2.0/BSD
testtools>=1.4.0 # MIT
mock>=2.0 # BSD
mox3>=0.7.0 # Apache-2.0
-os-client-config!=1.19.0,!=1.19.1,!=1.20.0,>=1.13.1 # Apache-2.0
+os-client-config>=1.22.0 # Apache-2.0
debtcollector>=1.2.0 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.10.0/setup.cfg new/oslotest-2.13.0/setup.cfg
--- old/oslotest-2.10.0/setup.cfg 2016-08-25 14:02:57.000000000 +0200
+++ new/oslotest-2.13.0/setup.cfg 2017-01-18 15:12:34.000000000 +0100
@@ -5,7 +5,7 @@
README.rst
author = OpenStack
author-email = openstack-dev(a)lists.openstack.org
-home-page = http://wiki.openstack.org/wiki/Oslo#oslotest
+home-page = http://docs.openstack.org/developer/oslotest
classifier =
Environment :: OpenStack
Intended Audience :: Developers
@@ -45,5 +45,4 @@
[egg_info]
tag_build =
tag_date = 0
-tag_svn_revision = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.10.0/test-requirements.txt new/oslotest-2.13.0/test-requirements.txt
--- old/oslotest-2.10.0/test-requirements.txt 2016-08-25 14:01:26.000000000 +0200
+++ new/oslotest-2.13.0/test-requirements.txt 2017-01-18 15:10:36.000000000 +0100
@@ -7,9 +7,11 @@
# when we can require tox>= 1.4, this can go into tox.ini:
# [testenv:cover]
# deps = {[testenv]deps} coverage
-coverage>=3.6 # Apache-2.0
+coverage>=4.0 # Apache-2.0
# this is required for the docs build jobs
-sphinx!=1.3b1,<1.3,>=1.2.1 # BSD
-oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0
-oslo.config>=3.14.0 # Apache-2.0
+sphinx!=1.3b1,<1.4,>=1.2.1 # BSD
+oslosphinx>=4.7.0 # Apache-2.0
+oslo.config!=3.18.0,>=3.14.0 # Apache-2.0
+
+reno>=1.8.0 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.10.0/tools/tox_install.sh new/oslotest-2.13.0/tools/tox_install.sh
--- old/oslotest-2.10.0/tools/tox_install.sh 1970-01-01 01:00:00.000000000 +0100
+++ new/oslotest-2.13.0/tools/tox_install.sh 2017-01-18 15:10:36.000000000 +0100
@@ -0,0 +1,30 @@
+#!/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/oslotest-2.10.0/tox.ini new/oslotest-2.13.0/tox.ini
--- old/oslotest-2.10.0/tox.ini 2016-08-25 14:01:26.000000000 +0200
+++ new/oslotest-2.13.0/tox.ini 2017-01-18 15:10:36.000000000 +0100
@@ -1,8 +1,14 @@
[tox]
+minversion = 2.0
distribute = False
envlist = py35,py34,py27,pep8
[testenv]
+setenv =
+ VIRTUAL_ENV={envdir}
+ BRANCH_NAME=master
+ CLIENT_NAME=oslotest
+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 = -r{toxinidir}/test-requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'
@@ -10,7 +16,6 @@
commands = flake8
[testenv:cover]
-setenv = VIRTUAL_ENV={envdir}
commands =
python setup.py test --coverage --testr-args='{posargs}'
@@ -27,3 +32,6 @@
[hacking]
import_exceptions =
six.moves.mock
+
+[testenv:releasenotes]
+commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[View Less]
1
0
Hello community,
here is the log from the commit of package pidgin-sipe for openSUSE:Factory checked in at 2017-02-21 13:46:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pidgin-sipe (Old)
and /work/SRC/openSUSE:Factory/.pidgin-sipe.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pidgin-sipe"
Changes:
--------
--- /work/SRC/openSUSE:Factory/pidgin-sipe/pidgin-sipe.changes …
[View More]2017-02-03 18:55:53.450233398 +0100
+++ /work/SRC/openSUSE:Factory/.pidgin-sipe.new/pidgin-sipe.changes 2017-02-21 13:46:52.569689309 +0100
@@ -1,0 +2,25 @@
+Wed Feb 15 14:25:23 UTC 2017 - sor.alexei(a)meowr.ru
+
+- Conditionalise video/audio to fix build on SLE 12 SP1.
+
+-------------------------------------------------------------------
+Wed Feb 15 10:39:29 UTC 2017 - mrueckert(a)suse.de
+
+- update to 1.22.0
+ - Feature #93: Support for Lync Autodiscover (Stefan Becker)
+ - Feature #6: Application Sharing Viewer (Jakub Adam)
+ * requires libpurple >= 2.12.0
+ * needs an external RDP client - remmina and xfreerdp are supported
+ - Fixed #315: Crash when contact list is empty (Stefan Becker)
+ - Fixed #314: sipe login problems with long pw (Stefan Becker)
+ - separate logging and debugging output (Stefan Becker)
+ * logging is always shown, e.g. in the Pidgin debug window
+ * full message debugging now requires PURPLE_UNSAFE_DEBUG=1
+ - new translations: Greek (el), Lithuanian (lt)
+- drop pidgin-sipe-gstreamer-1.0.patch: no longer needed
+- add recommends for remmina and freerdp so the desktop sharing
+ stuff would work out of the box
+- add BR for gstreamer-rtp-1.0 and farstream-0.2 to keep the
+ video/audio feature working
+
+-------------------------------------------------------------------
Old:
----
pidgin-sipe-1.21.1.tar.xz
pidgin-sipe-gstreamer-1.0.patch
New:
----
pidgin-sipe-1.22.0.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ pidgin-sipe.spec ++++++
--- /var/tmp/diff_new_pack.f6v8Kw/_old 2017-02-21 13:46:53.049621773 +0100
+++ /var/tmp/diff_new_pack.f6v8Kw/_new 2017-02-21 13:46:53.053621210 +0100
@@ -1,7 +1,7 @@
#
# spec file for package pidgin-sipe
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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,27 +17,31 @@
Name: pidgin-sipe
-Version: 1.21.1
+Version: 1.22.0
Release: 0
Summary: Pidgin protocol plugin to connect to MS Skype for Business
License: GPL-2.0+
Group: Productivity/Networking/Instant Messenger
Url: http://sipe.sourceforge.net/
Source: http://downloads.sf.net/sipe/%{name}-%{version}.tar.xz
-# PATCH-FEATURE-UPSTREAM pidgin-sipe-gstreamer-1.0.patch dimstar(a)opensuse.org -- Read the GStreamer branch to be used from purple.pc; taken from https://pidgin.im/pipermail/devel/2015-March/023647.html
-Patch0: pidgin-sipe-gstreamer-1.0.patch
BuildRequires: intltool
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: translation-update-upstream
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gmime-2.6)
-BuildRequires: pkgconfig(gstreamer-1.0)
BuildRequires: pkgconfig(krb5)
BuildRequires: pkgconfig(nice) >= 0.1.0
BuildRequires: pkgconfig(nss)
BuildRequires: pkgconfig(purple)
BuildRequires: pkgconfig(telepathy-glib) >= 0.18.0
+%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200 || (0%{?sle_version} >= 120100 && 0%{?is_opensuse})
+BuildRequires: pkgconfig(farstream-0.2)
+BuildRequires: pkgconfig(gstreamer-1.0)
+BuildRequires: pkgconfig(gstreamer-rtp-1.0)
+Recommends: freerdp
+Recommends: remmina
+%endif
%description
A third-party plugin for the Pidgin multi-protocol instant
@@ -60,8 +64,8 @@
Requires: libpurple-plugin-sipe = %{version}
Supplements: packageand(libpurple-plugin-sipe:pidgin)
# pidgin-sipe was last used in openSUSE Leap 42.2.
-Provides: %{name} = %{version}-%{release}
-Obsoletes: %{name} < %{version}-%{release}
+Provides: %{name} = %{version}
+Obsoletes: %{name} < %{version}
BuildArch: noarch
%requires_ge pidgin
@@ -106,8 +110,8 @@
Summary: MS Skype for Business connection manager for Telepathy
Group: Productivity/Networking/Instant Messenger
# telepathy-plugin-sipe was last used in openSUSE Leap 42.2.
-Provides: telepathy-plugin-sipe = %{version}-%{release}
-Obsoletes: telepathy-plugin-sipe < %{version}-%{release}
+Provides: telepathy-plugin-sipe = %{version}
+Obsoletes: telepathy-plugin-sipe < %{version}
%description -n telepathy-sipe
A third-party connection manager for the telepathy multi-protocol
@@ -123,17 +127,19 @@
%prep
%setup -q
-%patch0 -p1
translation-update-upstream
%build
-autoreconf -fi
%configure \
--disable-quality-check \
--with-krb5 \
+%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200 || (0%{?sle_version} >= 120100 && 0%{?is_opensuse})
+ --with-vv \
+%else
+ --without-vv \
+%endif
--enable-purple \
- --enable-telepathy \
- --with-vv
+ --enable-telepathy
make %{?_smp_mflags} V=1
%install
++++++ pidgin-sipe-1.21.1.tar.xz -> pidgin-sipe-1.22.0.tar.xz ++++++
++++ 34445 lines of diff (skipped)
[View Less]
1
0
Hello community,
here is the log from the commit of package python-oslo.context for openSUSE:Factory checked in at 2017-02-21 13:46:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.context (Old)
and /work/SRC/openSUSE:Factory/.python-oslo.context.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.context"
Changes:
--------
--- /work/SRC/openSUSE:Factory/…
[View More]python-oslo.context/python-oslo.context.changes 2016-09-30 15:29:18.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-oslo.context.new/python-oslo.context.changes 2017-02-21 13:46:46.318570032 +0100
@@ -1,0 +2,27 @@
+Mon Feb 13 18:13:02 UTC 2017 - cloud-devel(a)suse.de
+
+- update to version 2.12.1:
+ - Move existing attributes to _id suffixed attributes
+ - Reformat the Context.__init__ arguments
+ - Remove references to Python 3.4
+ - Add Constraints support
+ - Show team and repo badges on README
+ - Update .gitreview for stable/ocata
+ - Postpone deprecation warnings to Pike
+ - Updated from global requirements
+ - Add the service token details to context
+
+-------------------------------------------------------------------
+Mon Feb 13 09:21:21 UTC 2017 - cloud-devel(a)suse.de
+
+- update to version 2.11.0:
+ - Update reno for stable/newton
+ - Revert "Fix X-User and X-Tenant deprecated headers in from_environ"
+ - Changed the home-page link
+ - Fix typos
+ - Enable release notes translation
+ - Fix X-User and X-Tenant deprecated headers in from_environ
+ - Updated from global requirements
+ - Provide a way to deprecate policy values
+
+-------------------------------------------------------------------
Old:
----
oslo.context-2.9.0.tar.gz
New:
----
oslo.context-2.12.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-oslo.context.spec ++++++
--- /var/tmp/diff_new_pack.9tYHlW/_old 2017-02-21 13:46:46.714514157 +0100
+++ /var/tmp/diff_new_pack.9tYHlW/_new 2017-02-21 13:46:46.718513593 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-oslo.context
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -19,19 +19,21 @@
%global sname oslo.context
%bcond_without test
Name: python-oslo.context
-Version: 2.9.0
+Version: 2.12.1
Release: 0
Summary: OpenStack Oslo context library
License: Apache-2.0
-Group: Development/Languages
+Group: Development/Languages/Python
Url: https://launchpad.net/%{sname}
Source0: https://pypi.io/packages/source/o/%{sname}/%{sname}-%{version}.tar.gz
BuildRequires: openstack-macros
-BuildRequires: python-pbr >= 1.6
-BuildRequires: python-positional >= 1.0.1
-Requires: python-positional >= 1.0.1
+BuildRequires: python-pbr >= 1.8
+BuildRequires: python-positional >= 1.1.1
+Requires: python-debtcollector >= 1.2.0
+Requires: python-positional >= 1.1.1
BuildArch: noarch
%if %{with test}
+BuildRequires: python-debtcollector >= 1.2.0
BuildRequires: python-oslotest >= 1.10.0
%endif
@@ -42,16 +44,17 @@
used by various modules such as logging.
%package doc
-Summary: Documentation for OpenStack common configuration library
+Summary: Documentation for OpenStack common context library
Group: Documentation
BuildRequires: python-Sphinx
-BuildRequires: python-oslosphinx >= 2.5.0
+BuildRequires: python-oslosphinx >= 4.7.0
%description doc
Documentation for the oslo-context library.
%prep
-%setup -q -n %{sname}-%{version}
+%autosetup -n %{sname}-%{version}
+%py_req_cleanup
%build
%{py2_build}
@@ -70,7 +73,7 @@
%files
%license LICENSE
-%doc README.rst AUTHORS
+%doc README.rst
%{python2_sitelib}/oslo_context
%{python2_sitelib}/*.egg-info
++++++ _service ++++++
--- /var/tmp/diff_new_pack.9tYHlW/_old 2017-02-21 13:46:46.754508514 +0100
+++ /var/tmp/diff_new_pack.9tYHlW/_new 2017-02-21 13:46:46.754508514 +0100
@@ -1,13 +1,12 @@
<services>
<service mode="disabled" name="renderspec">
- <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/master/openstack/…</param>
+ <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/open…</param>
<param name="output-name">python-oslo.context.spec</param>
- <param name="requirements">https://raw.githubusercontent.com/openstack/requirements/master/global-requ…</param>
+ <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/glob…</param>
+ <param name="changelog-email">cloud-devel(a)suse.de</param>
+ <param name="changelog-provider">gh,openstack,oslo.context</param>
</service>
<service mode="disabled" name="download_files">
- <param name="changesgenerate">enable</param>
- </service>
- <service name="refresh_patches" mode="disabled">
- <param name="changesgenerate">enable</param>
</service>
+ <service name="format_spec_file" mode="disabled"/>
</services>
++++++ oslo.context-2.9.0.tar.gz -> oslo.context-2.12.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-2.9.0/AUTHORS new/oslo.context-2.12.1/AUTHORS
--- old/oslo.context-2.9.0/AUTHORS 2016-08-18 19:58:39.000000000 +0200
+++ new/oslo.context-2.12.1/AUTHORS 2017-01-30 19:11:25.000000000 +0100
@@ -1,5 +1,7 @@
Alexander Gorodnev <agorodnev(a)mirantis.com>
+Andreas Jaeger <aj(a)suse.com>
Andrew Bogott <abogott(a)wikimedia.org>
+Atsushi SAKAI <sakaia(a)jp.fujitsu.com>
ChangBo Guo(gcb) <eric.guo(a)easystack.cn>
Cyril Roelandt <cyril.roelandt(a)enovance.com>
Davanum Srinivas (dims) <davanum(a)gmail.com>
@@ -7,6 +9,8 @@
Davanum Srinivas <dims(a)linux.vnet.ibm.com>
Dina Belova <dbelova(a)mirantis.com>
Doug Hellmann <doug(a)doughellmann.com>
+Eric Brown <browne(a)vmware.com>
+Flavio Percoco <flaper87(a)gmail.com>
Flavio Percoco <fpercoco(a)redhat.com>
James Carey <jecarey(a)us.ibm.com>
Jamie Lennox <jamielennox(a)gmail.com>
@@ -19,12 +23,15 @@
Kirill Bespalov <kbespalov(a)mirantis.com>
Michael Basnight <mbasnight(a)gmail.com>
Monty Taylor <mordred(a)inaugust.com>
+OpenStack Release Bot <infra-root(a)openstack.org>
Ronald Bradford <ronald.bradford(a)gmail.com>
Sean Dague <sean(a)dague.net>
Steve Martinelli <stevemar(a)ca.ibm.com>
Thomas Herve <thomas.herve(a)enovance.com>
+Tony Breeds <tony(a)bakeyournoodle.com>
Victor Sergeyev <vsergeyev(a)mirantis.com>
Victor Stinner <vstinner(a)redhat.com>
Wei Li <wei.li(a)easystack.cn>
Zhongyue Luo <zhongyue.nah(a)intel.com>
+melissaml <ma.lei(a)99cloud.net>
yanheven <yanheven(a)qq.com>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-2.9.0/ChangeLog new/oslo.context-2.12.1/ChangeLog
--- old/oslo.context-2.9.0/ChangeLog 2016-08-18 19:58:39.000000000 +0200
+++ new/oslo.context-2.12.1/ChangeLog 2017-01-30 19:11:25.000000000 +0100
@@ -1,6 +1,42 @@
CHANGES
=======
+2.12.1
+------
+
+* Postpone deprecation warnings to Pike
+* Update .gitreview for stable/ocata
+
+2.12.0
+------
+
+* Updated from global requirements
+* Remove references to Python 3.4
+* Add Constraints support
+* Show team and repo badges on README
+* Add the service token details to context
+* Reformat the Context.__init__ arguments
+* Move existing attributes to _id suffixed attributes
+
+2.11.0
+------
+
+* Updated from global requirements
+* Revert "Fix X-User and X-Tenant deprecated headers in from_environ"
+* Updated from global requirements
+* Updated from global requirements
+* Changed the home-page link
+
+2.10.0
+------
+
+* Enable release notes translation
+* Updated from global requirements
+* Provide a way to deprecate policy values
+* Update reno for stable/newton
+* Fix typos
+* Fix X-User and X-Tenant deprecated headers in from_environ
+
2.9.0
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-2.9.0/PKG-INFO new/oslo.context-2.12.1/PKG-INFO
--- old/oslo.context-2.9.0/PKG-INFO 2016-08-18 19:58:39.000000000 +0200
+++ new/oslo.context-2.12.1/PKG-INFO 2017-01-30 19:11:25.000000000 +0100
@@ -1,12 +1,21 @@
Metadata-Version: 1.1
Name: oslo.context
-Version: 2.9.0
+Version: 2.12.1
Summary: Oslo Context library
-Home-page: http://launchpad.net/oslo
+Home-page: http://docs.openstack.org/developer/oslo.context
Author: OpenStack
Author-email: openstack-dev(a)lists.openstack.org
License: UNKNOWN
-Description: ====================
+Description: ========================
+ Team and repository tags
+ ========================
+
+ .. image:: http://governance.openstack.org/badges/oslo.context.svg
+ :target: http://governance.openstack.org/reference/tags/index.html
+
+ .. Change things from this point on
+
+ ====================
Oslo Context Library
====================
@@ -38,5 +47,4 @@
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-2.9.0/README.rst new/oslo.context-2.12.1/README.rst
--- old/oslo.context-2.9.0/README.rst 2016-08-18 19:57:09.000000000 +0200
+++ new/oslo.context-2.12.1/README.rst 2017-01-30 19:09:52.000000000 +0100
@@ -1,3 +1,12 @@
+========================
+Team and repository tags
+========================
+
+.. image:: http://governance.openstack.org/badges/oslo.context.svg
+ :target: http://governance.openstack.org/reference/tags/index.html
+
+.. Change things from this point on
+
====================
Oslo Context Library
====================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-2.9.0/doc/source/examples/usage.py new/oslo.context-2.12.1/doc/source/examples/usage.py
--- old/oslo.context-2.9.0/doc/source/examples/usage.py 2016-08-18 19:57:09.000000000 +0200
+++ new/oslo.context-2.12.1/doc/source/examples/usage.py 2017-01-30 19:09:52.000000000 +0100
@@ -14,7 +14,7 @@
# License for the specific language governing permissions and limitations
# under the License.
-"""A respresentative usage example of Oslo Context
+"""A representative usage example of Oslo Context
This example requires the following modules to be installed.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-2.9.0/doc/source/examples.rst new/oslo.context-2.12.1/doc/source/examples.rst
--- old/oslo.context-2.9.0/doc/source/examples.rst 2016-08-18 19:57:09.000000000 +0200
+++ new/oslo.context-2.12.1/doc/source/examples.rst 2017-01-30 19:09:52.000000000 +0100
@@ -6,9 +6,9 @@
These files can be found in the doc/source/examples directory of
the git source of this project. They can also be found at the
-`online git respository`_ of this project.
+`online git repository`_ of this project.
-.. _online git respository: http://git.openstack.org/cgit/openstack/oslo.context/tree/doc/source/exampl…
+.. _online git repository: http://git.openstack.org/cgit/openstack/oslo.context/tree/doc/source/exampl…
.. _example_usage_simple.py:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-2.9.0/oslo.context.egg-info/PKG-INFO new/oslo.context-2.12.1/oslo.context.egg-info/PKG-INFO
--- old/oslo.context-2.9.0/oslo.context.egg-info/PKG-INFO 2016-08-18 19:58:39.000000000 +0200
+++ new/oslo.context-2.12.1/oslo.context.egg-info/PKG-INFO 2017-01-30 19:11:25.000000000 +0100
@@ -1,12 +1,21 @@
Metadata-Version: 1.1
Name: oslo.context
-Version: 2.9.0
+Version: 2.12.1
Summary: Oslo Context library
-Home-page: http://launchpad.net/oslo
+Home-page: http://docs.openstack.org/developer/oslo.context
Author: OpenStack
Author-email: openstack-dev(a)lists.openstack.org
License: UNKNOWN
-Description: ====================
+Description: ========================
+ Team and repository tags
+ ========================
+
+ .. image:: http://governance.openstack.org/badges/oslo.context.svg
+ :target: http://governance.openstack.org/reference/tags/index.html
+
+ .. Change things from this point on
+
+ ====================
Oslo Context Library
====================
@@ -38,5 +47,4 @@
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-2.9.0/oslo.context.egg-info/SOURCES.txt new/oslo.context-2.12.1/oslo.context.egg-info/SOURCES.txt
--- old/oslo.context-2.9.0/oslo.context.egg-info/SOURCES.txt 2016-08-18 19:58:39.000000000 +0200
+++ new/oslo.context-2.12.1/oslo.context.egg-info/SOURCES.txt 2017-01-30 19:11:25.000000000 +0100
@@ -43,6 +43,8 @@
releasenotes/notes/add_reno-3b4ae0789e9c45b4.yaml
releasenotes/source/conf.py
releasenotes/source/index.rst
+releasenotes/source/newton.rst
releasenotes/source/unreleased.rst
releasenotes/source/_static/.placeholder
-releasenotes/source/_templates/.placeholder
\ No newline at end of file
+releasenotes/source/_templates/.placeholder
+tools/tox_install.sh
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-2.9.0/oslo.context.egg-info/pbr.json new/oslo.context-2.12.1/oslo.context.egg-info/pbr.json
--- old/oslo.context-2.9.0/oslo.context.egg-info/pbr.json 2016-08-18 19:58:39.000000000 +0200
+++ new/oslo.context-2.12.1/oslo.context.egg-info/pbr.json 2017-01-30 19:11:25.000000000 +0100
@@ -1 +1 @@
-{"git_version": "0ad0950", "is_release": true}
\ No newline at end of file
+{"is_release": true, "git_version": "9071eb9"}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-2.9.0/oslo.context.egg-info/requires.txt new/oslo.context-2.12.1/oslo.context.egg-info/requires.txt
--- old/oslo.context-2.9.0/oslo.context.egg-info/requires.txt 2016-08-18 19:58:39.000000000 +0200
+++ new/oslo.context-2.12.1/oslo.context.egg-info/requires.txt 2017-01-30 19:11:25.000000000 +0100
@@ -1,2 +1,3 @@
-pbr>=1.6
-positional>=1.0.1
+pbr>=1.8
+debtcollector>=1.2.0
+positional>=1.1.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-2.9.0/oslo_context/context.py new/oslo.context-2.12.1/oslo_context/context.py
--- old/oslo.context-2.9.0/oslo_context/context.py 2016-08-18 19:57:09.000000000 +0200
+++ new/oslo.context-2.12.1/oslo_context/context.py 2017-01-30 19:09:53.000000000 +0100
@@ -26,33 +26,47 @@
or logging context.
"""
+import collections
import itertools
import threading
import uuid
+import warnings
+import debtcollector
from positional import positional
-
_request_store = threading.local()
# These arguments will be passed to a new context from the first available
# header to support backwards compatibility.
-_ENVIRON_HEADERS = {'auth_token': ['HTTP_X_AUTH_TOKEN',
- 'HTTP_X_STORAGE_TOKEN'],
- 'user': ['HTTP_X_USER_ID',
- 'HTTP_X_USER'],
- 'tenant': ['HTTP_X_PROJECT_ID',
- 'HTTP_X_TENANT_ID',
- 'HTTP_X_TENANT'],
- 'user_domain': ['HTTP_X_USER_DOMAIN_ID'],
- 'project_domain': ['HTTP_X_PROJECT_DOMAIN_ID'],
- 'user_name': ['HTTP_X_USER_NAME'],
- 'project_name': ['HTTP_X_PROJECT_NAME',
- 'HTTP_X_TENANT_NAME'],
- 'user_domain_name': ['HTTP_X_USER_DOMAIN_NAME'],
- 'project_domain_name': ['HTTP_X_PROJECT_DOMAIN_NAME'],
- 'request_id': ['openstack.request_id'],
- }
+_ENVIRON_HEADERS = {
+ 'auth_token': ['HTTP_X_AUTH_TOKEN',
+ 'HTTP_X_STORAGE_TOKEN'],
+ 'user': ['HTTP_X_USER_ID',
+ 'HTTP_X_USER'],
+ 'tenant': ['HTTP_X_PROJECT_ID',
+ 'HTTP_X_TENANT_ID',
+ 'HTTP_X_TENANT'],
+ 'user_domain': ['HTTP_X_USER_DOMAIN_ID'],
+ 'project_domain': ['HTTP_X_PROJECT_DOMAIN_ID'],
+ 'user_name': ['HTTP_X_USER_NAME'],
+ 'project_name': ['HTTP_X_PROJECT_NAME',
+ 'HTTP_X_TENANT_NAME'],
+ 'user_domain_name': ['HTTP_X_USER_DOMAIN_NAME'],
+ 'project_domain_name': ['HTTP_X_PROJECT_DOMAIN_NAME'],
+ 'request_id': ['openstack.request_id'],
+
+
+ 'service_token': ['HTTP_X_SERVICE_TOKEN'],
+ 'service_user_id': ['HTTP_X_SERVICE_USER_ID'],
+ 'service_user_name': ['HTTP_X_SERVICE_USER_NAME'],
+ 'service_user_domain_id': ['HTTP_X_SERVICE_USER_DOMAIN_ID'],
+ 'service_user_domain_name': ['HTTP_X_SERVICE_USER_DOMAIN_NAME'],
+ 'service_project_id': ['HTTP_X_SERVICE_PROJECT_ID'],
+ 'service_project_name': ['HTTP_X_SERVICE_PROJECT_NAME'],
+ 'service_project_domain_id': ['HTTP_X_SERVICE_PROJECT_DOMAIN_ID'],
+ 'service_project_domain_name': ['HTTP_X_SERVICE_PROJECT_DOMAIN_NAME'],
+}
def generate_request_id():
@@ -60,6 +74,100 @@
return 'req-%s' % uuid.uuid4()
+class _DeprecatedPolicyValues(collections.MutableMapping):
+ """A Dictionary that manages current and deprecated policy values.
+
+ Anything added to this dictionary after initial creation is considered a
+ deprecated key that we are trying to move services away from. Accessing
+ these values as oslo.policy will do will trigger a DeprecationWarning.
+ """
+
+ def __init__(self, data):
+ self._data = data
+ self._deprecated = {}
+
+ def __getitem__(self, k):
+ try:
+ return self._data[k]
+ except KeyError:
+ pass
+
+ try:
+ val = self._deprecated[k]
+ except KeyError:
+ pass
+ else:
+ warnings.warn('Policy enforcement is depending on the value of '
+ '%s. This key is deprecated. Please update your '
+ 'policy file to use the standard policy values.' % k,
+ DeprecationWarning)
+ return val
+
+ raise KeyError(k)
+
+ def __setitem__(self, k, v):
+ self._deprecated[k] = v
+
+ def __delitem__(self, k):
+ del self._deprecated[k]
+
+ def __iter__(self):
+ return iter(self._dict)
+
+ def __len__(self):
+ return len(self._dict)
+
+ def __str__(self):
+ return self._dict.__str__()
+
+ def __repr__(self):
+ return self._dict.__repr__()
+
+ @property
+ def _dict(self):
+ d = self._deprecated.copy()
+ d.update(self._data)
+ return d
+
+
+# FIXME(dims): Skip deprecation warnings until Pike (Version 2.14)
+_log_deprecation_warnings = False
+
+
+def _moved_msg(new_name, old_name):
+ if old_name:
+ deprecated_msg = "Property '%(old_name)s' has moved to '%(new_name)s'"
+ deprecated_msg = deprecated_msg % {'old_name': old_name,
+ 'new_name': new_name}
+
+ # FIXME(dims): Skip deprecation warnings until Pike (Version 2.14)
+ if _log_deprecation_warnings:
+ debtcollector.deprecate(deprecated_msg,
+ version='2.6',
+ removal_version='3.0',
+ stacklevel=5)
+
+
+def _moved_property(new_name, old_name=None, target=None):
+
+ if not target:
+ target = new_name
+
+ def getter(self):
+ _moved_msg(new_name, old_name)
+ return getattr(self, target)
+
+ def setter(self, value):
+ _moved_msg(new_name, old_name)
+ setattr(self, target, value)
+
+ def deleter(self):
+ _moved_msg(new_name, old_name)
+ delattr(self, target)
+
+ return property(getter, setter, deleter)
+
+
class RequestContext(object):
"""Helper class to represent useful information about a request context.
@@ -71,13 +179,36 @@
user_idt_format = u'{user} {tenant} {domain} {user_domain} {p_domain}'
@positional(enforcement=positional.WARN)
- def __init__(self, auth_token=None, user=None, tenant=None, domain=None,
- user_domain=None, project_domain=None, is_admin=False,
- read_only=False, show_deleted=False, request_id=None,
- resource_uuid=None, overwrite=True, roles=None,
- user_name=None, project_name=None, domain_name=None,
- user_domain_name=None, project_domain_name=None,
- is_admin_project=True):
+ def __init__(self,
+ auth_token=None,
+ user=None,
+ tenant=None,
+ domain=None,
+ user_domain=None,
+ project_domain=None,
+ is_admin=False,
+ read_only=False,
+ show_deleted=False,
+ request_id=None,
+ resource_uuid=None,
+ overwrite=True,
+ roles=None,
+ user_name=None,
+ project_name=None,
+ domain_name=None,
+ user_domain_name=None,
+ project_domain_name=None,
+ is_admin_project=True,
+ service_token=None,
+ service_user_id=None,
+ service_user_name=None,
+ service_user_domain_id=None,
+ service_user_domain_name=None,
+ service_project_id=None,
+ service_project_name=None,
+ service_project_domain_id=None,
+ service_project_domain_name=None,
+ service_roles=None):
"""Initialize the RequestContext
:param overwrite: Set to False to ensure that the greenthread local
@@ -87,18 +218,18 @@
True for backwards compatibility.
:type is_admin_project: bool
"""
+ # setting to private variables to avoid triggering subclass properties
+ self._user_id = user
+ self._project_id = tenant
+ self._domain_id = domain
+ self._user_domain_id = user_domain
+ self._project_domain_id = project_domain
+
self.auth_token = auth_token
- self.user = user
self.user_name = user_name
- # NOTE (rbradfor): tenant will become project
- # See spec discussion on https://review.openstack.org/#/c/290907/
- self.tenant = tenant
self.project_name = project_name
- self.domain = domain
self.domain_name = domain_name
- self.user_domain = user_domain
self.user_domain_name = user_domain_name
- self.project_domain = project_domain
self.project_domain_name = project_domain_name
self.is_admin = is_admin
self.is_admin_project = is_admin_project
@@ -106,12 +237,43 @@
self.show_deleted = show_deleted
self.resource_uuid = resource_uuid
self.roles = roles or []
+
+ self.service_token = service_token
+ self.service_user_id = service_user_id
+ self.service_user_name = service_user_name
+ self.service_user_domain_id = service_user_domain_id
+ self.service_user_domain_name = service_user_domain_name
+ self.service_project_id = service_project_id
+ self.service_project_name = service_project_name
+ self.service_project_domain_id = service_project_domain_id
+ self.service_project_domain_name = service_project_domain_name
+ self.service_roles = service_roles or []
+
if not request_id:
request_id = generate_request_id()
self.request_id = request_id
if overwrite or not get_current():
self.update_store()
+ # NOTE(jamielennox): To prevent circular lookups on subclasses that might
+ # point user to user_id we make user/user_id tenant/project_id etc point
+ # to the same private variable rather than each other.
+ tenant = _moved_property('project_id', 'tenant', target='_project_id')
+ user = _moved_property('user_id', 'user', target='_user_id')
+ domain = _moved_property('domain_id', 'domain', target='_domain_id')
+ user_domain = _moved_property('user_domain_id',
+ 'user_domain',
+ target='_user_domain_id')
+ project_domain = _moved_property('project_domain_id',
+ 'project_domain',
+ target='_project_domain_id')
+
+ user_id = _moved_property('_user_id')
+ project_id = _moved_property('_project_id')
+ domain_id = _moved_property('_domain_id')
+ user_domain_id = _moved_property('_user_domain_id')
+ project_domain_id = _moved_property('_project_domain_id')
+
def update_store(self):
"""Store the context in the current thread."""
_request_store.context = self
@@ -128,27 +290,37 @@
with either deprecated values or additional attributes used by that
service specific policy.
"""
- return {'user_id': self.user,
- 'user_domain_id': self.user_domain,
- 'project_id': self.tenant,
- 'project_domain_id': self.project_domain,
- 'roles': self.roles,
- 'is_admin_project': self.is_admin_project}
+ # NOTE(jamielennox): We need a way to allow projects to provide old
+ # deprecated policy values that trigger a warning when used in favour
+ # of our standard ones. This object acts like a dict but only values
+ # from oslo.policy don't show a warning.
+ return _DeprecatedPolicyValues({
+ 'user_id': self.user_id,
+ 'user_domain_id': self.user_domain_id,
+ 'project_id': self.project_id,
+ 'project_domain_id': self.project_domain_id,
+ 'roles': self.roles,
+ 'is_admin_project': self.is_admin_project,
+ 'service_user_id': self.service_user_id,
+ 'service_user_domain_id': self.service_user_domain_id,
+ 'service_project_id': self.service_project_id,
+ 'service_project_domain_id': self.service_project_domain_id,
+ 'service_roles': self.service_roles})
def to_dict(self):
"""Return a dictionary of context attributes."""
- user_idt = (
- self.user_idt_format.format(user=self.user or '-',
- tenant=self.tenant or '-',
- domain=self.domain or '-',
- user_domain=self.user_domain or '-',
- p_domain=self.project_domain or '-'))
-
- return {'user': self.user,
- 'tenant': self.tenant,
- 'domain': self.domain,
- 'user_domain': self.user_domain,
- 'project_domain': self.project_domain,
+ user_idt = self.user_idt_format.format(
+ user=self.user_id or '-',
+ tenant=self.project_id or '-',
+ domain=self.domain_id or '-',
+ user_domain=self.user_domain_id or '-',
+ p_domain=self.project_domain_id or '-')
+
+ return {'user': self.user_id,
+ 'tenant': self.project_id,
+ 'domain': self.domain_id,
+ 'user_domain': self.user_domain_id,
+ 'project_domain': self.project_domain_id,
'is_admin': self.is_admin,
'read_only': self.read_only,
'show_deleted': self.show_deleted,
@@ -223,6 +395,11 @@
roles = [r.strip() for r in roles.split(',')] if roles else []
kwargs['roles'] = roles
+ if 'service_roles' not in kwargs:
+ roles = environ.get('HTTP_X_SERVICE_ROLES')
+ roles = [r.strip() for r in roles.split(',')] if roles else []
+ kwargs['service_roles'] = roles
+
if 'is_admin_project' not in kwargs:
# NOTE(jamielennox): we default is_admin_project to true because if
# nothing is provided we have to assume it is the admin project to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-2.9.0/oslo_context/tests/test_context.py new/oslo.context-2.12.1/oslo_context/tests/test_context.py
--- old/oslo.context-2.9.0/oslo_context/tests/test_context.py 2016-08-18 19:57:09.000000000 +0200
+++ new/oslo.context-2.12.1/oslo_context/tests/test_context.py 2017-01-30 19:09:53.000000000 +0100
@@ -43,6 +43,12 @@
self.addCleanup(self._w.__exit__)
warnings.simplefilter(self.action, self.category)
+ def __len__(self):
+ return len(self.log)
+
+ def __getitem__(self, item):
+ return self.log[item]
+
class Object(object):
pass
@@ -93,7 +99,7 @@
self.assertIsInstance(ctx, context.RequestContext)
self.assertTrue(ctx.is_admin)
self.assertFalse(ctx.show_deleted)
- self.assertIsNone(ctx.tenant)
+ self.assertIsNone(ctx.project_id)
def test_admin_context_show_deleted_flag_set(self):
ctx = context.get_admin_context(show_deleted=True)
@@ -122,11 +128,11 @@
}
ctx = context.RequestContext.from_dict(dct)
self.assertEqual(dct['auth_token'], ctx.auth_token)
- self.assertEqual(dct['user'], ctx.user)
- self.assertEqual(dct['tenant'], ctx.tenant)
- self.assertEqual(dct['domain'], ctx.domain)
- self.assertEqual(dct['user_domain'], ctx.user_domain)
- self.assertEqual(dct['project_domain'], ctx.project_domain)
+ self.assertEqual(dct['user'], ctx.user_id)
+ self.assertEqual(dct['tenant'], ctx.project_id)
+ self.assertEqual(dct['domain'], ctx.domain_id)
+ self.assertEqual(dct['user_domain'], ctx.user_domain_id)
+ self.assertEqual(dct['project_domain'], ctx.project_domain_id)
self.assertTrue(ctx.is_admin)
self.assertTrue(ctx.read_only)
self.assertTrue(ctx.show_deleted)
@@ -149,8 +155,8 @@
}
ctx = context.RequestContext.from_dict(dct)
self.assertEqual("token1", ctx.auth_token)
- self.assertEqual("user1", ctx.user)
- self.assertIsNone(ctx.tenant)
+ self.assertEqual("user1", ctx.user_id)
+ self.assertIsNone(ctx.project_id)
self.assertFalse(ctx.is_admin)
self.assertTrue(ctx.read_only)
self.assertRaises(KeyError, lambda: ctx.__dict__['color'])
@@ -194,32 +200,67 @@
project_domain_id = generate_id(project_domain_name)
roles = [uuid.uuid4().hex, uuid.uuid4().hex, uuid.uuid4().hex]
request_id = uuid.uuid4().hex
-
- environ = {'HTTP_X_AUTH_TOKEN': auth_token,
- 'HTTP_X_USER_ID': user_id,
- 'HTTP_X_PROJECT_ID': project_id,
- 'HTTP_X_USER_DOMAIN_ID': user_domain_id,
- 'HTTP_X_PROJECT_DOMAIN_ID': project_domain_id,
- 'HTTP_X_ROLES': ','.join(roles),
- 'HTTP_X_USER_NAME': user_name,
- 'HTTP_X_PROJECT_NAME': project_name,
- 'HTTP_X_USER_DOMAIN_NAME': user_domain_name,
- 'HTTP_X_PROJECT_DOMAIN_NAME': project_domain_name,
- 'openstack.request_id': request_id}
+ service_token = uuid.uuid4().hex
+ service_user_id = uuid.uuid4().hex
+ service_user_name = uuid.uuid4().hex
+ service_user_domain_id = uuid.uuid4().hex
+ service_user_domain_name = uuid.uuid4().hex
+ service_project_id = uuid.uuid4().hex
+ service_project_name = uuid.uuid4().hex
+ service_project_domain_id = uuid.uuid4().hex
+ service_project_domain_name = uuid.uuid4().hex
+ service_roles = [uuid.uuid4().hex, uuid.uuid4().hex, uuid.uuid4().hex]
+
+ environ = {
+ 'HTTP_X_AUTH_TOKEN': auth_token,
+ 'HTTP_X_USER_ID': user_id,
+ 'HTTP_X_PROJECT_ID': project_id,
+ 'HTTP_X_USER_DOMAIN_ID': user_domain_id,
+ 'HTTP_X_PROJECT_DOMAIN_ID': project_domain_id,
+ 'HTTP_X_ROLES': ','.join(roles),
+ 'HTTP_X_USER_NAME': user_name,
+ 'HTTP_X_PROJECT_NAME': project_name,
+ 'HTTP_X_USER_DOMAIN_NAME': user_domain_name,
+ 'HTTP_X_PROJECT_DOMAIN_NAME': project_domain_name,
+ 'HTTP_X_SERVICE_TOKEN': service_token,
+ 'HTTP_X_SERVICE_USER_ID': service_user_id,
+ 'HTTP_X_SERVICE_USER_NAME': service_user_name,
+ 'HTTP_X_SERVICE_USER_DOMAIN_ID': service_user_domain_id,
+ 'HTTP_X_SERVICE_USER_DOMAIN_NAME': service_user_domain_name,
+ 'HTTP_X_SERVICE_PROJECT_ID': service_project_id,
+ 'HTTP_X_SERVICE_PROJECT_NAME': service_project_name,
+ 'HTTP_X_SERVICE_PROJECT_DOMAIN_ID': service_project_domain_id,
+ 'HTTP_X_SERVICE_PROJECT_DOMAIN_NAME': service_project_domain_name,
+ 'HTTP_X_SERVICE_ROLES': ','.join(service_roles),
+ 'openstack.request_id': request_id,
+ }
ctx = context.RequestContext.from_environ(environ)
self.assertEqual(auth_token, ctx.auth_token)
- self.assertEqual(user_id, ctx.user)
+ self.assertEqual(user_id, ctx.user_id)
self.assertEqual(user_name, ctx.user_name)
- self.assertEqual(project_id, ctx.tenant)
+ self.assertEqual(project_id, ctx.project_id)
self.assertEqual(project_name, ctx.project_name)
- self.assertEqual(user_domain_id, ctx.user_domain)
+ self.assertEqual(user_domain_id, ctx.user_domain_id)
self.assertEqual(user_domain_name, ctx.user_domain_name)
- self.assertEqual(project_domain_id, ctx.project_domain)
+ self.assertEqual(project_domain_id, ctx.project_domain_id)
self.assertEqual(project_domain_name, ctx.project_domain_name)
self.assertEqual(roles, ctx.roles)
self.assertEqual(request_id, ctx.request_id)
+ self.assertEqual(service_token, ctx.service_token)
+ self.assertEqual(service_user_id, ctx.service_user_id)
+ self.assertEqual(service_user_name, ctx.service_user_name)
+ self.assertEqual(service_user_domain_id, ctx.service_user_domain_id)
+ self.assertEqual(service_user_domain_name,
+ ctx.service_user_domain_name)
+ self.assertEqual(service_project_id, ctx.service_project_id)
+ self.assertEqual(service_project_name, ctx.service_project_name)
+ self.assertEqual(service_project_domain_id,
+ ctx.service_project_domain_id)
+ self.assertEqual(service_project_domain_name,
+ ctx.service_project_domain_name)
+ self.assertEqual(service_roles, ctx.service_roles)
def test_from_environ_no_roles(self):
ctx = context.RequestContext.from_environ(environ={})
@@ -237,7 +278,7 @@
environ = {'HTTP_X_TENANT_ID': value}
ctx = context.RequestContext.from_environ(environ=environ)
- self.assertEqual(value, ctx.tenant)
+ self.assertEqual(value, ctx.project_id)
environ = {'HTTP_X_STORAGE_TOKEN': value}
ctx = context.RequestContext.from_environ(environ=environ)
@@ -274,11 +315,11 @@
'HTTP_X_PROJECT_ID': new}
ctx = context.RequestContext.from_environ(environ=environ)
- self.assertEqual(new, ctx.tenant)
+ self.assertEqual(new, ctx.project_id)
ctx = context.RequestContext.from_environ(environ=environ,
tenant=override)
- self.assertEqual(override, ctx.tenant)
+ self.assertEqual(override, ctx.project_id)
environ = {'HTTP_X_TENANT_NAME': old,
'HTTP_X_PROJECT_NAME': new}
@@ -287,9 +328,11 @@
self.assertEqual(new, ctx.project_name)
def test_from_environ_strip_roles(self):
- environ = {'HTTP_X_ROLES': ' abc\t,\ndef\n,ghi\n\n'}
+ environ = {'HTTP_X_ROLES': ' abc\t,\ndef\n,ghi\n\n',
+ 'HTTP_X_SERVICE_ROLES': ' jkl\t,\nmno\n,pqr\n\n'}
ctx = context.RequestContext.from_environ(environ=environ)
self.assertEqual(['abc', 'def', 'ghi'], ctx.roles)
+ self.assertEqual(['jkl', 'mno', 'pqr'], ctx.service_roles)
def test_environ_admin_project(self):
environ = {}
@@ -358,15 +401,15 @@
request_id=request_id,
resource_uuid=resource_uuid)
self.assertEqual(auth_token, ctx.auth_token)
- self.assertEqual(user_id, ctx.user)
+ self.assertEqual(user_id, ctx.user_id)
self.assertEqual(user_name, ctx.user_name)
- self.assertEqual(project_id, ctx.tenant)
+ self.assertEqual(project_id, ctx.project_id)
self.assertEqual(project_name, ctx.project_name)
- self.assertEqual(domain_id, ctx.domain)
+ self.assertEqual(domain_id, ctx.domain_id)
self.assertEqual(domain_name, ctx.domain_name)
- self.assertEqual(user_domain_id, ctx.user_domain)
+ self.assertEqual(user_domain_id, ctx.user_domain_id)
self.assertEqual(user_domain_name, ctx.user_domain_name)
- self.assertEqual(project_domain_id, ctx.project_domain)
+ self.assertEqual(project_domain_id, ctx.project_domain_id)
self.assertEqual(project_domain_name, ctx.project_domain_name)
self.assertEqual(is_admin, ctx.is_admin)
self.assertEqual(read_only, ctx.read_only)
@@ -455,36 +498,54 @@
tenant = uuid.uuid4().hex
project_domain = uuid.uuid4().hex
roles = [uuid.uuid4().hex, uuid.uuid4().hex, uuid.uuid4().hex]
+ service_user_id = uuid.uuid4().hex
+ service_project_id = uuid.uuid4().hex
+ service_roles = [uuid.uuid4().hex, uuid.uuid4().hex, uuid.uuid4().hex]
# default is_admin_project is True
ctx = context.RequestContext(user=user,
user_domain=user_domain,
tenant=tenant,
project_domain=project_domain,
- roles=roles)
+ roles=roles,
+ service_user_id=service_user_id,
+ service_project_id=service_project_id,
+ service_roles=service_roles)
self.assertEqual({'user_id': user,
'user_domain_id': user_domain,
'project_id': tenant,
'project_domain_id': project_domain,
'roles': roles,
- 'is_admin_project': True},
+ 'is_admin_project': True,
+ 'service_user_id': service_user_id,
+ 'service_user_domain_id': None,
+ 'service_project_id': service_project_id,
+ 'service_project_domain_id': None,
+ 'service_roles': service_roles},
ctx.to_policy_values())
- # is_admin_project False gets passed through
ctx = context.RequestContext(user=user,
user_domain=user_domain,
tenant=tenant,
project_domain=project_domain,
roles=roles,
- is_admin_project=False)
+ is_admin_project=False,
+ service_user_id=service_user_id,
+ service_project_id=service_project_id,
+ service_roles=service_roles)
self.assertEqual({'user_id': user,
'user_domain_id': user_domain,
'project_id': tenant,
'project_domain_id': project_domain,
'roles': roles,
- 'is_admin_project': False},
+ 'is_admin_project': False,
+ 'service_user_id': service_user_id,
+ 'service_user_domain_id': None,
+ 'service_project_id': service_project_id,
+ 'service_project_domain_id': None,
+ 'service_roles': service_roles},
ctx.to_policy_values())
def test_positional_args(self):
@@ -493,3 +554,69 @@
self.assertEqual(1, len(self.warnings.log))
self.assertIn('__init__ takes at most 1 positional',
str(self.warnings.log[0].message))
+
+ def test_policy_deprecations(self):
+ user = uuid.uuid4().hex
+ user_domain = uuid.uuid4().hex
+ tenant = uuid.uuid4().hex
+ project_domain = uuid.uuid4().hex
+ roles = [uuid.uuid4().hex, uuid.uuid4().hex, uuid.uuid4().hex]
+
+ ctx = context.RequestContext(user=user,
+ user_domain=user_domain,
+ tenant=tenant,
+ project_domain=project_domain,
+ roles=roles)
+
+ policy = ctx.to_policy_values()
+ key = uuid.uuid4().hex
+ val = uuid.uuid4().hex
+
+ with warnings.catch_warnings(record=True) as w:
+ warnings.simplefilter("always")
+
+ # no warning triggered by adding key to dict
+ policy[key] = val
+ self.assertEqual(0, len(w))
+
+ # warning triggered by fetching key from dict
+ self.assertIs(val, policy[key])
+ self.assertEqual(1, len(w))
+ self.assertIn(key, str(w[0].message))
+
+ def test_deprecated_args(self):
+ user = uuid.uuid4().hex
+ tenant = uuid.uuid4().hex
+ domain = uuid.uuid4().hex
+ user_domain = uuid.uuid4().hex
+ project_domain = uuid.uuid4().hex
+
+ ctx = context.RequestContext(user=user,
+ tenant=tenant,
+ domain=domain,
+ user_domain=user_domain,
+ project_domain=project_domain)
+
+ self.assertEqual(0, len(self.warnings))
+ self.assertEqual(user, ctx.user_id)
+ self.assertEqual(tenant, ctx.project_id)
+ self.assertEqual(domain, ctx.domain_id)
+ self.assertEqual(user_domain, ctx.user_domain_id)
+ self.assertEqual(project_domain, ctx.project_domain_id)
+
+ self.assertEqual(0, len(self.warnings))
+ self.assertEqual(user, ctx.user)
+ if context._log_deprecation_warnings:
+ self.assertEqual(1, len(self.warnings))
+ self.assertEqual(tenant, ctx.tenant)
+ if context._log_deprecation_warnings:
+ self.assertEqual(2, len(self.warnings))
+ self.assertEqual(domain, ctx.domain)
+ if context._log_deprecation_warnings:
+ self.assertEqual(3, len(self.warnings))
+ self.assertEqual(user_domain, ctx.user_domain)
+ if context._log_deprecation_warnings:
+ self.assertEqual(4, len(self.warnings))
+ self.assertEqual(project_domain, ctx.project_domain)
+ if context._log_deprecation_warnings:
+ self.assertEqual(5, len(self.warnings))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-2.9.0/releasenotes/source/conf.py new/oslo.context-2.12.1/releasenotes/source/conf.py
--- old/oslo.context-2.9.0/releasenotes/source/conf.py 2016-08-18 19:57:09.000000000 +0200
+++ new/oslo.context-2.12.1/releasenotes/source/conf.py 2017-01-30 19:09:52.000000000 +0100
@@ -271,3 +271,6 @@
# If true, do not generate a @detailmenu in the "Top" node's menu.
# texinfo_no_detailmenu = False
+
+# -- Options for Internationalization output ------------------------------
+locale_dirs = ['locale/']
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-2.9.0/releasenotes/source/index.rst new/oslo.context-2.12.1/releasenotes/source/index.rst
--- old/oslo.context-2.9.0/releasenotes/source/index.rst 2016-08-18 19:57:09.000000000 +0200
+++ new/oslo.context-2.12.1/releasenotes/source/index.rst 2017-01-30 19:09:52.000000000 +0100
@@ -6,3 +6,4 @@
:maxdepth: 1
unreleased
+ newton
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-2.9.0/releasenotes/source/newton.rst new/oslo.context-2.12.1/releasenotes/source/newton.rst
--- old/oslo.context-2.9.0/releasenotes/source/newton.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/oslo.context-2.12.1/releasenotes/source/newton.rst 2017-01-30 19:09:52.000000000 +0100
@@ -0,0 +1,6 @@
+=============================
+ Newton Series Release Notes
+=============================
+
+.. release-notes::
+ :branch: origin/stable/newton
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-2.9.0/requirements.txt new/oslo.context-2.12.1/requirements.txt
--- old/oslo.context-2.9.0/requirements.txt 2016-08-18 19:57:09.000000000 +0200
+++ new/oslo.context-2.12.1/requirements.txt 2017-01-30 19:09:52.000000000 +0100
@@ -2,6 +2,7 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
-pbr>=1.6 # Apache-2.0
+pbr>=1.8 # Apache-2.0
-positional>=1.0.1 # Apache-2.0
+debtcollector>=1.2.0 # Apache-2.0
+positional>=1.1.1 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-2.9.0/setup.cfg new/oslo.context-2.12.1/setup.cfg
--- old/oslo.context-2.9.0/setup.cfg 2016-08-18 19:58:39.000000000 +0200
+++ new/oslo.context-2.12.1/setup.cfg 2017-01-30 19:11:25.000000000 +0100
@@ -5,7 +5,7 @@
README.rst
author = OpenStack
author-email = openstack-dev(a)lists.openstack.org
-home-page = http://launchpad.net/oslo
+home-page = http://docs.openstack.org/developer/oslo.context
classifier =
Environment :: OpenStack
Intended Audience :: Information Technology
@@ -16,7 +16,6 @@
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
- Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5
[files]
@@ -54,5 +53,4 @@
[egg_info]
tag_build =
tag_date = 0
-tag_svn_revision = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-2.9.0/test-requirements.txt new/oslo.context-2.12.1/test-requirements.txt
--- old/oslo.context-2.9.0/test-requirements.txt 2016-08-18 19:57:09.000000000 +0200
+++ new/oslo.context-2.12.1/test-requirements.txt 2017-01-30 19:09:52.000000000 +0100
@@ -5,9 +5,9 @@
fixtures>=3.0.0 # Apache-2.0/BSD
hacking<0.11,>=0.10.0
oslotest>=1.10.0 # Apache-2.0
-coverage>=3.6 # Apache-2.0
+coverage>=4.0 # Apache-2.0
# These are needed for docs generation
-oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0
-sphinx!=1.3b1,<1.3,>=1.2.1 # BSD
-reno>=1.8.0 # Apache2
+oslosphinx>=4.7.0 # Apache-2.0
+sphinx!=1.3b1,<1.4,>=1.2.1 # BSD
+reno>=1.8.0 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-2.9.0/tools/tox_install.sh new/oslo.context-2.12.1/tools/tox_install.sh
--- old/oslo.context-2.9.0/tools/tox_install.sh 1970-01-01 01:00:00.000000000 +0100
+++ new/oslo.context-2.12.1/tools/tox_install.sh 2017-01-30 19:09:52.000000000 +0100
@@ -0,0 +1,30 @@
+#!/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.context-2.9.0/tox.ini new/oslo.context-2.12.1/tox.ini
--- old/oslo.context-2.9.0/tox.ini 2016-08-18 19:57:09.000000000 +0200
+++ new/oslo.context-2.12.1/tox.ini 2017-01-30 19:09:52.000000000 +0100
@@ -1,8 +1,13 @@
[tox]
-minversion = 1.6
-envlist = py35,py34,py27,pypy,pep8
+minversion = 2.0
+envlist = py35,py27,pypy,pep8
[testenv]
+setenv =
+ VIRTUAL_ENV={envdir}
+ BRANCH_NAME=master
+ CLIENT_NAME=oslo.context
+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 = -r{toxinidir}/test-requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'
[View Less]
1
0
Hello community,
here is the log from the commit of package python-oslo.log for openSUSE:Factory checked in at 2017-02-21 13:46:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.log (Old)
and /work/SRC/openSUSE:Factory/.python-oslo.log.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.log"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.log/…
[View More]python-oslo.log.changes 2016-09-30 15:29:25.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-oslo.log.new/python-oslo.log.changes 2017-02-21 13:46:37.407827261 +0100
@@ -1,0 +2,30 @@
+Mon Feb 13 18:10:47 UTC 2017 - tbechtold(a)suse.com
+
+- Add 0001-Must-not-go-underneath-the-context-object-and-access.patch
+
+-------------------------------------------------------------------
+Fri Feb 10 14:34:11 UTC 2017 - cloud-devel(a)suse.de
+
+- update to version 3.20.0:
+ - Add a json reformatter command
+ - Add support for P and Q release names
+ - Update reno for stable/newton
+ - Avoid converting to unicode if not needed
+ - Imported Translations from Zanata
+ - standardize release note page ordering
+ - Add Constraints support
+ - Implement FluentFormatter
+ - modify the home-page info with the developer documentation
+ - Show team and repo badges on README
+ - Default use_stderr to False
+ - Use six.wraps instead of functools
+ - Fix typos
+ - Fix races in unit tests
+ - Enable release notes translation
+ - Add a filter to rate limit logs
+ - Modify use of assertTrue(A in B)
+ - Change assertTrue(isinstance()) by optimal assert
+ - Replace method attr in vars() to hasattr
+ - Updated from global requirements
+
+-------------------------------------------------------------------
Old:
----
oslo.log-3.16.0.tar.gz
New:
----
0001-Must-not-go-underneath-the-context-object-and-access.patch
oslo.log-3.20.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-oslo.log.spec ++++++
--- /var/tmp/diff_new_pack.ZBNt14/_old 2017-02-21 13:46:37.899757861 +0100
+++ /var/tmp/diff_new_pack.ZBNt14/_new 2017-02-21 13:46:37.899757861 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-oslo.log
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -18,23 +18,26 @@
%global sname oslo.log
Name: python-oslo.log
-Version: 3.16.0
+Version: 3.20.0
Release: 0
Summary: OpenStack log library
License: Apache-2.0
Group: Development/Languages/Python
Url: https://launchpad.net/%{sname}
Source0: https://pypi.io/packages/source/o/%{sname}/%{sname}-%{version}.tar.gz
+# 0001-Must-not-go-underneath-the-context-object-and-access.patch -- https://review.openstack.org/#/c/426587/
+Patch1: 0001-Must-not-go-underneath-the-context-object-and-access.patch
BuildRequires: openstack-macros
BuildRequires: python-devel
BuildRequires: python-mock >= 2.0
+BuildRequires: python-monotonic >= 0.6
BuildRequires: python-oslo.config >= 3.14.0
-BuildRequires: python-oslo.context >= 2.6.0
+BuildRequires: python-oslo.context >= 2.9.0
BuildRequires: python-oslo.i18n >= 2.1.0
BuildRequires: python-oslo.serialization >= 1.10.0
-BuildRequires: python-oslo.utils >= 3.16.0
+BuildRequires: python-oslo.utils >= 3.18.0
BuildRequires: python-oslotest >= 1.10.0
-BuildRequires: python-pbr >= 1.6
+BuildRequires: python-pbr >= 1.8
BuildRequires: python-pyinotify >= 0.9.6
BuildRequires: python-python-dateutil >= 2.4.2
BuildRequires: python-python-subunit >= 0.0.18
@@ -43,11 +46,12 @@
BuildRequires: python-testscenarios >= 0.4
BuildRequires: python-testtools >= 1.4.0
Requires: python-debtcollector >= 1.2.0
+Requires: python-monotonic >= 0.6
Requires: python-oslo.config >= 3.14.0
-Requires: python-oslo.context >= 2.6.0
+Requires: python-oslo.context >= 2.9.0
Requires: python-oslo.i18n >= 2.1.0
Requires: python-oslo.serialization >= 1.10.0
-Requires: python-oslo.utils >= 3.16.0
+Requires: python-oslo.utils >= 3.18.0
Requires: python-pyinotify >= 0.9.6
Requires: python-python-dateutil >= 2.4.2
Requires: python-six >= 1.9.0
@@ -62,13 +66,14 @@
Summary: Documentation for OpenStack log library
Group: Development/Languages/Python
BuildRequires: python-Sphinx
-BuildRequires: python-oslosphinx >= 2.5.0
+BuildRequires: python-oslosphinx >= 4.7.0
%description doc
Documentation for the oslo.log library.
%prep
-%setup -q -n %{sname}-%{version}
+%autosetup -n %{sname}-%{version} -p1
+%py_req_cleanup
%build
%{py2_build}
@@ -88,6 +93,7 @@
%doc ChangeLog README.rst
%{python2_sitelib}/oslo_log
%{python2_sitelib}/*.egg-info
+%{_bindir}/convert-json
%files doc
%license LICENSE
++++++ 0001-Must-not-go-underneath-the-context-object-and-access.patch ++++++
>From 60d66d2a7f517ff22da40824cb840e6697d78dba Mon Sep 17 00:00:00 2001
From: Joshua Harlow <jxharlow(a)godaddy.com>
Date: Wed, 25 Jan 2017 12:32:17 -0800
Subject: [PATCH] Must not go underneath the context object and access __dict__
We have moved properties that no longer make directly accessing
the __dict__ a good practice to go forward with (because those
properties redirect to other members) so prefer to go through
the correct conversion method to get at the dict that represents
a context.
Change-Id: I6fbf2192f477f62b1843321d2ec2147a3536a888
(cherry picked from commit 1640564dd15bda135ea37be3b76d5ae0ac28b7bc)
---
oslo_log/formatters.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/oslo_log/formatters.py b/oslo_log/formatters.py
index b66654d..275ceac 100644
--- a/oslo_log/formatters.py
+++ b/oslo_log/formatters.py
@@ -337,7 +337,7 @@ class ContextFormatter(logging.Formatter):
if context:
record.user_identity = (
self.conf.logging_user_identity_format %
- _ReplaceFalseValue(context.__dict__)
+ _ReplaceFalseValue(_dictify_context(context))
)
if record.__dict__.get('request_id'):
--
2.11.0
++++++ _service ++++++
--- /var/tmp/diff_new_pack.ZBNt14/_old 2017-02-21 13:46:37.943751655 +0100
+++ /var/tmp/diff_new_pack.ZBNt14/_new 2017-02-21 13:46:37.943751655 +0100
@@ -1,14 +1,12 @@
<services>
<service mode="disabled" name="renderspec">
- <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/master/openstack/…</param>
+ <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/open…</param>
<param name="output-name">python-oslo.log.spec</param>
- <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/master/global-req…</param>
+ <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/glob…</param>
+ <param name="changelog-email">cloud-devel(a)suse.de</param>
+ <param name="changelog-provider">gh,openstack,oslo.log</param>
</service>
<service mode="disabled" name="download_files">
- <param name="changesgenerate">enable</param>
- <param name="changeslinesmax">300</param>
- </service>
- <service name="refresh_patches" mode="disabled">
- <param name="changesgenerate">enable</param>
</service>
+ <service name="format_spec_file" mode="disabled"/>
</services>
++++++ oslo.log-3.16.0.tar.gz -> oslo.log-3.20.0.tar.gz ++++++
++++ 1604 lines of diff (skipped)
[View Less]
1
0