https://bugzilla.novell.com/show_bug.cgi?id=478516 Summary: osc copypac doesn't work as expected with -t parameter Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: hpj@novell.com QAContact: qa@suse.de Found By: --- Copying a package from the external BS to the internal BS doesn't work: hpj [~/work/suse/bs] osc copypac -t api.suse.de devel:playground:fastboot unique home:hpjansson:SLE-11:Fastboot Sending meta data... Traceback (most recent call last): File "/usr/bin/osc", line 12, in <module> r = babysitter.run(osccli) File "/usr/lib/python2.6/site-packages/osc/babysitter.py", line 40, in run return prg.main() File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 256, in main return self.cmd(args) File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 279, in cmd retval = self.onecmd(argv) File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 395, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 1070, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib/python2.6/site-packages/osc/commandline.py", line 808, in do_copypac keep_maintainers=opts.keep_maintainers) File "/usr/lib/python2.6/site-packages/osc/core.py", line 2500, in copy_pac http_PUT(u, data=src_meta) File "/usr/lib/python2.6/site-packages/osc/core.py", line 1491, in http_PUT def http_PUT(*args, **kwargs): return http_request('PUT', *args, **kwargs) File "/usr/lib/python2.6/site-packages/osc/core.py", line 1438, in http_request api_host_options=conf.get_apiurl_api_host_options(url) File "/usr/lib/python2.6/site-packages/osc/conf.py", line 160, in get_apiurl_api_host_options return config['api_host_options'][apisrv] KeyError: 'source/home:hpjansson:SLE-11:Fastboot/unique/_meta' hpj [~/work/suse/bs] osc copypac -t http://api.suse.de/ devel:playground:fastboot unique home:hpjansson:SLE-11:Fastboot Sending meta data... Server returned an error: HTTP Error 302: Found It would be logical if the first instance worked, since I can pass -A api.suse.de to other commands. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.