Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package sca-patterns-alp1 for openSUSE:Factory checked in at 2024-01-10 21:51:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sca-patterns-alp1 (Old) and /work/SRC/openSUSE:Factory/.sca-patterns-alp1.new.21961 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sca-patterns-alp1" Wed Jan 10 21:51:38 2024 rev:2 rq:1137791 version:2.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/sca-patterns-alp1/sca-patterns-alp1.changes 2023-12-07 19:12:11.135199009 +0100 +++ /work/SRC/openSUSE:Factory/.sca-patterns-alp1.new.21961/sca-patterns-alp1.changes 2024-01-10 21:51:59.687526906 +0100 @@ -1,0 +2,5 @@ +Tue Jan 9 17:49:46 UTC 2024 - [email protected] + +- Removed 00_template.py (bsc#1218660) + +------------------------------------------------------------------- Old: ---- sca-patterns-alp1-2.0.0.tar.gz New: ---- sca-patterns-alp1-2.0.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sca-patterns-alp1.spec ++++++ --- /var/tmp/diff_new_pack.wrTRD9/_old 2024-01-10 21:52:00.147543611 +0100 +++ /var/tmp/diff_new_pack.wrTRD9/_new 2024-01-10 21:52:00.147543611 +0100 @@ -1,7 +1,7 @@ - +# # spec file for package sca-patterns-alp1 # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,6 +12,10 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + %define sca_common sca %define patdirbase /usr/lib/%{sca_common} %define patdir %{patdirbase}/patterns @@ -21,15 +25,15 @@ %define category ALP Name: sca-patterns-alp1 -Version: 2.0.0 +Version: 2.0.1 Release: 0 Summary: Supportconfig Analysis Patterns for ALP1 -License: GPL-2.0 +License: GPL-2.0-only URL: https://github.com/g23guy/sca-patterns-alp1 Group: System/Monitoring Source: %{name}-%{version}.tar.gz Requires: sca-patterns-template-gen2 -Buildarch: noarch +BuildArch: noarch BuildRequires: fdupes %description ++++++ sca-patterns-alp1-2.0.0.tar.gz -> sca-patterns-alp1-2.0.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sca-patterns-alp1-2.0.0/patterns/ALP/alp1all/00_template.py new/sca-patterns-alp1-2.0.1/patterns/ALP/alp1all/00_template.py --- old/sca-patterns-alp1-2.0.0/patterns/ALP/alp1all/00_template.py 2023-11-06 23:18:10.492780520 +0100 +++ new/sca-patterns-alp1-2.0.1/patterns/ALP/alp1all/00_template.py 1970-01-01 01:00:00.000000000 +0100 @@ -1,74 +0,0 @@ -#!/usr/bin/python3 -# -# Description: Also TID -# Modified: 2023 Oct 04 -# -############################################################################## -# Copyright (C) 2023 SUSE LLC -############################################################################## -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, see <http://www.gnu.org/licenses/>. -# -# Authors/Contributors: -# Jason Record <[email protected]> -# -############################################################################## - -############################################################################## -# Module Definition -############################################################################## - -import os -import sys -import suse_core2 as core -import suse_base2 as suse - -############################################################################## -# Local Function Definitions -############################################################################## - -def get_cpu_count(): - file_open = pat.get_supportconfig_path('basic-health-check.txt') - section = 'name' - content = core.get_section_re(file_open, section) - - cpus = 0 - if len(content) > 0: - for line in content: - if line.startswith('processor'): - cpus += 1 - return cpus - -################################################################ -# main -################################################################ - -def main(argv): - '''main entry point''' - try: - pat.set_supportconfig_path(argv[1]) - except Exception: - print('Error: Supportconfig directory not found') - sys.exit(1) - - - pat.print_results() - -# Entry point -if __name__ == '__main__': - pat = suse.SCAPatternGen2('Basic Health', 'ALP', 'Kernel') - pat.set_id(os.path.basename(__file__)) - pat.set_tid('7002722') - pat.add_solution_link('tag', 'url') - main(sys.argv) -
