`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
- Comment out
apiurl
inoscrc
- Run
osc -A https://api.opensuse.org branch <something> <somehwere>
- See warning-message from above.
Expected behavior
When running with -A
, it shouldn't matter if [general]
has apiurl
specified or not.