Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sca-patterns-base for 
openSUSE:Factory checked in at 2022-10-28 19:30:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sca-patterns-base (Old)
 and      /work/SRC/openSUSE:Factory/.sca-patterns-base.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sca-patterns-base"

Fri Oct 28 19:30:25 2022 rev:9 rq:1031613 version:1.5.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/sca-patterns-base/sca-patterns-base.changes      
2021-11-05 22:58:42.688285098 +0100
+++ 
/work/SRC/openSUSE:Factory/.sca-patterns-base.new.2275/sca-patterns-base.changes
    2022-10-28 19:30:46.167004166 +0200
@@ -1,0 +2,6 @@
+Wed Oct 26 19:12:21 UTC 2022 - jason.rec...@suse.com
+
+- Changes to version 1.5.1
+  + Fixed UnicodeDecodeError when reading files (bsc#1204723)
+
+-------------------------------------------------------------------

Old:
----
  sca-patterns-base-1.5.0.tar.gz

New:
----
  sca-patterns-base-1.5.1.tar.gz

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

Other differences:
------------------
++++++ sca-patterns-base.spec ++++++
--- /var/tmp/diff_new_pack.KXbVVu/_old  2022-10-28 19:30:46.691006794 +0200
+++ /var/tmp/diff_new_pack.KXbVVu/_new  2022-10-28 19:30:46.699006834 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package sca-patterns-base
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,12 +24,12 @@
 %define patgrp root
 
 Name:           sca-patterns-base
-Version:        1.5.0
+Version:        1.5.1
 Release:        0
 Summary:        Supportconfig Analysis Pattern Base Libraries
 License:        GPL-2.0-only
-Group:          System/Monitoring
 URL:            https://github.com/g23guy/sca-patterns-base
+Group:          System/Monitoring
 Source:         %{name}-%{version}.tar.gz
 Requires:       bash
 Requires:       perl

++++++ sca-patterns-base-1.5.0.tar.gz -> sca-patterns-base-1.5.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sca-patterns-base-1.5.0/libraries/python/Core.py 
new/sca-patterns-base-1.5.1/libraries/python/Core.py
--- old/sca-patterns-base-1.5.0/libraries/python/Core.py        2021-11-04 
22:59:21.457946104 +0100
+++ new/sca-patterns-base-1.5.1/libraries/python/Core.py        2022-10-26 
21:13:42.551899311 +0200
@@ -4,7 +4,7 @@
 Core library of functions for creating and processing python patterns
 """
 ##############################################################################
-#  Copyright (C) 2021 SUSE LLC
+#  Copyright (C) 2021,2022 SUSE LLC
 ##############################################################################
 #
 #  This program is free software; you can redistribute it and/or modify
@@ -23,7 +23,7 @@
 #    David Hamner (ke7...@gmail.com)
 #    Jason Record (jrec...@suse.com)
 #
-#  Modified: 2021 June 10
+#  Modified: 2022 Oct 26
 #
 ##############################################################################
 
@@ -236,7 +236,7 @@
        RESULT = False
 
        try:
-               FILE = open(path + "/" + FILE_OPEN)
+               FILE = open(path + "/" + FILE_OPEN, "rt", errors='ignore')
        except Exception as error:
                updateStatus(ERROR, "ERROR: Cannot open " + FILE_OPEN + ": " + 
str(error))
 
@@ -273,7 +273,7 @@
        I = 0
 
        try:
-               FILE = open(path + "/" + FILE_OPEN)
+               FILE = open(path + "/" + FILE_OPEN, "rt", errors='ignore')
        except Exception as error:
                updateStatus(ERROR, "ERROR: Cannot open " + FILE_OPEN + ": " + 
str(error))
 
@@ -337,7 +337,7 @@
        i = 0
        global path
        try:
-               FILE = open(path + "/" + FILE_OPEN)
+               FILE = open(path + "/" + FILE_OPEN, "rt", errors='ignore')
        except Exception as error:
                updateStatus(ERROR, "ERROR: Cannot open " + FILE_OPEN + ": " + 
str(error))
        SectionTag = re.compile(SECTION)
@@ -394,7 +394,7 @@
        SectionName = ''
        global path
        try:
-               FILE = open(path + "/" + FILE_OPEN)
+               FILE = open(path + "/" + FILE_OPEN, "rt", errors='ignore')
        except Exception as error:
                updateStatus(ERROR, "ERROR: Cannot open " + FILE_OPEN + ": " + 
str(error))
        SectionTag = re.compile(SECTION)
@@ -450,7 +450,7 @@
        SectionName = ''
        global path
        try:
-               FILE = open(path + "/" + FILE_OPEN)
+               FILE = open(path + "/" + FILE_OPEN, "rt", errors='ignore')
        except Exception as error:
                updateStatus(ERROR, "ERROR: Cannot open " + FILE_OPEN + ": " + 
str(error))
        SectionTag = re.compile(SECTION)
@@ -501,7 +501,7 @@
        SectionName = ''
        global path
        try:
-               FILE = open(path + "/" + FILE_OPEN)
+               FILE = open(path + "/" + FILE_OPEN, "rt", errors='ignore')
        except Exception as error:
                updateStatus(ERROR, "ERROR: Cannot open " + FILE_OPEN + ": " + 
str(error))
        CommentedLine = re.compile('^#|^\s+#')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sca-patterns-base-1.5.0/libraries/python/HAE.py 
new/sca-patterns-base-1.5.1/libraries/python/HAE.py
--- old/sca-patterns-base-1.5.0/libraries/python/HAE.py 2021-11-04 
22:59:21.465945885 +0100
+++ new/sca-patterns-base-1.5.1/libraries/python/HAE.py 2022-10-26 
21:13:42.551899311 +0200
@@ -5,7 +5,7 @@
 High Availability Extension (HAE) clustering
 """
 ##############################################################################
-#  Copyright (C) 2014 SUSE LLC
+#  Copyright (C) 2014, 2022 SUSE LLC
 ##############################################################################
 #
 #  This program is free software; you can redistribute it and/or modify
@@ -21,9 +21,9 @@
 #  along with this program; if not, see <http://www.gnu.org/licenses/>.
 #
 #  Authors/Contributors:
-#    Jason Record (jrec...@suse.com)
+#    Jason Record <jason.rec...@suse.com>
 #
-#  Modified: 2014 Jun 17
+#  Modified: 2022 Oct 26
 #
 ##############################################################################
 
@@ -127,7 +127,7 @@
        DUMP_FOUND = False
 
        try:
-               FILE = open(Core.path + "/" + FILE_OPEN)
+               FILE = open(Core.path + "/" + FILE_OPEN, "rt", errors="ignore")
        except Exception as error:
 #              print "Error opening file: %s" % error
                Core.updateStatus(Core.ERROR, "ERROR: Cannot open " + FILE_OPEN)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sca-patterns-base-1.5.0/libraries/python/SUSE.py 
new/sca-patterns-base-1.5.1/libraries/python/SUSE.py
--- old/sca-patterns-base-1.5.0/libraries/python/SUSE.py        2021-11-04 
22:59:21.481945449 +0100
+++ new/sca-patterns-base-1.5.1/libraries/python/SUSE.py        2022-10-26 
21:13:42.551899311 +0200
@@ -4,7 +4,7 @@
 Library of functions for creating python patterns specific to SUSE
 """
 ##############################################################################
-#  Copyright (C) 2013-2021 SUSE LLC
+#  Copyright (C) 2013-2022 SUSE LLC
 ##############################################################################
 #
 #  This program is free software; you can redistribute it and/or modify
@@ -23,7 +23,7 @@
 #    Jason Record (jason.rec...@suse.com)
 #    David Hamner (ke7...@gmail.com)
 #
-#  Modified: 2021 Aug 16
+#  Modified: 2022 Oct 26
 #
 ##############################################################################
 
@@ -660,7 +660,7 @@
        RELEASE_LINE = 0
 
        try:
-               FILE = open(Core.path + "/" + FILE_OPEN)
+               FILE = open(Core.path + "/" + FILE_OPEN, "rt", errors="ignore")
        except Exception as error:
 #              print "getHostInfo: Error opening file: %s" % error
                Core.updateStatus(Core.ERROR, "ERROR: Cannot open " + FILE_OPEN)

Reply via email to