Hello community,

here is the log from the commit of package python-glanceclient for 
openSUSE:13.1 checked in at 2013-10-02 13:32:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:13.1/python-glanceclient (Old)
 and      /work/SRC/openSUSE:13.1/.python-glanceclient.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-glanceclient"

Changes:
--------
--- /work/SRC/openSUSE:13.1/python-glanceclient/python-glanceclient.changes     
2013-09-23 11:06:34.000000000 +0200
+++ 
/work/SRC/openSUSE:13.1/.python-glanceclient.new/python-glanceclient.changes    
    2013-10-02 13:32:48.000000000 +0200
@@ -1,0 +2,17 @@
+Thu Sep 26 09:58:14 UTC 2013 - [email protected]
+
+- Update to version 0.10.0.21:
+  + Support glance client can get ipv6 image url correctly
+
+-------------------------------------------------------------------
+Fri Sep 20 00:04:18 UTC 2013 - [email protected]
+
+- Update to version 0.10.0.19:
+  + Use openstack-images-v2.1-json-patch for update method
+
+-------------------------------------------------------------------
+Wed Sep 18 09:11:55 UTC 2013 - [email protected]
+
+- fix requires 
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-glanceclient.spec ++++++
--- /var/tmp/diff_new_pack.AsNcCQ/_old  2013-10-02 13:32:48.000000000 +0200
+++ /var/tmp/diff_new_pack.AsNcCQ/_new  2013-10-02 13:32:48.000000000 +0200
@@ -19,7 +19,7 @@
 %define component glanceclient
 
 Name:           python-glanceclient
-Version:        0.10.0.17
+Version:        0.10.0.21
 Release:        0
 Summary:        Openstack Image (Glance) API Client
 License:        Apache-2.0
@@ -43,10 +43,10 @@
 # /usr/bin/glance uses pkg_resources, thus:
 Requires:       python-PrettyTable >= 0.6
 Requires:       python-d2to1 >= 0.2.10
-Requires:       python-keystoneclient >= 0.1.2
-Requires:       python-pbr >= 0.5
+Requires:       python-keystoneclient >= 0.3.0
+Requires:       python-pbr >= 0.5.21
 Requires:       python-pyOpenSSL
-Requires:       python-warlock >= 0.7.0
+Requires:       python-warlock >= 1.0.1
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
@@ -63,24 +63,24 @@
 Summary:        Openstack Image (Glance) API Client - Testsuite
 Group:          System/Management
 Requires:       %{name} = %{version}
-Requires:       python-coverage
+Requires:       python-coverage >= 3.6
 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
 Requires:       python-discover
 %endif
 Requires:       python-flake8 >= 2.0
-Requires:       python-hacking >= 0.5.3
+Requires:       python-hacking >= 0.5.6
 Requires:       python-mock >= 0.8.0
-Requires:       python-mox
+Requires:       python-mox >= 0.5.3
 Requires:       python-pep8 >= 1.4.5
 Requires:       python-pyflakes >= 0.7.2
-Requires:       python-testrepository >= 0.0.13
-Requires:       python-testtools >= 0.9.22
+Requires:       python-testrepository >= 0.0.17
+Requires:       python-testtools >= 0.9.32
 
 %description test
 This package contains testsuite files for %{name}.
 
 %prep
-%setup -q -n python-glanceclient-0.10.0.17.g897ae3d
+%setup -q -n python-glanceclient-0.10.0.21.g7a4a8a0
 %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|" 
requirements.txt

++++++ python-glanceclient-master.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-glanceclient-0.10.0.17.g897ae3d/AUTHORS 
new/python-glanceclient-0.10.0.21.g7a4a8a0/AUTHORS
--- old/python-glanceclient-0.10.0.17.g897ae3d/AUTHORS  2013-09-03 
21:30:48.000000000 +0200
+++ new/python-glanceclient-0.10.0.21.g7a4a8a0/AUTHORS  2013-09-25 
22:02:45.000000000 +0200
@@ -18,6 +18,7 @@
 Davanum Srinivas <[email protected]>
 David Peraza <[email protected]>
 David Wittman <[email protected]>
+Dazhao <[email protected]>
 Dean Troyer <[email protected]>
 Diego Parrilla <[email protected]>
 Dirk Mueller <[email protected]>
@@ -27,6 +28,7 @@
 Florian Haas <[email protected]>
 Gabe Westmaas <[email protected]>
 Gabriel Hurley <[email protected]>
+Ghe Rivero <[email protected]>
 Hugh Saunders <[email protected]>
 Jakub Ruzicka <[email protected]>
 James E. Blair <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-glanceclient-0.10.0.17.g897ae3d/ChangeLog 
