Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package opi for openSUSE:Factory checked in 
at 2022-06-13 13:03:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/opi (Old)
 and      /work/SRC/openSUSE:Factory/.opi.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "opi"

Mon Jun 13 13:03:06 2022 rev:34 rq:982384 version:2.7.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/opi/opi.changes  2022-06-07 11:45:41.599276546 
+0200
+++ /work/SRC/openSUSE:Factory/.opi.new.1548/opi.changes        2022-06-13 
13:03:35.309204359 +0200
@@ -1,0 +2,6 @@
+Mon Jun 13 09:08:36 UTC 2022 - Dominik Heidler <dheid...@suse.de>
+
+- Version 2.7.0
+- Make repo parsing more stable and improve error handling
+
+-------------------------------------------------------------------

Old:
----
  opi-2.6.0.tar.gz

New:
----
  opi-2.7.0.tar.gz

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

Other differences:
------------------
++++++ opi.spec ++++++
--- /var/tmp/diff_new_pack.IhdiE9/_old  2022-06-13 13:03:35.713204876 +0200
+++ /var/tmp/diff_new_pack.IhdiE9/_new  2022-06-13 13:03:35.721204887 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           opi
-Version:        2.6.0
+Version:        2.7.0
 Release:        0
 Summary:        OBS Package Installer (CLI)
 License:        GPL-3.0-only

++++++ opi-2.6.0.tar.gz -> opi-2.7.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/opi-2.6.0/README.md new/opi-2.7.0/README.md
--- old/opi-2.6.0/README.md     2022-05-31 16:44:37.000000000 +0200
+++ new/opi-2.7.0/README.md     2022-06-13 11:08:18.000000000 +0200
@@ -31,8 +31,8 @@
 ### SLE
 
 ```
-# SLE 15
-sudo zypper addrepo --refresh 
https://download.opensuse.org/repositories/home:guoyunhe/SLE_15/home:guoyunhe.repo
+# eg. for SLE 15 SP4
+sudo SUSEConnect -p PackageHub/15.4/x86_64
 
 sudo zypper refresh
 sudo zypper install opi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/opi-2.6.0/opi/__init__.py 
new/opi-2.7.0/opi/__init__.py
--- old/opi-2.6.0/opi/__init__.py       2022-05-31 16:44:37.000000000 +0200
+++ new/opi-2.7.0/opi/__init__.py       2022-06-13 11:08:18.000000000 +0200
@@ -116,12 +116,17 @@
 
 def get_repos():
        for repo_file in os.listdir(REPO_DIR):
-               cp = configparser.ConfigParser()
-               cp.read(os.path.join(REPO_DIR, repo_file))
-               mainsec = cp.sections()[0]
-               if not bool(int(cp.get(mainsec, "enabled"))):
+               if not repo_file.endswith('.repo'):
                        continue
-               yield (re.sub(r"\.repo$", "", repo_file), cp.get(mainsec, 
"baseurl"))
+               try:
+                       cp = configparser.ConfigParser()
+                       cp.read(os.path.join(REPO_DIR, repo_file))
+                       mainsec = cp.sections()[0]
+                       if not bool(int(cp.get(mainsec, "enabled"))):
+                               continue
+                       yield (re.sub(r"\.repo$", "", repo_file), 
cp.get(mainsec, "baseurl"))
+               except Exception as e:
+                       print("Error parsing '%s': %r" % (repo_file, e))
 
 def get_enabled_repo_by_url(url):
        for repo, repo_url in get_repos():
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/opi-2.6.0/opi/version.py new/opi-2.7.0/opi/version.py
--- old/opi-2.6.0/opi/version.py        2022-05-31 16:44:37.000000000 +0200
+++ new/opi-2.7.0/opi/version.py        2022-06-13 11:08:18.000000000 +0200
@@ -1 +1 @@
-__version__ = '2.6.0'
+__version__ = '2.7.0'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/opi-2.6.0/opi.changes new/opi-2.7.0/opi.changes
--- old/opi-2.6.0/opi.changes   2022-05-31 16:44:37.000000000 +0200
+++ new/opi-2.7.0/opi.changes   2022-06-13 11:08:18.000000000 +0200
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Mon Jun 13 09:08:05 UTC 2022 - Dominik Heidler <dheid...@suse.de>
+
+- Version 2.7.0
+- Make repo parsing more stable and improve error handling
+
+-------------------------------------------------------------------
 Tue May 31 14:44:14 UTC 2022 - Dominik Heidler <dheid...@suse.de>
 
 - Version 2.6.0

Reply via email to