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 2024-09-16 17:46:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sca-patterns-base (Old) and /work/SRC/openSUSE:Factory/.sca-patterns-base.new.29891 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sca-patterns-base" Mon Sep 16 17:46:24 2024 rev:13 rq:1201448 version:1.6.1 Changes: -------- --- /work/SRC/openSUSE:Factory/sca-patterns-base/sca-patterns-base.changes 2024-01-10 21:51:58.811495093 +0100 +++ /work/SRC/openSUSE:Factory/.sca-patterns-base.new.29891/sca-patterns-base.changes 2024-09-16 17:46:27.205449661 +0200 @@ -1,0 +2,6 @@ +Wed Jan 31 23:10:38 UTC 2024 - jason.rec...@suse.com + +- Changes to version 1.6.1 + + fixed set_supportconfig_path (bsc#1219421) + +------------------------------------------------------------------- Old: ---- sca-patterns-base-1.6.0.tar.gz New: ---- sca-patterns-base-1.6.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sca-patterns-base.spec ++++++ --- /var/tmp/diff_new_pack.XzjScB/_old 2024-09-16 17:46:27.781473749 +0200 +++ /var/tmp/diff_new_pack.XzjScB/_new 2024-09-16 17:46:27.785473916 +0200 @@ -23,7 +23,7 @@ %define patgrp root Name: sca-patterns-base -Version: 1.6.0 +Version: 1.6.1 Release: 0 Summary: Supportconfig Analysis Pattern Base Libraries License: GPL-2.0-only ++++++ sca-patterns-base-1.6.0.tar.gz -> sca-patterns-base-1.6.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-base-1.6.0/libraries/perl/SDP/SUSE.pm new/sca-patterns-base-1.6.1/libraries/perl/SDP/SUSE.pm --- old/sca-patterns-base-1.6.0/libraries/perl/SDP/SUSE.pm 2023-06-06 19:33:43.994603472 +0200 +++ new/sca-patterns-base-1.6.1/libraries/perl/SDP/SUSE.pm 2024-09-16 16:53:51.598791696 +0200 @@ -1640,7 +1640,7 @@ # get vendor and version my $HEADER_LINES = 2; my @CONTENT = (); - my $SECTION = '[0-9]{DISTRIBUTION}'; + my $SECTION = '[0-9]\{DISTRIBUTION\}'; my $LINE = 0; if ( SDP::Core::getSection($FILE_OPEN, $SECTION, \@CONTENT) ) { foreach $_ (@CONTENT) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-base-1.6.0/libraries/python/suse_base2.py new/sca-patterns-base-1.6.1/libraries/python/suse_base2.py --- old/sca-patterns-base-1.6.0/libraries/python/suse_base2.py 2023-12-04 23:26:20.384462881 +0100 +++ new/sca-patterns-base-1.6.1/libraries/python/suse_base2.py 2024-09-16 16:53:51.598791696 +0200 @@ -197,13 +197,17 @@ def set_cve(self, cve_id, is_primary=False): self.add_solution_link('CVE', self.CVE_BASE + str(cve_id), set_primary=is_primary) - def set_supportconfig_path(self, path): - if path.endswith('/'): - self.meta['scpath'] = path - self.meta['scname'] = os.path.basename(os.path.split(path)[0]) + def set_supportconfig_path(self, path=None): + if( path ): + if path.endswith('/'): + self.meta['scpath'] = path + self.meta['scname'] = os.path.basename(os.path.split(path)[0]) + else: + self.meta['scpath'] = path + '/' + self.meta['scname'] = os.path.basename(path) else: - self.meta['scpath'] = path + '/' - self.meta['scname'] = os.path.basename(path) + print('Error: Supportconfig archive path not found, try passing it as the first pattern argument') + sys.exit(3) def set_status(self, severity, description): self.meta['severity'] = severity