Package Details: osc 1.0.0b2-4

Git Clone URL: https://aur.archlinux.org/osc.git (read-only, click to copy)
Package Base: osc
Description: Command line client for the openSUSE Build Service
Upstream URL: https://github.com/openSUSE/osc
Licenses: GPL2
Conflicts: osc-bash-completion, osc-git, zsh-completion-osc
Replaces: osc-bash-completion, zsh-completion-osc
Submitter: bwalle
Maintainer: Thaodan
Last Packager: Thaodan
Votes: 48
Popularity: 0.23
First Submitted: 2008-04-05 17:38 (UTC)
Last Updated: 2022-11-29 17:36 (UTC)

Latest Comments

1 2 3 4 5 6 Next › Last »

npreining commented on 2022-10-18 10:04 (UTC)

Thanks Thaodan, confirmed the fix!

Thaodan commented on 2022-10-17 23:41 (UTC)

He sorry I forgot to push the fix, should be all good now.

npreining commented on 2022-10-17 23:36 (UTC)

The patch 0002... contains an error:

--- a/osc/commandline.py
+++ b/osc/commandline.py
@@ -3120,7 +3120,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
         if opts.repo:
             query["repository"] = opts.repo
         if opts.set_release:
-            query["setrelease"] = opts.set_release
+-            query["setrelease"] = opts.set_release
         if opts.no_delay:
             query["nodelay"] = "1"
         baseurl = ['source', source_project]

This part should be deleted completely, since it only adds a syntax error.

post-factum commented on 2022-10-15 18:40 (UTC)

After the last update:

Traceback (most recent call last):
File "/bin/osc", line 33, in <module>
sys.exit(load_entry_point('osc==1.0.0b2', 'console_scripts', 'osc')())
File "/bin/osc", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.10/site-packages/osc/babysitter.py", line 19, in <module>
from . import commandline
File "/usr/lib/python3.10/site-packages/osc/commandline.py", line 3123
-            query["setrelease"] = opts.set_release
IndentationError: expected an indented block after 'if' statement on line 3122

which means there's an error in 0002-Support-osc-copyprj-in-api-by-Islam-Amer-usage-osc-c.patch.

weilinfox commented on 2022-09-07 06:41 (UTC)

Cannot build due to sha256sum check failed.

ugjdgdto commented on 2022-08-18 13:19 (UTC)

The sha256sum of https://github.com/openSUSE/osc/archive/0.181.0.tar.gz is 1717cd9e42635ea6dd37fc4ddf13512f5f0f94eccdcb88b1428702df20dc9bc4, but PKGBUILD says it should be ef97c1454a4c8416e3bbb3e378afde85e42fe381fff8a135ddb9c8c4fedd5697...

post-factum commented on 2021-03-13 12:07 (UTC)

OK, this is why: https://bugs.archlinux.org/task/69967

post-factum commented on 2021-03-13 11:39 (UTC)

Recent python-keyring update from 22.3.0 to 23.0.0 broke keyring storage for osc. Downgrading fixes the issue, but I wonder what's going on.

post-factum commented on 2019-11-20 08:41 (UTC) (edited on 2019-11-20 08:44 (UTC) by post-factum)

Fix for Python 3.8 compatibility: https://github.com/openSUSE/osc/pull/682/commits/2563319e0e84405121010b733dc849c8b283d0d9

Requires python-distro package.

Works for me.

z3ntu commented on 2019-06-17 08:57 (UTC)

==> Starting build()...
Traceback (most recent call last):
  File "setup.py", line 10, in <module>
    import setuptools
ModuleNotFoundError: No module named 'setuptools'

As @nicoulaj already wrote, the python-setuptools dependency is missing.