Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package opi for openSUSE:Factory checked in at 2021-08-11 11:47:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/opi (Old) and /work/SRC/openSUSE:Factory/.opi.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "opi" Wed Aug 11 11:47:13 2021 rev:20 rq:911223 version:2.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/opi/opi.changes 2021-07-08 22:49:40.367888542 +0200 +++ /work/SRC/openSUSE:Factory/.opi.new.1899/opi.changes 2021-08-11 11:47:50.553701365 +0200 @@ -1,0 +2,7 @@ +Tue Aug 10 09:33:19 UTC 2021 - Dominik Heidler <dheid...@suse.de> + +- Version 2.1.1 + * Added + - Plugin for Brave Browser + +------------------------------------------------------------------- Old: ---- opi-2.1.0.tar.gz New: ---- opi-2.1.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ opi.spec ++++++ --- /var/tmp/diff_new_pack.gLuOcD/_old 2021-08-11 11:47:51.081700730 +0200 +++ /var/tmp/diff_new_pack.gLuOcD/_new 2021-08-11 11:47:51.085700725 +0200 @@ -17,7 +17,7 @@ Name: opi -Version: 2.1.0 +Version: 2.1.1 Release: 0 Summary: OBS Package Installer (CLI) License: GPL-3.0-only ++++++ opi-2.1.0.tar.gz -> opi-2.1.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/opi-2.1.0/CHANGELOG.md new/opi-2.1.1/CHANGELOG.md --- old/opi-2.1.0/CHANGELOG.md 2021-07-05 16:14:29.000000000 +0200 +++ new/opi-2.1.1/CHANGELOG.md 2021-08-10 11:30:42.000000000 +0200 @@ -7,6 +7,12 @@ ## [Unreleased] +## [2.1.1] - 2021-08-10 + +### Added + +- Plugin for Brave Browser [#60](https://github.com/openSUSE/opi/pull/60) + ## [2.1.0] - 2021-07-05 ### Added diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/opi-2.1.0/opi/plugins/brave.py new/opi-2.1.1/opi/plugins/brave.py --- old/opi-2.1.0/opi/plugins/brave.py 1970-01-01 01:00:00.000000000 +0100 +++ new/opi-2.1.1/opi/plugins/brave.py 2021-08-10 11:30:42.000000000 +0200 @@ -0,0 +1,23 @@ +import opi +from opi.plugins import BasePlugin +import subprocess + +class BraveBrowser(BasePlugin): + main_query = "brave" + description = "Brave web browser" + queries = ('brave', 'brave-browser') + + @classmethod + def run(cls, query): + if not opi.ask_yes_or_no("Do you want to install Brave from Brave repository?", 'y'): + return + + opi.add_repo( + filename = 'brave-browser', + name = 'Brave Browser', + url = 'https://brave-browser-rpm-release.s3.brave.com/x86_64/', + gpgkey = 'https://brave-browser-rpm-release.s3.brave.com/brave-core.asc' + ) + + opi.install_packages(['brave-browser']) + opi.ask_keep_repo('brave-browser') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/opi-2.1.0/opi/version.py new/opi-2.1.1/opi/version.py --- old/opi-2.1.0/opi/version.py 2021-07-05 16:14:29.000000000 +0200 +++ new/opi-2.1.1/opi/version.py 2021-08-10 11:30:42.000000000 +0200 @@ -1 +1 @@ -__version__ = '2.1.0' +__version__ = '2.1.1' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/opi-2.1.0/test/01_install_from_packman.py new/opi-2.1.1/test/01_install_from_packman.py --- old/opi-2.1.0/test/01_install_from_packman.py 2021-07-05 16:14:29.000000000 +0200 +++ new/opi-2.1.1/test/01_install_from_packman.py 2021-08-10 11:30:42.000000000 +0200 @@ -16,8 +16,8 @@ c.expect("Do you want to reject the key", timeout=10) c.sendline('t') -c.expect("new packages to install", timeout=10) -c.expect("Continue", timeout=10) +c.expect("new packages to install", timeout=60) +c.expect("Continue", timeout=60) c.sendline('y') c.interact() c.wait() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/opi-2.1.0/test/02_install_from_home.py new/opi-2.1.1/test/02_install_from_home.py --- old/opi-2.1.0/test/02_install_from_home.py 2021-07-05 16:14:29.000000000 +0200 +++ new/opi-2.1.1/test/02_install_from_home.py 2021-08-10 11:30:42.000000000 +0200 @@ -13,11 +13,11 @@ c.expect("2. .*X11:Utilities", timeout=10) c.sendline('2') -c.expect("new packages to install", timeout=10) -c.expect("Continue", timeout=10) +c.expect("new packages to install", timeout=60) +c.expect("Continue", timeout=60) c.sendline('y') -c.expect("Do you want to keep the repo", timeout=150) +c.expect("Do you want to keep the repo", timeout=350) c.sendline('n') c.interact() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/opi-2.1.0/test/03_install_using_plugin.py new/opi-2.1.1/test/03_install_using_plugin.py --- old/opi-2.1.0/test/03_install_using_plugin.py 2021-07-05 16:14:29.000000000 +0200 +++ new/opi-2.1.1/test/03_install_using_plugin.py 2021-08-10 11:30:42.000000000 +0200 @@ -12,7 +12,7 @@ c.expect("Continue") c.sendline('y') -c.expect("Do you want to keep", timeout=600) +c.expect("Do you want to keep", timeout=800) c.sendline('y') c.interact()