Branch: refs/heads/master
Home: https://github.com/openSUSE/osc
Commit: 2d29c35f46dead159ff4df2934a02d8bd6529e7e
https://github.com/openSUSE/osc/commit/2d29c35f46dead159ff4df2934a02d8bd6529...
Author: Ed Bartosh
Date: 2013-12-05 (Thu, 05 Dec 2013)
Changed paths:
M osc/core.py
Log Message:
-----------
Fixed traceback in get_prj_results
The reason of the crash is that not all targets are always defined for
all packages. In our environment it happens when linked project is
created and sources have just been uploaded to one package.
Here is the crash:
Traceback (most recent call last):
File "../tools-testing/build-package", line 313, in <module>
sys.exit(main(sys.argv))
File "../tools-testing/build-package", line 309, in main
return build(apiurl, tproject, package, timeout)
File "../tools-testing/build-package", line 226, in build
hide_legend=True, csv=True)
File "/usr/lib/python2.7/site-packages/osc/core.py", line 5135, in get_prj_results
row = [pac] + [status[pac][tg] for tg in targets]
status[pac]]
KeyError: ('Fedora_18', 'i586', 'outdated')
Please note that this fix fixes only csv mode. For other modes osc still
can crash, but it's hard to reproduce here as we're not using them.
Signed-off-by: Ed Bartosh
Commit: daf5da2f183cbda28f5a18bf2ee6ddfc37600242
https://github.com/openSUSE/osc/commit/daf5da2f183cbda28f5a18bf2ee6ddfc37600...
Author: Marcus Huewe
Date: 2013-12-06 (Fri, 06 Dec 2013)
Changed paths:
M osc/core.py
Log Message:
-----------
Merge branch 'master' of https://github.com/bartosh/osc
Compare: https://github.com/openSUSE/osc/compare/d04c36189e1b...daf5da2f183c