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-08-31 13:45:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/opi (Old)
 and      /work/SRC/openSUSE:Factory/.opi.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "opi"

Thu Aug 31 13:45:59 2023 rev:47 rq:1108126 version:3.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/opi/opi.changes  2023-07-28 22:20:41.105315708 
+0200
+++ /work/SRC/openSUSE:Factory/.opi.new.1766/opi.changes        2023-08-31 
13:52:05.797902554 +0200
@@ -1,0 +2,10 @@
+Wed Aug 30 13:32:33 UTC 2023 - Dominik Heidler <dheid...@suse.de>
+
+- Version 3.4.0
+- Add unofficial Teams-for-linux client
+- Improve non interactive tests
+- Strip test module name
+- chore: fix indentation
+- docs: add config options, update opi help page
+
+-------------------------------------------------------------------

Old:
----
  opi-3.3.0.tar.gz

New:
----
  opi-3.4.0.tar.gz

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

Other differences:
------------------
++++++ opi.spec ++++++
--- /var/tmp/diff_new_pack.BCC6T4/_old  2023-08-31 13:52:06.801938441 +0200
+++ /var/tmp/diff_new_pack.BCC6T4/_new  2023-08-31 13:52:06.805938583 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           opi
-Version:        3.3.0
+Version:        3.4.0
 Release:        0
 Summary:        OBS Package Installer (CLI)
 License:        GPL-3.0-only

++++++ opi-3.3.0.tar.gz -> opi-3.4.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/opi-3.3.0/README.md new/opi-3.4.0/README.md
--- old/opi-3.3.0/README.md     2023-07-28 12:01:38.000000000 +0200
+++ new/opi-3.4.0/README.md     2023-08-30 15:32:26.000000000 +0200
@@ -57,10 +57,13 @@
 
 ![Screenshot](demo.gif)
 
