Package Details: osc 1.6.1-1

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: 51
Popularity: 0.174194
First Submitted: 2008-04-05 17:38 (UTC)
Last Updated: 2024-04-14 11:18 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

Thaodan commented on 2023-09-08 22:13 (UTC)

I'm still waiting to get my PR's merged. I will do an interim release while those are waiting.

post-factum commented on 2023-09-06 14:35 (UTC)

I'm going to maintain a minimal up-to-date build for myself here: https://build.opensuse.org/package/show/home:post-factum/osc

aggraef commented on 2023-07-25 07:26 (UTC)

This package is still broken. Thankfully, osc-git still works.

Thaodan commented on 2023-07-16 00:30 (UTC)

I'm currently merging all the changes I have compared to the stock pkgbuild on the OpenSUSE obs into the stock pkgbuild and then update this package.

ozz commented on 2023-05-04 01:29 (UTC)

The hash values failing with the latest update.

1.1.2.tar.gz ... FAILED
_osc ... Passed
0001-Add-sb2install-support-to-osc.patch ... FAILED
0002-Support-osc-copyprj-in-api-by-Islam-Amer-usage-osc-c.patch ... FAILED
0003-Support-synchronous-copyproj.patch ... FAILED
0004-Add-p-to-copyprj-to-enable-copying-of-prjconf.patch ... FAILED
0005-Add-support-for-rebuild-and-chroot-only-in-build.-re.patch ... FAILED
0006-Add-architecture-and-scheduler-maps.patch ... Passed

lfckoce commented on 2023-02-27 19:02 (UTC) (edited on 2023-02-27 19:08 (UTC) by lfckoce)

On a fresh install of arch when running osc it is complaining about the 'urllib3' module from python not being found.

Traceback (most recent call last):
  File "/usr/bin/osc", line 33, in <module>
    sys.exit(load_entry_point('osc==1.0.0b3', 'console_scripts', 'osc')())
  File "/usr/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 17, in <module>
import urllib3.exceptions
ModuleNotFoundError: No module named 'urllib3'

edit: it is also complaining about cryptography

Traceback (most recent call last):
File "/usr/bin/osc", line 33, in <module>
sys.exit(load_entry_point('osc==1.0.0b3', 'console_scripts', 'osc')())
File "/usr/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 27, in <module>
from . import build as osc_build
File "/usr/lib/python3.10/site-packages/osc/build.py", line 19, in <module>
from . import connection
File "/usr/lib/python3.10/site-packages/osc/connection.py", line 25, in <module>
from . import oscssl
File "/usr/lib/python3.10/site-packages/osc/oscssl.py", line 10, in <module>
from cryptography import x509
ModuleNotFoundError: No module named 'cryptography'

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.