On Friday 17 of April 2009 14:58:12 Marcus Hüwe wrote:
Hi,
On 2009-04-17 11:03:36 +0200, Michal Vyskocil wrote:
On Thursday 16 of April 2009 18:18:58 Dominique Leuenberger wrote: [snip]
That sounds good:)
Just a small remark:
+ # user's email + apiurl = conf.config['apiurl']
Is it likely that "osc vc" will be executed in a non package dir/working copy? If not it would be nice if you use something like:
# note if cwd is no working copy it'll bail out apiurl = findpacs(os.getcwd())[0].apiurl
or
apiurl = conf.config['apiurl'] if is_package_dir(os.getcwd()): apiurl = store_read_apiurl(os.getcwd())
This way osc always uses the correct apiurl.
Thanks, I'll fix that. Regards Michal Vyskocil -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org