Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package opi for openSUSE:Factory checked in at 2023-01-02 15:02:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/opi (Old) and /work/SRC/openSUSE:Factory/.opi.new.1563 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "opi" Mon Jan 2 15:02:35 2023 rev:36 rq:1046145 version:2.9.0 Changes: -------- --- /work/SRC/openSUSE:Factory/opi/opi.changes 2022-08-10 17:15:33.022060417 +0200 +++ /work/SRC/openSUSE:Factory/.opi.new.1563/opi.changes 2023-01-02 15:02:40.777523342 +0100 @@ -1,0 +2,8 @@ +Mon Jan 2 11:29:56 UTC 2023 - Dominik Heidler <dheid...@suse.de> + +- Version 2.9.0 +- Install selected package explicitly from the selected repo +- Switch to resilio-sync for testsuite +- add resilio-sync + +------------------------------------------------------------------- Old: ---- opi-2.8.0.tar.gz New: ---- opi-2.9.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ opi.spec ++++++ --- /var/tmp/diff_new_pack.gRN3CR/_old 2023-01-02 15:02:41.277526152 +0100 +++ /var/tmp/diff_new_pack.gRN3CR/_new 2023-01-02 15:02:41.281526176 +0100 @@ -1,7 +1,7 @@ # # spec file for package opi # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: opi -Version: 2.8.0 +Version: 2.9.0 Release: 0 Summary: OBS Package Installer (CLI) License: GPL-3.0-only ++++++ opi-2.8.0.tar.gz -> opi-2.9.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/opi-2.8.0/opi/__init__.py new/opi-2.9.0/opi/__init__.py --- old/opi-2.8.0/opi/__init__.py 2022-08-09 15:59:20.000000000 +0200 +++ new/opi-2.9.0/opi/__init__.py 2023-01-02 12:27:44.000000000 +0100 @@ -330,8 +330,10 @@ existing_repo = get_enabled_repo_by_url(url) if existing_repo: # Install from existing repos (don't add a repo) - install_packages([name_with_arch]) + print(f"Installing from existing repo '{existing_repo}'") + install_packages([name_with_arch], from_repo=existing_repo) else: + print(f"Adding repo '{project}'") add_repo( filename = repo_alias, name = project, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/opi-2.8.0/opi/plugins/resilio-sync.py new/opi-2.9.0/opi/plugins/resilio-sync.py --- old/opi-2.8.0/opi/plugins/resilio-sync.py 1970-01-01 01:00:00.000000000 +0100 +++ new/opi-2.9.0/opi/plugins/resilio-sync.py 2023-01-02 12:27:44.000000000 +0100 @@ -0,0 +1,24 @@ +import opi +from opi.plugins import BasePlugin +import subprocess + +class ResilioSync(BasePlugin): + main_query = "resilio-sync" + description = "Resilio Sync decentralized file synchronization between devices using the bittorrent protocol." + queries = ['resilio-sync', 'resilio', 'rslsync'] + + @classmethod + def run(cls, query): + if not opi.ask_yes_or_no("Do you want to install resilio-sync from resilio-sync repository?", 'y'): + return + + opi.add_repo( + filename = 'resilio-sync', + name = 'resilio-sync', + url = 'https://linux-packages.resilio.com/resilio-sync/rpm/$basearch', + gpgkey = 'https://linux-packages.resilio.com/resilio-sync/key.asc', + gpgcheck = False + ) + + opi.install_packages(['resilio-sync']) + opi.ask_keep_repo('resilio-sync') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/opi-2.8.0/opi/version.py new/opi-2.9.0/opi/version.py --- old/opi-2.8.0/opi/version.py 2022-08-09 15:59:20.000000000 +0200 +++ new/opi-2.9.0/opi/version.py 2023-01-02 12:27:44.000000000 +0100 @@ -1 +1 @@ -__version__ = '2.8.0' +__version__ = '2.9.0' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/opi-2.8.0/opi.changes new/opi-2.9.0/opi.changes --- old/opi-2.8.0/opi.changes 2022-08-09 15:59:20.000000000 +0200 +++ new/opi-2.9.0/opi.changes 2023-01-02 12:27:44.000000000 +0100 @@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Mon Jan 2 11:27:29 UTC 2023 - Dominik Heidler <dheid...@suse.de> + +- Version 2.9.0 +- Install selected package explicitly from the selected repo +- Switch to resilio-sync for testsuite +- add resilio-sync + +------------------------------------------------------------------- Tue Aug 9 13:58:57 UTC 2022 - Dominik Heidler <dheid...@suse.de> - Version 2.8.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/opi-2.8.0/test/03_install_using_plugin.py new/opi-2.9.0/test/03_install_using_plugin.py --- old/opi-2.8.0/test/03_install_using_plugin.py 2022-08-09 15:59:20.000000000 +0200 +++ new/opi-2.9.0/test/03_install_using_plugin.py 2023-01-02 12:27:44.000000000 +0100 @@ -4,7 +4,7 @@ import pexpect import subprocess -c = pexpect.spawn('./bin/opi yandex-disk', logfile=sys.stdout.buffer, echo=False) +c = pexpect.spawn('./bin/opi resilio-sync', logfile=sys.stdout.buffer, echo=False) c.expect("Do you want to install") c.sendline('y') @@ -20,5 +20,5 @@ c.close() assert c.exitstatus == 0, "Exit code: %i" % c.exitstatus -subprocess.check_call(['rpm', '-qi', 'yandex-disk']) -subprocess.check_call('zypper lr | grep yandex-disk', shell=True) +subprocess.check_call(['rpm', '-qi', 'resilio-sync']) +subprocess.check_call('zypper lr | grep resilio-sync', shell=True) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/opi-2.8.0/test/run_container_test.sh new/opi-2.9.0/test/run_container_test.sh --- old/opi-2.8.0/test/run_container_test.sh 2022-08-09 15:59:20.000000000 +0200 +++ new/opi-2.9.0/test/run_container_test.sh 2023-01-02 12:27:44.000000000 +0100 @@ -12,7 +12,7 @@ podman exec -it opi_base zypper -n install sudo python3 python3-requests python3-lxml python3-termcolor python3-curses curl # test dependencies - podman exec -it opi_base zypper -n install python3-pexpect + podman exec -it opi_base zypper -n install python3-pexpect shadow podman commit opi_base $opi_base_image podman kill opi_base