[opensuse-buildservice] showing comments of a submit request
The webui allows to add comments to a SR. But the 'rq' subcommands have appearently no way to either view or respond to such comments. I tried 'rq log ID', but this just gives the backtrace below. How does viewing and editing of comments work on the cmdline? Traceback (most recent call last): File "/usr/bin/osc", line 26, in <module> r = babysitter.run(osccli) File "/usr/lib/python2.7/site-packages/osc/babysitter.py", line 61, in run return prg.main(argv) File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 343, in main return self.cmd(args) File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 366, in cmd retval = self.onecmd(argv) File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 500, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 1230, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib/python2.7/site-packages/osc/commandline.py", line 2199, in do_request for l in get_request_log(apiurl, reqid): File "/usr/lib/python2.7/site-packages/osc/core.py", line 4228, in get_request_log s = frmt % (state.name, state.who, state.when, str(state.comment)) AttributeError: RequestHistory instance has no attribute 'name' Olaf -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 2015-03-09 11:18:55 +0100, Olaf Hering wrote:
The webui allows to add comments to a SR. But the 'rq' subcommands have appearently no way to either view or respond to such comments.
I tried 'rq log ID', but this just gives the backtrace below.
Fixed in commit cff76bdfbd77518f589c6b0496877bb18071b784.
How does viewing and editing of comments work on the cmdline?
Currently, osc does not support comments at all (neither for requests nor projects/packages). Probably the best is to introduce a new "comment" command or something like this, but we should think about a (sane) ui first. Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Marcus Hüwe
-
Olaf Hering