Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 546930

Summary: willikins doesn't handle bug snarfing in PM
Product: Gentoo Infrastructure Reporter: Adam Feldman <np-hardass>
Component: OtherAssignee: Gentoo Infrastructure <infra-bugs>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Adam Feldman gentoo-dev 2015-04-17 18:48:21 UTC
I often pm willikins commands because there is no reason to spam a channel with them.  PM-ing willikins a bug # results in the following:

willikins | Wrong parameters - unknown zilla, see 'help bug' for help.
willikins | undefined method `summary' for nil:NilClass

Not sure if this is the desired behavior, but it looked off to me, and I wanted to notify you guys just in case there was some way it could be exploited.  The first message would seem to indicate that the bugzilla to snarf is defined per channel, so it doesn't work in PM, but the second message seems to imply that it went ahead with querying something with incomplete/correct data.

Reproducible: Always

Steps to Reproduce:
PM willikins "bug #1"
Actual Results:  
willikins | Wrong parameters - unknown zilla, see 'help bug' for help.
willikins | undefined method `summary' for nil:NilClass

Expected Results:  
NP-Hardass: https://bugs.gentoo.org/541928 "media-video/vlc-2.2.0 *** No rule to make target '../../video_output/libvlc_xcb_events.la'"; Gentoo Linux, Applications; UNCO; chris:aambitny
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2015-12-06 19:46:25 UTC
It doesn't know which bugzilla you want queried. Use the long format to query.
!bugl gentoo 2