Hello community,
here is the log from the commit of package python3-ec2imgutils for
openSUSE:Factory checked in at 2020-06-19 17:24:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-ec2imgutils (Old)
and /work/SRC/openSUSE:Factory/.python3-ec2imgutils.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-ec2imgutils"
Fri Jun 19 17:24:06 2020 rev:11 rq:815760 version:8.1.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-ec2imgutils/python3-ec2imgutils.changes
2020-06-09 00:12:16.686829379 +0200
+++
/work/SRC/openSUSE:Factory/.python3-ec2imgutils.new.3606/python3-ec2imgutils.changes
2020-06-19 17:24:36.488106218 +0200
@@ -1,0 +2,7 @@
+Mon Jun 15 16:43:47 UTC 2020 - Sean Marlow <[email protected]>
+
+- Update to version 8.1.2 (bsc#1172948)
+ + Fix regression in deprecation and list image related to logger
+ changes.
+
+-------------------------------------------------------------------
Old:
----
ec2imgutils-8.1.1.tar.bz2
New:
----
ec2imgutils-8.1.2.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python3-ec2imgutils.spec ++++++
--- /var/tmp/diff_new_pack.ikM65F/_old 2020-06-19 17:24:37.120108024 +0200
+++ /var/tmp/diff_new_pack.ikM65F/_new 2020-06-19 17:24:37.124108036 +0200
@@ -19,7 +19,7 @@
%define upstream_name ec2imgutils
Name: python3-ec2imgutils
-Version: 8.1.1
+Version: 8.1.2
Release: 0
Summary: Image management utilities for AWS EC2
License: GPL-3.0-or-later
++++++ ec2imgutils-8.1.1.tar.bz2 -> ec2imgutils-8.1.2.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ec2imgutils-8.1.1/lib/ec2imgutils/VERSION
new/ec2imgutils-8.1.2/lib/ec2imgutils/VERSION
--- old/ec2imgutils-8.1.1/lib/ec2imgutils/VERSION 2020-06-08
15:51:20.976472589 +0200
+++ new/ec2imgutils-8.1.2/lib/ec2imgutils/VERSION 2020-06-15
18:21:48.173480336 +0200
@@ -1 +1 @@
-8.1.1
+8.1.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ec2imgutils-8.1.1/lib/ec2imgutils/ec2deprecateimg.py
new/ec2imgutils-8.1.2/lib/ec2imgutils/ec2deprecateimg.py
--- old/ec2imgutils-8.1.1/lib/ec2imgutils/ec2deprecateimg.py 2020-06-08
15:51:20.976472589 +0200
+++ new/ec2imgutils-8.1.2/lib/ec2imgutils/ec2deprecateimg.py 2020-06-15
18:21:48.173480336 +0200
@@ -83,7 +83,7 @@
def _find_images_by_name(self, image_name, filter_replacement_image=None):
"""Find images by exact name match"""
my_images = self._get_all_type_match_images(filter_replacement_image)
- return utils.find_images_by_name(my_images, image_name)
+ return utils.find_images_by_name(my_images, image_name, self.log)
# ---------------------------------------------------------------------
def _find_images_by_name_fragment(
@@ -92,7 +92,11 @@
filter_replacement_image=None):
"""Find images by string matching of the fragment with the name"""
my_images = self._get_all_type_match_images(filter_replacement_image)
- return utils.find_images_by_name_fragment(my_images, name_fragment)
+ return utils.find_images_by_name_fragment(
+ my_images,
+ name_fragment,
+ self.log
+ )
# ---------------------------------------------------------------------
def _find_images_by_name_regex_match(
@@ -101,7 +105,11 @@
filter_replacement_image=None):
"""Find images by match the name with the given regular expression"""
my_images = self._get_all_type_match_images(filter_replacement_image)
- return utils.find_images_by_name_regex_match(my_images, expression)
+ return utils.find_images_by_name_regex_match(
+ my_images,
+ expression,
+ self.log
+ )
# ---------------------------------------------------------------------
def _format_date(self, date):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ec2imgutils-8.1.1/lib/ec2imgutils/ec2listimg.py
new/ec2imgutils-8.1.2/lib/ec2imgutils/ec2listimg.py
--- old/ec2imgutils-8.1.1/lib/ec2imgutils/ec2listimg.py 2020-06-08
15:51:20.976472589 +0200
+++ new/ec2imgutils-8.1.2/lib/ec2imgutils/ec2listimg.py 2020-06-15
18:21:48.173480336 +0200
@@ -61,20 +61,20 @@
owned_images = self._get_owned_images()
if self.image_id:
return utils.find_images_by_id(
- owned_images, self.image_id, self.log.info
+ owned_images, self.image_id
)
elif self.image_name:
return utils.find_images_by_name(
- owned_images, self.image_name, self.log.info
+ owned_images, self.image_name, self.log
)
elif self.image_name_fragment:
return utils.find_images_by_name_fragment(
- owned_images, self.image_name_fragment, self.log.info
+ owned_images, self.image_name_fragment, self.log
)
elif self.image_name_match:
try:
return utils.find_images_by_name_regex_match(
- owned_images, self.image_name_match, self.log.info
+ owned_images, self.image_name_match, self.log
)
except Exception:
msg = 'Unable to complie regular expression "%s"'