Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package scout for openSUSE:Factory checked in at 2021-04-08 22:13:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/scout (Old) and /work/SRC/openSUSE:Factory/.scout.new.2401 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "scout" Thu Apr 8 22:13:00 2021 rev:42 rq:882842 version:0.2.4+20210325.6c2d9f3 Changes: -------- --- /work/SRC/openSUSE:Factory/scout/scout.changes 2020-01-24 14:21:07.506618518 +0100 +++ /work/SRC/openSUSE:Factory/.scout.new.2401/scout.changes 2021-04-08 22:13:02.977531462 +0200 @@ -1,0 +2,8 @@ +Sat Mar 27 19:13:53 UTC 2021 - bwiedem...@suse.com + +- Update to version 0.2.4+20210325.6c2d9f3: + * Fix output of cnf ambiguous install (boo#1183980) + * Translated using Weblate (Indonesian, Catalan) + * Stop ignoring exceptions + +------------------------------------------------------------------- Old: ---- scout-0.2.3+20200115.5b1005a.tar.xz New: ---- scout-0.2.4+20210325.6c2d9f3.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ scout.spec ++++++ --- /var/tmp/diff_new_pack.LjVS20/_old 2021-04-08 22:13:03.617532092 +0200 +++ /var/tmp/diff_new_pack.LjVS20/_new 2021-04-08 22:13:03.617532092 +0200 @@ -18,7 +18,7 @@ %define cnfrepo zypp Name: scout -Version: 0.2.3+20200115.5b1005a +Version: 0.2.4+20210325.6c2d9f3 Release: 0 Summary: Indexing Package Properties License: MIT ++++++ _service ++++++ --- /var/tmp/diff_new_pack.LjVS20/_old 2021-04-08 22:13:03.645532120 +0200 +++ /var/tmp/diff_new_pack.LjVS20/_new 2021-04-08 22:13:03.645532120 +0200 @@ -2,8 +2,8 @@ <service name="tar_scm" mode="disabled"> <param name="url">https://github.com/openSUSE/scout.git</param> <param name="scm">git</param> - <param name="versionformat">0.2.3+%cd.%h</param> - <param name="revision">v0.2.3</param> + <param name="versionformat">0.2.4+%cd.%h</param> + <param name="revision">v0.2.4</param> <param name="submodules">enable</param> <param name="changesgenerate">enable</param> </service> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.LjVS20/_old 2021-04-08 22:13:03.661532135 +0200 +++ /var/tmp/diff_new_pack.LjVS20/_new 2021-04-08 22:13:03.665532139 +0200 @@ -1,4 +1,4 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/openSUSE/scout.git</param> - <param name="changesrevision">5b1005a068f432e901b9f140a6f7abdd58b4ebd9</param></service></servicedata> \ No newline at end of file + <param name="changesrevision">6c2d9f37a967e8c2e92e6fb6d983c7d5a30e0264</param></service></servicedata> \ No newline at end of file ++++++ scout-0.2.3+20200115.5b1005a.tar.xz -> scout-0.2.4+20210325.6c2d9f3.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scout-0.2.3+20200115.5b1005a/README new/scout-0.2.4+20210325.6c2d9f3/README --- old/scout-0.2.3+20200115.5b1005a/README 2020-01-15 08:42:34.000000000 +0100 +++ new/scout-0.2.4+20210325.6c2d9f3/README 2021-03-25 15:00:24.000000000 +0100 @@ -1,11 +1,15 @@ +Scout is a command line utility which allows users to search in +packages using indexes of various attributes. Many of its data +sources have been discontinued, so currently its most important +use is to print useful messages about packages when a command is +not found in the shell. +This only considers currently active repos. + openSUSE wiki: -http://en.opensuse.org/Scout +https://en.opensuse.org/Scout -BuildService project: -https://build.opensuse.org/project/show?project=home:prusnak:scout +Open Build Service devel project: +https://build.opensuse.org/package/show/shells/scout GIT development: -http://gitorious.org/opensuse/scout - -Ohloh project: -http://www.ohloh.net/projects/scout +https://github.com/openSUSE/scout diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scout-0.2.3+20200115.5b1005a/handlers/bin/command-not-found new/scout-0.2.4+20210325.6c2d9f3/handlers/bin/command-not-found --- old/scout-0.2.3+20200115.5b1005a/handlers/bin/command-not-found 2020-01-15 08:42:34.000000000 +0100 +++ new/scout-0.2.4+20210325.6c2d9f3/handlers/bin/command-not-found 2021-03-25 15:00:24.000000000 +0100 @@ -4,6 +4,7 @@ import os import subprocess import sys +import traceback import rpm import scout sys.path.append(scout.Config.module_path) @@ -22,13 +23,13 @@ def print_found(rows, term): print(file=sys.stderr) print(gettext.ngettext( - "The program '%(prog)s' can be found in the following package:", - "The program '%(prog)s' can be found in following packages:", - len(rows)) % ({'prog': term}), file=sys.stderr) + "The program '{prog}' can be found in the following package:", + "The program '{prog}' can be found in following packages:", + len(rows)).format(prog=term), file=sys.stderr) for row in rows: - print(_(' * %(prog)s [ path: %(path)s/%(binary)s, repository: %(repo)s ]') % \ - ({'prog': row[1], 'path': row[2], 'binary': row[3], 'repo': row[0]}), + print(_(' * {prog} [ path: {path}/{binary}, repository: {repo} ]') + .format(repo=row[0], prog=row[1], path=row[2], binary=row[3]), file=sys.stderr) print(file=sys.stderr) print(_('Try installing with:\n '), end=' ', file=sys.stderr) @@ -36,7 +37,7 @@ if os.getuid() != 0: installcmd = SUDO_CMD + installcmd if len(set([i[1] for i in rows])) > 1: - print(installcmd + _('<selected_package>'), file=sys.stderr) + print(" ".join(installcmd), _('<selected_package>'), file=sys.stderr) else: installcmd.append(rows[0][1]) print(" ".join(installcmd), file=sys.stderr) @@ -49,25 +50,25 @@ def print_installed(term, pkg, path): print(file=sys.stderr) - print(_("Program '%(prog)s' is present in package '%(pkg)s', " - 'which is installed on your system.') % \ - ({'prog': term, 'pkg': pkg}), file=sys.stderr) + print(_("Program '{prog}' is present in package '{pkg}', " + 'which is installed on your system.') + .format(prog=term, pkg=pkg), file=sys.stderr) print(file=sys.stderr) if '/sbin' in path: - print(_("Absolute path to '%(prog)s' is '%(path)s/%(prog)s', " - 'so running it may require superuser privileges (eg. root).') % \ - ({'prog': term, 'path': path}), file=sys.stderr) + print(_("Absolute path to '{prog}' is '{path}/{prog}', " + 'so running it may require superuser privileges (eg. root).') + .format(prog=term, path=path), file=sys.stderr) else: - print(_("Absolute path to '%(prog)s' is '%(path)s/%(prog)s'. " + print(_("Absolute path to '{prog}' is '{path}/{prog}'. " 'Please check your $PATH variable to see whether it ' - 'contains the mentioned path.') % \ - ({'prog': term, 'path': path}), file=sys.stderr) + 'contains the mentioned path.') + .format(prog=term, path=path), file=sys.stderr) print(file=sys.stderr) sys.exit(0) def check_installed(term, pkg, path): - if not os.path.isfile('%s/%s' % (path, term)): + if not os.path.isfile('{path}/{term}'.format(path=path, term=term)): return False ts = rpm.TransactionSet() mi = ts.dbMatch('name', pkg) @@ -91,7 +92,7 @@ default_lang.install() term = sys.argv[1] - print('%s:' % term, _('searching ...'), end=' ', file=sys.stderr) + print('{term}:'.format(term=term), _('searching ...'), end=' ', file=sys.stderr) lendel = len(term) + 3 + len(_('searching ...')) for path in ('/usr/sbin', '/sbin'): @@ -113,7 +114,7 @@ rows = module.query_repo(repo, term) if not rows: - print('\r', '%s:' % term, _('command not found'), + print('\r', '{term}:'.format(term=term), _('command not found'), lendel * ' ', file=sys.stderr) sys.exit(EX_NOTFOUND) @@ -130,6 +131,5 @@ try: main() except Exception: - pass - - sys.exit(EX_NOTFOUND) + traceback.print_exc() + sys.exit(EX_NOTFOUND) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scout-0.2.3+20200115.5b1005a/i18n/command-not-found/ca.po new/scout-0.2.4+20210325.6c2d9f3/i18n/command-not-found/ca.po --- old/scout-0.2.3+20200115.5b1005a/i18n/command-not-found/ca.po 2020-01-15 08:42:34.000000000 +0100 +++ new/scout-0.2.4+20210325.6c2d9f3/i18n/command-not-found/ca.po 2021-03-25 15:00:24.000000000 +0100 @@ -3,16 +3,16 @@ "Project-Id-Version: @PACKAGE@\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2018-10-05 12:05+0200\n" -"PO-Revision-Date: 2018-10-03 18:00+0000\n" +"PO-Revision-Date: 2020-02-12 17:54+0000\n" "Last-Translator: David Medina <medi...@gmail.com>\n" -"Language-Team: Catalan <https://l10n.opensuse.org/projects/scout/command-not-" -"found-master/ca/>\n" +"Language-Team: Catalan <https://l10n.opensuse.org/projects/scout/" +"command-not-found-master/ca/>\n" "Language: ca\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 2.18\n" +"X-Generator: Weblate 3.6.1\n" #: handlers/bin/command-not-found:20 #, python-format @@ -53,8 +53,8 @@ "Absolute path to '%(prog)s' is '%(path)s/%(prog)s', so running it may " "require superuser privileges (eg. root)." msgstr "" -"El cam?? absolut a '%(prog)s' ??s '%(path)s/%(prog)s', i executar-lo pot " -"requerir privilegis de superusuari (per exemple: root)." +"El cam?? absolut a \"%(prog)s\" ??s \"%(path)s/%(prog)s\", i executar-lo pot " +"requerir privilegis de superusuari (per exemple: arrel)." #: handlers/bin/command-not-found:52 #, python-format @@ -83,8 +83,8 @@ "Absolute path to '$1' is '$prefix/sbin/$1', so running it may require " "superuser privileges (eg. root)." msgstr "" -"El cam?? absolut a '$1' ??s '$prefix/sbin/$1', i executar-lo pot requerir " -"privilegis de superusuari (per exemple: root)." +"El cam?? absolut a \"$1\" ??s \"$prefix/sbin/$1\", i executar-lo pot requerir " +"privilegis de superusuari (per exemple: arrel)." #: handlers/bin/command_not_found_bash:33 msgid "" @@ -92,13 +92,13 @@ "that contains it, like this:\n" " cnf $1" msgstr "" -"Si '$1' no ??s un error de picatge, podeu fer servir \"command-not-found\" " +"Si \"$1\" no ??s un error de picatge, podeu fer servir \"command-not-found\" " "per cercar el paquet que ho contingui, per exemple:\n" " cnf $1" #: handlers/python/python_import_error_handler:7 msgid "Usage ${0} python_module" -msgstr "??s ${0} python_module" +msgstr "??s de ${0} python_module" #: handlers/python/python_import_error_handler:24 msgid "No package was found by scout" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scout-0.2.3+20200115.5b1005a/i18n/command-not-found/id.po new/scout-0.2.4+20210325.6c2d9f3/i18n/command-not-found/id.po --- old/scout-0.2.3+20200115.5b1005a/i18n/command-not-found/id.po 2020-01-15 08:42:34.000000000 +0100 +++ new/scout-0.2.4+20210325.6c2d9f3/i18n/command-not-found/id.po 2021-03-25 15:00:24.000000000 +0100 @@ -3,21 +3,22 @@ "Project-Id-Version: @PACKAGE@\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2018-10-05 12:05+0200\n" -"PO-Revision-Date: 2016-11-01 15:34+0700\n" +"PO-Revision-Date: 2020-05-02 19:51+0000\n" "Last-Translator: Kukuh Syafaat <syafaatku...@gmail.com>\n" -"Language-Team: Indonesian <i...@suse.de>\n" +"Language-Team: Indonesian <https://l10n.opensuse.org/projects/scout/" +"command-not-found-master/id/>\n" "Language: id\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Poedit 1.8.8\n" +"X-Generator: Weblate 3.6.1\n" #: handlers/bin/command-not-found:20 #, python-format msgid "The program '%(prog)s' can be found in the following package:" msgid_plural "The program '%(prog)s' can be found in following packages:" -msgstr[0] "Program '%(prog)s' dapat ditemukan in paket berikut:" +msgstr[0] "Program '%(prog)s' dapat ditemukan pada paket berikut:" #: handlers/bin/command-not-found:25 #, python-format @@ -96,21 +97,22 @@ #: handlers/python/python_import_error_handler:7 msgid "Usage ${0} python_module" -msgstr "" +msgstr "Penggunaan ${0} python_module" #: handlers/python/python_import_error_handler:24 msgid "No package was found by scout" -msgstr "" +msgstr "Tidak ada paket yang ditemukan oleh scoutPramuka" #: handlers/python/python_import_error_handler:27 #, sh-format msgid "The ${module_name} is in the package ${modules}. You can install it by:" msgstr "" +"${module_name} ada dalam paket ${modules}. Anda dapat memasangnya dengan:" #: handlers/python/python_import_error_handler:31 msgid "The selected module was found in one of several packages:" -msgstr "" +msgstr "Modul yang dipilih ditemukan dalam salah satu dari beberapa paket:" #: handlers/python/python_import_error_handler:33 msgid "one_of_the_packages" -msgstr "" +msgstr "satu_dari_paket" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scout-0.2.3+20200115.5b1005a/i18n/scout/id.po new/scout-0.2.4+20210325.6c2d9f3/i18n/scout/id.po --- old/scout-0.2.3+20200115.5b1005a/i18n/scout/id.po 2020-01-15 08:42:34.000000000 +0100 +++ new/scout-0.2.4+20210325.6c2d9f3/i18n/scout/id.po 2021-03-25 15:00:24.000000000 +0100 @@ -3,16 +3,16 @@ "Project-Id-Version: @PACKAGE@\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2018-10-05 16:11+0200\n" -"PO-Revision-Date: 2018-10-05 13:09+0000\n" +"PO-Revision-Date: 2020-05-02 19:51+0000\n" "Last-Translator: Kukuh Syafaat <syafaatku...@gmail.com>\n" -"Language-Team: Indonesian <https://l10n.opensuse.org/projects/scout/scout-" -"master/id/>\n" +"Language-Team: Indonesian <https://l10n.opensuse.org/projects/scout/" +"scout-master/id/>\n" "Language: id\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Weblate 2.18\n" +"X-Generator: Weblate 3.6.1\n" #: scout/autoconf.py:14 msgid "Search for autoconf macros inside the m4 files." @@ -22,7 +22,7 @@ #: scout/__init__.py:933 scout/java.py:24 scout/library.py:22 #: scout/webpin.py:56 msgid "repo" -msgstr "lumbung" +msgstr "repo" #: scout/autoconf.py:24 scout/bin.py:156 scout/header.py:22 #: scout/__init__.py:933 scout/java.py:24 scout/library.py:22 @@ -41,7 +41,7 @@ #: scout/autoconf.py:25 scout/bin.py:157 scout/header.py:23 #: scout/__init__.py:934 scout/java.py:25 scout/library.py:23 msgid "repository" -msgstr "lumbung" +msgstr "repositori" #: scout/autoconf.py:25 scout/bin.py:157 scout/header.py:23 #: scout/__init__.py:934 scout/java.py:25 scout/library.py:23 @@ -98,7 +98,7 @@ #: scout/header.py:22 scout/header.py:23 msgid "header" -msgstr "header" +msgstr "tajuk" #: scout/__init__.py:166 msgid "show this help message and exit" @@ -110,7 +110,7 @@ #: scout/__init__.py:217 msgid "Usage: %prog [global_opts] module [local_opts] search_term" -msgstr "Pemakaian: %prog [global_opts] module [local_opts] search_term" +msgstr "Penggunaan: %prog [global_opts] module [local_opts] search_term" #: scout/__init__.py:225 #, python-format @@ -128,7 +128,7 @@ #: scout/__init__.py:309 #, python-format msgid "The name of module is mandatory. Use %s --help" -msgstr "Nama modul adalah diwajibkan. Gunakan %s --help" +msgstr "Nama modul diwajibkan. Gunakan %s --help" #: scout/__init__.py:403 #, python-format @@ -138,20 +138,20 @@ #: scout/__init__.py:462 #, python-format msgid "Cannot not open database file '%s'" -msgstr "Tidak dapat membuka basisdata berkas '%s'" +msgstr "Tidak dapat membuka basis data berkas '%s'" #: scout/__init__.py:785 msgid "Available repositories:\n" -msgstr "Lumbung yang tersedia:\n" +msgstr "Repo yang tersedia:\n" #: scout/__init__.py:821 #, python-format msgid "Usage: %%prog %s [options] search_term" -msgstr "Pemakaian: %%prog %s [options] search_term" +msgstr "Penggunaan: %%prog %s [options] search_term" #: scout/__init__.py:826 msgid "list available repositories" -msgstr "daftar lumbung yang tersedia" +msgstr "daftar repo yang tersedia" #: scout/__init__.py:831 msgid "inverse search by package name" @@ -159,11 +159,11 @@ #: scout/__init__.py:836 msgid "select repository to search" -msgstr "pilih lumbung untuk mencari" +msgstr "pilih repositori untuk mencari" #: scout/__init__.py:887 msgid "No repositories found ..." -msgstr "Tidak ada lumbung yang ditemukan ..." +msgstr "Tidak ada repo yang ditemukan ..." #: scout/__init__.py:933 scout/__init__.py:934 msgid "module" @@ -172,7 +172,7 @@ #: scout/__init__.py:1078 #, python-format msgid "Cannot find a formatter for a %s" -msgstr "tidak dapat menemukan formatter untuk %s" +msgstr "Tidak dapat menemukan pemformat untuk %s" #: scout/java.py:14 msgid "Search for java classes inside the JAR files." @@ -188,7 +188,7 @@ #: scout/library.py:14 msgid "Search for shared libraries." -msgstr "Mencari pustaka berbagis." +msgstr "Mencari pustaka berbagi." # GI #: scout/library.py:22 scout/library.py:23 @@ -215,7 +215,7 @@ #: scout/webpin.py:56 scout/webpin.py:57 msgid "arch" -msgstr "arch" +msgstr "arsitektur" #: scout/webpin.py:56 msgid "files" @@ -227,8 +227,8 @@ #: scout/webpin.py:58 msgid "repository URL" -msgstr "URL lumbung" +msgstr "URL repositori" #: scout/webpin.py:58 msgid "matched files" -msgstr "Berkas yang cocok" +msgstr "berkas yang cocok"