openSUSE / osc

The Command Line Interface to work with an Open Build Service

Home Page:http://openbuildservice.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`apiurl` in `[general]` needed, even when running with `-A`

msirringhaus opened this issue · comments

Describe the bug
When not having apiurl in the [general] section, osc complains about this, even when running osc with -A:

No option 'apiurl' in section: 'general'

From what I can tell, this only seems to be happening when branching. Committing, sending requests, etc. seems to work without the warning.
The branching-operation itself works fine, so this is a 'cosmetic bug' only.

Versions

  • Operating system: openSUSE Tumbleweed
  • Packages: osc-1.4.3-1.1.noarch

To Reproduce

  1. Comment out apiurl in oscrc
  2. Run osc -A https://api.opensuse.org branch <something> <somehwere>
  3. See warning-message from above.

Expected behavior
When running with -A, it shouldn't matter if [general] has apiurl specified or not.