Danny Kukawka wrote:
On Freitag, 30. April 2010, Adrian Schröter wrote:
Am Freitag, 30. April 2010 17:29:20 schrieb Danny Kukawka:
Make sure global option -A works too in a checked out package. Always check if -A was passed to command line and use it instead of the package/project dir information.
Can you tell us what is the usecase for that ?
Some examples:
- within e.g. a package dir checked out from api.myhome.org you are able do do this: * osc my sr (get info from api.myhome.org) * osc -A https://api.opensuse.org/ my sr (get info from api.opensuse.org) - within e.g. a package dir checked out from api.opensuse.org: * osc log (get info for a package from api.opensuse.org) * osc -A https://api.myhome.org/ log PROJECT PACKAGE (lock what where the latest changes for a package at api.myhome.org without change the dir)
I assumed -A is a global option and should be respected.
I agree. I sometimes had the situation where I wanted to build a package against a project of a different build service instance. Right now one has to remove the .osc directory to make that work as osc always prefers the store's apiurl. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org