-### Using DNF instead of Zypper
+### Config options
+
+Change the config by editing the content of `/etc/opi.cfg`.
+
+#### Using DNF instead of Zypper
 
 If you want to, you can use [DNF](https://en.opensuse.org/SDB:DNF) instead of 
Zypper.
-To do this, change the content of `/etc/opi.cfg`:
 
 ```cfg
 backend = dnf
@@ -68,6 +71,16 @@
 
 If you want to go back to Zypper, just change the value of `backend` back to 
`zypp`.
 
+#### Disabling auto-refresh for new repositories
+
+If you want to, you can disable auto-refreshing of new repositories.
+
+```cfg
+new_repo_auto_refresh = false
+```
+
+If you want to reactivate auto-refreshing for new repositories, just change 
the value of `new_repo_auto_refresh` back to `true`.
+
 ### Packages from Other Repositories
 
 **Packman Codecs** (enable you to play MP4 videos and YouTube)
@@ -81,7 +94,7 @@
 ```
 
 ```
-usage: opi [-h] [-v] [-r] [query [query ...]]
+usage: opi [-h] [-v] [-n] [query ...]
 
 openSUSE Package Installer
 ==========================
@@ -92,17 +105,15 @@
   3. Popular packages for various vendors
 
 positional arguments:
-  query                 can be any package name or part of it and will be
-                        searched for both at the openSUSE Build Service and
-                        Packman.
-                        If multiple query arguments are provided only results
-                        matching all of them are returned.
-
-optional arguments:
-  -h, --help            show this help message and exit
-  -v, --version         show program's version number and exit
-  -r, --reversed-output
-                        print the search results in reverse
+  query          can be any package name or part of it and will be searched
+                 for both at the openSUSE Build Service and Packman.
+                 If multiple query arguments are provided only results
+                 matching all of them are returned.
+
+options:
+  -h, --help     show this help message and exit
+  -v, --version  show program's version number and exit
+  -n             Run in non interactive mode
 
 Also these queries can be used to install packages from various other vendors:
   anydesk           AnyDesk remote access
@@ -112,6 +123,7 @@
   codecs            Media Codecs from Packman and official repo
   dotnet            Microsoft .NET
   jami              Jami p2p messenger
+  maptool           Virtual Tabletop for playing roleplaying games
   megasync          Mega Desktop App
   msedge            Microsoft Edge
   plex              Plex Media Server
@@ -119,6 +131,7 @@
   skype             Microsoft Skype
   slack             Slack messenger
   sublime           Editor for code, markup and prose
+  teams-for-linux   unofficial Microsoft Teams for Linux
   teamviewer        TeamViewer remote access
   vivaldi           Vivaldi web browser
   vscode            Microsoft Visual Studio Code
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/opi-3.3.0/opi/plugins/teams-for-linux.py 
new/opi-3.4.0/opi/plugins/teams-for-linux.py
--- old/opi-3.3.0/opi/plugins/teams-for-linux.py        1970-01-01 
01:00:00.000000000 +0100
+++ new/opi-3.4.0/opi/plugins/teams-for-linux.py        2023-08-30 
15:32:26.000000000 +0200
@@ -0,0 +1,22 @@
+import opi
+from opi.plugins import BasePlugin
+
+class TeamsForLinux(BasePlugin):
+       main_query = 'teams-for-linux'
+       description = 'Unofficial Microsoft Teams for Linux client'
+       queries = ['teams-for-linux','teams']
+
+       @classmethod
+       def run(cls, query):
+               if not opi.ask_yes_or_no('Do you want to install 
teams-for-linux from teamsforlinux.de repository?'):
+                       return
+
+               opi.add_repo(
+                       filename = 'teams-for-linux',
+                       name = 'Unofficial Teams for Linux',
+                       url = 'https://repo.teamsforlinux.de/rpm/',
+                       gpgkey = 
'https://repo.teamsforlinux.de/teams-for-linux.asc'
+               )
+
+               opi.install_packages(['teams-for-linux'])
+               opi.ask_keep_repo('teams-for-linux')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/opi-3.3.0/opi/version.py new/opi-3.4.0/opi/version.py
--- old/opi-3.3.0/opi/version.py        2023-07-28 12:01:38.000000000 +0200
+++ new/opi-3.4.0/opi/version.py        2023-08-30 15:32:26.000000000 +0200
@@ -1 +1 @@
-__version__ = '3.3.0'
+__version__ = '3.4.0'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/opi-3.3.0/opi.changes new/opi-3.4.0/opi.changes
--- old/opi-3.3.0/opi.changes   2023-07-28 12:01:38.000000000 +0200
+++ new/opi-3.4.0/opi.changes   2023-08-30 15:32:26.000000000 +0200
@@ -1,4 +1,14 @@
 -------------------------------------------------------------------
+Wed Aug 30 13:32:14 UTC 2023 - Dominik Heidler <dheid...@suse.de>
+
+- Version 3.4.0
+- Add unofficial Teams-for-linux client
+- Improve non interactive tests
+- Strip test module name
+- chore: fix indentation
+- docs: add config options, update opi help page
+
+-------------------------------------------------------------------
 Fri Jul 28 10:01:21 UTC 2023 - Dominik Heidler <dheid...@suse.de>
 
 - Version 3.3.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/opi-3.3.0/test/06_install_non_interactive.py 
new/opi-3.4.0/test/06_install_non_interactive.py
--- old/opi-3.3.0/test/06_install_non_interactive.py    2023-07-28 
12:01:38.000000000 +0200
+++ new/opi-3.4.0/test/06_install_non_interactive.py    2023-08-30 
15:32:26.000000000 +0200
@@ -10,7 +10,7 @@
 c.expect('Pick a number')
 c.expect(r'([0-9]+)\. [^ ]*(openSUSE-Tumbleweed-Oss|Main Repository)', 
timeout=10)
 c.expect('Installing from existing repo', timeout=10)
-c.expect('Continue?', timeout=10)
+c.expect('Continue?', timeout=20)
 c.interact()
 c.wait()
 c.close()
@@ -25,7 +25,7 @@
 c.expect('Pick a number')
 c.expect(r'([0-9]+)\. [^ ]*(filesystems)', timeout=10)
 c.expect('Adding repo \'filesystems\'', timeout=10)
-c.expect('Continue?', timeout=10)
+c.expect('Continue?', timeout=20)
 c.interact()
 c.wait()
 c.close()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/opi-3.3.0/test/run_container_test.sh 
new/opi-3.4.0/test/run_container_test.sh
--- old/opi-3.3.0/test/run_container_test.sh    2023-07-28 12:01:38.000000000 
+0200
+++ new/opi-3.4.0/test/run_container_test.sh    2023-08-30 15:32:26.000000000 
+0200
@@ -22,5 +22,6 @@
 
 
 opi_dir="$(dirname $(pwd)/$0)/../"
-podman run -ti --rm --volume "${opi_dir}:/opi/" $opi_base_image 
/opi/test/run.sh $1
+test_module=$(basename $1)
+podman run -ti --rm --volume "${opi_dir}:/opi/" $opi_base_image 
/opi/test/run.sh $test_module
 exit $?

Reply via email to