new/python-glanceclient-0.10.0.21.g7a4a8a0/ChangeLog
--- old/python-glanceclient-0.10.0.17.g897ae3d/ChangeLog        2013-09-03 
21:30:48.000000000 +0200
+++ new/python-glanceclient-0.10.0.21.g7a4a8a0/ChangeLog        2013-09-25 
22:02:45.000000000 +0200
@@ -1,3 +1,31 @@
+commit 7a4a8a0979fd76203f0cb81622a7f06ee42bb615
+Merge: 360a29a 061da46
+Author: Jenkins <[email protected]>
+Date:   Wed Sep 25 20:01:58 2013 +0000
+
+    Merge "Support glance client can get ipv6 image url correctly"
+
+commit 360a29a763ba89323fb2d501ac1edd77185f418f
+Merge: 897ae3d 3307549
+Author: Jenkins <[email protected]>
+Date:   Thu Sep 19 17:55:45 2013 +0000
+
+    Merge "Use openstack-images-v2.1-json-patch for update method"
+
+commit 061da46202759f55866d224f9ab8013e747637c7
+Author: Dazhao <[email protected]>
+Date:   Wed Aug 21 12:54:19 2013 +0800
+
+    Support glance client can get ipv6 image url correctly
+    
+    This patch is for fix bug 1208784. In openstack ipv6 environment,
+    if the os image url is not provided, need use the provided host
+    to generate literal ipv6 image url.
+    
+    Fixes bug 1208784
+    
+    Change-Id: Icb71241a639db02d079348f086bd7bd5f0412609
+
 commit 897ae3d795423a0f1d92f0738ad4dff99c28c6de
 Author: Fei Long Wang <[email protected]>
 Date:   Sun Aug 11 11:02:32 2013 +0800
@@ -34,6 +62,19 @@
     
     Change-Id: Ic76e872e78ec77b731ad9dced833803da3fa9aca
 
+commit 3307549a0f66294972c8b5ebff59ab01d18a1d91
+Author: Ghe Rivero <[email protected]>
+Date:   Mon Jul 29 11:41:10 2013 +0000
+
+    Use openstack-images-v2.1-json-patch for update method
+    
+    image.patch returns a JSON schema Draft 10 
(application/openstack-images-v2.1-json-patch)
+    while the glaceclient update method specify a Content-Type header
+    application/openstack-images-v2.0-json-patch with correspond to a JSON 
schemea Draft 4.
+    
+    Fixes bug 1206095
+    Change-Id: I8c5a96f0e117a81b5b527a96ef45758fc69b518d
+
 commit 835638fd8ad4fb39be2161ee79057565809082ab
 Merge: fe9a62b a30981e
 Author: Jenkins <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-glanceclient-0.10.0.17.g897ae3d/PKG-INFO 
new/python-glanceclient-0.10.0.21.g7a4a8a0/PKG-INFO
--- old/python-glanceclient-0.10.0.17.g897ae3d/PKG-INFO 2013-09-03 
21:30:49.000000000 +0200
+++ new/python-glanceclient-0.10.0.21.g7a4a8a0/PKG-INFO 2013-09-25 
22:02:45.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: python-glanceclient
-Version: 0.10.0.17.g897ae3d
+Version: 0.10.0.21.g7a4a8a0
 Summary: OpenStack Image API Client Library
 Home-page: http://www.openstack.org/
 Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-glanceclient-0.10.0.17.g897ae3d/glanceclient/shell.py 
new/python-glanceclient-0.10.0.21.g7a4a8a0/glanceclient/shell.py
--- old/python-glanceclient-0.10.0.17.g897ae3d/glanceclient/shell.py    
2013-09-03 21:29:58.000000000 +0200
+++ new/python-glanceclient-0.10.0.21.g7a4a8a0/glanceclient/shell.py    
2013-09-25 22:02:10.000000000 +0200
@@ -23,6 +23,7 @@
 import sys
 
 from keystoneclient.v2_0 import client as ksclient
+import netaddr
 
 import glanceclient
 from glanceclient import exc
@@ -347,6 +348,9 @@
         if args.os_image_url:
             return args.os_image_url
         elif args.host:
+            # Check if it is legal ipv6 address, if so, need wrap it with '[]'
+            if netaddr.valid_ipv6(args.host):
+                args.host = '[%s]' % args.host
             scheme = 'https' if args.use_ssl else 'http'
             return '%s://%s:%s/' % (scheme, args.host, args.port)
         else:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-glanceclient-0.10.0.17.g897ae3d/glanceclient/v2/images.py 
new/python-glanceclient-0.10.0.21.g7a4a8a0/glanceclient/v2/images.py
--- old/python-glanceclient-0.10.0.17.g897ae3d/glanceclient/v2/images.py        
2013-09-03 21:29:58.000000000 +0200
+++ new/python-glanceclient-0.10.0.21.g7a4a8a0/glanceclient/v2/images.py        
2013-09-25 22:02:10.000000000 +0200
@@ -157,7 +157,7 @@
                 delattr(image, key)
 
         url = '/v2/images/%s' % image_id
