Hello community, here is the log from the commit of package python-glanceclient for openSUSE:Factory checked in at 2013-04-29 14:17:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-glanceclient (Old) and /work/SRC/openSUSE:Factory/.python-glanceclient.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-glanceclient", Maintainer is "radma...@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/python-glanceclient/python-glanceclient.changes 2013-01-17 09:58:56.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-glanceclient.new/python-glanceclient.changes 2013-04-29 14:17:02.000000000 +0200 @@ -1,0 +2,95 @@ +Wed Apr 3 11:44:48 UTC 2013 - dmuel...@suse.com + +- add 31960f0a8584802852d97ec8ce27b5516b32d63b.diff + +------------------------------------------------------------------- +Tue Apr 2 10:12:08 UTC 2013 - dmuel...@suse.com + +- downgrade to the released tarball (0.8.0) + +------------------------------------------------------------------- +Tue Mar 26 13:43:11 UTC 2013 - dmuel...@suse.com + +- update to 0.8.0.13 + +------------------------------------------------------------------- +Mon Mar 18 10:42:52 UTC 2013 - speili...@suse.com + +- Drop +git.$TIMESTAMP.$COMMITHASH version suffix + +-------------------------------------------------------------------- +Wed Mar 13 00:14:12 UTC 2013 - cloud-de...@suse.de + +- Update to version 0.8.0.10+git.1363133652.c7c8e92: + + Implements filters: visibility, owner, member_status. Includes tests. + +-------------------------------------------------------------------- +Tue Mar 12 00:12:02 UTC 2013 - cloud-de...@suse.de + +- Update to version 0.8.0.8+git.1363047122.8787c82: + + Control C does not cancel the CLI cleanly + +-------------------------------------------------------------------- +Mon Mar 11 10:04:27 UTC 2013 - cloud-de...@suse.de + +- Update to version 0.8.0.6+git.1362996267.d810019: + + Add missing spaces in help msg + +-------------------------------------------------------------------- +Tue Mar 5 17:23:47 UTC 2013 - cloud-de...@suse.de + +- Update to version 0.8.0.5+git.1362504227.0ca43be: + + Replace SchemaNotFound with HTTPNotFound + + Use getattr properly in legacy shell + +------------------------------------------------------------------- +Fri Feb 22 14:12:23 UTC 2013 - sasc...@suse.de + +- Update to version 0.8.0.2+git.1361542435.6c7fb0e: + + Make effective ssl callback behaviour more obvious + + Update .coveragerc + + Expect minumum warlock version of 0.7.0 + + Add library support for v2 image update + + Update to latest oslo-version. + + Decode input and encode output + + Add docs for v0.8.0 + + Report name resolution errors properly +- Add glanceclient-prettytable.patch: Relax version constraints + on python-prettytable + +------------------------------------------------------------------- +Fri Feb 22 11:26:09 UTC 2013 - sasc...@suse.de + +- BuildRequire openstack-suse-macros instead of openstack-macros + +-------------------------------------------------------------------- +Mon Feb 11 15:10:58 UTC 2013 - cloud-de...@suse.de + +- Update to version 0.7.0.13+git.1360595458.60cfebc: + + Quote image ids before passing them to glance + +-------------------------------------------------------------------- +Mon Feb 4 12:03:59 UTC 2013 - dmuel...@suse.com + +- Update to version 0.7.0.12+git.1359979439.ed67c32: + + Fix typo in image-update help page + + Adds image-delete functionality. + + Change https port to be an optional parameter + + Migrate to testr. + +------------------------------------------------------------------- +Thu Jan 17 14:08:20 UTC 2013 - vu...@suse.com + +- Use version-regexp param for git_tarballs service to avoid + uselessly including the last git commit id twice. + +-------------------------------------------------------------------- +Mon Jan 14 12:50:33 UTC 2013 - cloud-de...@suse.de + +- Update to version 0.7.0.5.ga5f996c+git.1358164233.a5f996c: + + Add image names to glance command arguments. + + Use testtools instead of unittest. + + Add details to stdout error message. +- Build HTML documentation + +------------------------------------------------------------------- Old: ---- python-glanceclient-master.tar.gz New: ---- 31960f0a8584802852d97ec8ce27b5516b32d63b.diff python-glanceclient-0.8.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-glanceclient.spec ++++++ --- /var/tmp/diff_new_pack.kPYv28/_old 2013-04-29 14:17:03.000000000 +0200 +++ /var/tmp/diff_new_pack.kPYv28/_new 2013-04-29 14:17:03.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-glanceclient # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products 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,23 +19,32 @@ %define component glanceclient Name: python-glanceclient -Version: 0.6.0.14.gc057fe4+git.1355912586.c057fe4 +Version: 0.8.0 Release: 0 -License: Apache-2.0 Summary: Openstack Image (Glance) API Client -Url: http://launchpad.net/python-glanceclient +License: Apache-2.0 Group: Development/Languages/Python -Source: python-glanceclient-master.tar.gz +Url: http://launchpad.net/python-glanceclient +Source: python-glanceclient-0.8.0.tar.gz Source2: openstack-glance.sh -BuildRequires: openstack-macros +Patch0: 31960f0a8584802852d97ec8ce27b5516b32d63b.diff +BuildRequires: openstack-suse-macros BuildRequires: python-base BuildRequires: python-distribute +# Documentation build requirements: +BuildRequires: python-Sphinx +BuildRequires: python-iso8601 +BuildRequires: python-keystoneclient +BuildRequires: python-prettytable +BuildRequires: python-pyOpenSSL +BuildRequires: python-warlock Requires: python >= 2.6.8 +Requires: python-argparse # /usr/bin/glance uses pkg_resources, thus: Requires: python-distribute -Requires: python-httplib2 -Requires: python-prettytable Requires: python-keystoneclient +Requires: python-prettytable >= 0.6 +Requires: python-pyOpenSSL Requires: python-warlock BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 @@ -52,30 +61,29 @@ Summary: Openstack Image (Glance) API Client - Testsuite Group: System/Management Requires: %{name} = %{version} -Requires: python-mock Requires: python-mox Requires: python-nose Requires: python-nose-exclude Requires: python-nosehtmloutput Requires: python-nosexcover Requires: python-openstack.nose_plugin +Requires: python-pep8 +Requires: python-testtools >= 0.9.22 Requires: python-tox -Requires: python-unittest2 %description test This package contains testsuite files for %{name}. %prep -%setup -q -n python-glanceclient-0.6.0.14.gc057fe4 +%setup -q -n python-glanceclient-0.8.0 +%patch0 -p1 %openstack_cleanup_prep # Our package versioning scheme is different (but we provide the correct thing) thus: sed -i "s|python-keystoneclient>=0.1.2,<1|python-keystoneclient|" tools/pip-requires %build python setup.py build -# Just a small index.rst so far, so no need to build the doc -#python setup.py build_sphinx -#python setup.py build_sphinx -b man +python setup.py build_sphinx %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} --install-data=%{python_sitelib} @@ -88,8 +96,7 @@ %files %defattr(-,root,root,-) -%doc LICENSE README.rst -%doc doc/source/index.rst +%doc LICENSE README.rst doc/build/html %{_sysconfdir}/bash_completion.d/openstack-glance.sh %{_bindir}/glance %{python_sitelib}/%{component}/ ++++++ 31960f0a8584802852d97ec8ce27b5516b32d63b.diff ++++++ commit 31960f0a8584802852d97ec8ce27b5516b32d63b Author: Dirk Mueller <d...@dmllr.de> Date: Fri Feb 22 16:11:12 2013 +0100 Allow for prettytable 0.7.x as well Relax requirements to >= 0.6, < 0.8, as 0.7.x seems to work as well. Added testcase to ensure this. Change-Id: I1a1a709e6053451b1256a0d78f8fe8562fb10e62 diff --git a/tests/test_utils.py b/tests/test_utils.py index 3f275b8..279f5d6 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -15,6 +15,8 @@ import errno import testtools +import sys +import StringIO from glanceclient.common import utils @@ -69,6 +71,47 @@ class TestUtils(testtools.TestCase): self.assertEqual(u'ni\xf1o', ensure_unicode('ni\xc3\xb1o', incoming='ascii')) + def test_prettytable(self): + class Struct: + def __init__(self, **entries): + self.__dict__.update(entries) + + # test that the prettytable output is wellformatted (left-aligned) + columns = ['ID', 'Name'] + val = ['Name1', 'another', 'veeeery long'] + images = [Struct(**{'id': i ** 16, 'name': val[i]}) + for i in range(len(val))] + + saved_stdout = sys.stdout + try: + sys.stdout = output_list = StringIO.StringIO() + utils.print_list(images, columns) + + sys.stdout = output_dict = StringIO.StringIO() + utils.print_dict({'K': 'k', 'Key': 'Value'}) + + finally: + sys.stdout = saved_stdout + + self.assertEqual(output_list.getvalue(), '''\ ++-------+--------------+ +| ID | Name | ++-------+--------------+ +| | Name1 | +| 1 | another | +| 65536 | veeeery long | ++-------+--------------+ +''') + + self.assertEqual(output_dict.getvalue(), '''\ ++----------+-------+ +| Property | Value | ++----------+-------+ +| K | k | +| Key | Value | ++----------+-------+ +''') + def test_ensure_str(self): ensure_str = utils.ensure_str self.assertEqual("True", ensure_str(True)) diff --git a/tools/pip-requires b/tools/pip-requires index e5a9941..7aaf5da 100644 --- a/tools/pip-requires +++ b/tools/pip-requires @@ -1,5 +1,5 @@ argparse -prettytable>=0.6,<0.7 +prettytable>=0.6,<0.8 python-keystoneclient>=0.1.2,<1 pyOpenSSL warlock>=0.7.0,<2 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.kPYv28/_old 2013-04-29 14:17:03.000000000 +0200 +++ /var/tmp/diff_new_pack.kPYv28/_new 2013-04-29 14:17:03.000000000 +0200 @@ -1,6 +1,7 @@ <services> <service name="git_tarballs" mode="disabled"> - <param name="url">http://tarballs.openstack.org/python-glanceclient/python-glanceclient-master.tar.gz</param> + <param name="url">http://tarballs.openstack.org/python-glanceclient/python-glanceclient-0.8.0.tar.gz</param> <param name="email">cloud-de...@suse.de</param> + <param name="plain-version">True</param> </service> </services> ++++++ python-glanceclient-master.tar.gz -> python-glanceclient-0.8.0.tar.gz ++++++ ++++ 2101 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org