[Reportbug-maint] Bug#501285: querybts: Cannot provide extra information -- command instead quits querybts

Sandro Tosi morph at debian.org
Fri Jul 3 10:24:30 UTC 2009


Hi Carl,

On Thu, Jun 11, 2009 at 00:03, chaica<chaica at ohmytux.com> wrote:
> tags 501285 patch
> thanks
>
> Hi,
>
> Thanks for the bugreport.
>
> There is no way in the current configuration querybts would provide new
> information. querybts only displays information and reportbug allows to
> provide new information.
> Reportbug and querybts share some libraries. That's why the message "x -
> Provide extra information" is displayed. Some cases were not managed in
> querybts and the use should be warned about it.
> Here is a patch to solve this issue with "x" option, solving also an
> issue with "o" option. The patch displays the last menu in querybts
> again if "x" or "o" option is chosen, also warning the user these
> options are not available using querybts directly.

there something going wrong here :( this is the trascript of a session
after applying your patch:

~/deb/reportbug$ git am
/home/morph/Desktop/0001-warn-the-user-this-option-is-not-available-with-quer.pat
~/deb/reportbug$ ./bin/querybts checkgmail
Querying Debian BTS for reports on checkgmail...
3 bug reports found:

Outstanding bugs -- Normal bugs; Unclassified (3 bugs)
  1) #404496  Adding a label with a blank in it breaks checkgmail
  2) #433332  checkgmail: Undefined value error
  3) #439862  checkgmail display erroneusly Latin characters
(1-3/3) What would you like to do next [N|m|r|q|f|?]? ?
N - (default) Problem not listed above; possibly check more.
m - Get more information about a bug (you can also enter a number
without selecting "m" first).
r - Redisplay the last bugs shown.
q - I'm bored; quit please.
f - Filter bug list using a pattern.
? - Display this help.
(1-3/3) What would you like to do next [N|m|r|q|f|?]? 1
Retrieving report #404496 from Debian bug tracking system...
What do you want to do now? [N|x|o|r|b|q|?]? ?
N - (default) Show next message (followup).
x - Provide extra information.
o - Show other bug reports (return to bug listing).
r - Redisplay this message.
b - Launch web browser to read full log.
q - I'm bored; quit please.
? - Display this help.
What do you want to do now? [N|x|o|r|b|q|?]? x
morph at sandrotosi:~/deb/reportbug$ ./bin/querybts checkgmail
Querying Debian BTS for reports on checkgmail...
3 bug reports found:

Outstanding bugs -- Normal bugs; Unclassified (3 bugs)
  1) #404496  Adding a label with a blank in it breaks checkgmail
  2) #433332  checkgmail: Undefined value error
  3) #439862  checkgmail display erroneusly Latin characters
(1-3/3) What would you like to do next [N|m|r|q|f|?]? 2
Retrieving report #433332 from Debian bug tracking system...
What do you want to do now? [N|x|o|r|b|q|?]? o
Outstanding bugs -- Normal bugs; Unclassified (3 bugs)
  1) #404496  Adding a label with a blank in it breaks checkgmail
  2) #433332  checkgmail: Undefined value error
  3) #439862  checkgmail display erroneusly Latin characters
(1-3/3) What would you like to do next [N|m|r|q|f|?]? 3
Retrieving report #439862 from Debian bug tracking system...
What do you want to do now? [N|x|o|r|b|q|?]? x
~/deb/reportbug$ echo $?
0
~/deb/reportbug$

it simply exit hitting 'x'. DOn't have time to debug it, but I think
it worth letting you know :)

CHeers.
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi





More information about the Reportbug-maint mailing list