-        hdrs = {'Content-Type': 'application/openstack-images-v2.0-json-patch'}
+        hdrs = {'Content-Type': 'application/openstack-images-v2.1-json-patch'}
         self.http_client.raw_request('PATCH', url,
                                      headers=hdrs,
                                      body=image.patch)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-glanceclient-0.10.0.17.g897ae3d/python_glanceclient.egg-info/PKG-INFO
 
new/python-glanceclient-0.10.0.21.g7a4a8a0/python_glanceclient.egg-info/PKG-INFO
--- 
old/python-glanceclient-0.10.0.17.g897ae3d/python_glanceclient.egg-info/PKG-INFO
    2013-09-03 21:30:48.000000000 +0200
+++ 
new/python-glanceclient-0.10.0.21.g7a4a8a0/python_glanceclient.egg-info/PKG-INFO
    2013-09-25 22:02:45.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: python-glanceclient
-Version: 0.10.0.17.g897ae3d
+Version: 0.10.0.21.g7a4a8a0
 Summary: OpenStack Image API Client Library
 Home-page: http://www.openstack.org/
 Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-glanceclient-0.10.0.17.g897ae3d/tests/test_shell.py 
new/python-glanceclient-0.10.0.21.g7a4a8a0/tests/test_shell.py
--- old/python-glanceclient-0.10.0.17.g897ae3d/tests/test_shell.py      
2013-09-03 21:29:58.000000000 +0200
+++ new/python-glanceclient-0.10.0.21.g7a4a8a0/tests/test_shell.py      
2013-09-25 22:02:10.000000000 +0200
@@ -80,3 +80,14 @@
             add_help=False,
             formatter_class=openstack_shell.HelpFormatter,)
         self.assertTrue(expected, actual_parser)
+
+    def test_get_image_url_by_ipv6Addr_host(self):
+        fake_args = lambda: None
+        setattr(fake_args, 'os_image_url', None)
+        setattr(fake_args, 'host', '2011:2013:1:f101::1')
+        setattr(fake_args, 'use_ssl', True)
+        setattr(fake_args, 'port', '9292')
+        expected_image_url = 'https://[2011:2013:1:f101::1]:9292/'
+        test_shell = openstack_shell.OpenStackImagesShell()
+        targeted_image_url = test_shell._get_image_url(fake_args)
+        self.assertEqual(expected_image_url, targeted_image_url)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-glanceclient-0.10.0.17.g897ae3d/tests/v2/test_images.py 
new/python-glanceclient-0.10.0.21.g7a4a8a0/tests/v2/test_images.py
--- old/python-glanceclient-0.10.0.17.g897ae3d/tests/v2/test_images.py  
2013-09-03 21:29:58.000000000 +0200
+++ new/python-glanceclient-0.10.0.21.g7a4a8a0/tests/v2/test_images.py  
2013-09-25 22:02:10.000000000 +0200
@@ -514,7 +514,7 @@
         params = {'name': 'pong'}
         image = self.controller.update(image_id, **params)
         expect_hdrs = {
-            'Content-Type': 'application/openstack-images-v2.0-json-patch',
+            'Content-Type': 'application/openstack-images-v2.1-json-patch',
         }
         expect_body = '[{"path": "/name", "value": "pong", "op": "replace"}]'
         expect = [
@@ -533,7 +533,7 @@
         params = {'finn': 'human'}
         image = self.controller.update(image_id, **params)
         expect_hdrs = {
-            'Content-Type': 'application/openstack-images-v2.0-json-patch',
+            'Content-Type': 'application/openstack-images-v2.1-json-patch',
         }
         expect_body = '[{"path": "/finn", "value": "human", "op": "add"}]'
         expect = [
@@ -552,7 +552,7 @@
         remove_props = ['barney']
         image = self.controller.update(image_id, remove_props)
         expect_hdrs = {
-            'Content-Type': 'application/openstack-images-v2.0-json-patch',
+            'Content-Type': 'application/openstack-images-v2.1-json-patch',
         }
         expect_body = '[{"path": "/barney", "op": "remove"}]'
         expect = [
@@ -573,7 +573,7 @@
         remove_props = ['barney']
         image = self.controller.update(image_id, remove_props, **params)
         expect_hdrs = {
-            'Content-Type': 'application/openstack-images-v2.0-json-patch',
+            'Content-Type': 'application/openstack-images-v2.1-json-patch',
         }
         expect_body = '[{"path": "/barney", "value": "miller", ' \
                       '"op": "replace"}]'
@@ -595,7 +595,7 @@
         remove_props = ['finn']
         image = self.controller.update(image_id, remove_props, **params)
         expect_hdrs = {
-            'Content-Type': 'application/openstack-images-v2.0-json-patch',
+            'Content-Type': 'application/openstack-images-v2.1-json-patch',
         }
         expect_body = '[{"path": "/finn", "value": "human", "op": "add"}]'
         expect = [

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to