Created attachment 422616 [details, diff] proj-shows-not-existing-when-empty.patch When using the new !proj function in willikins, if the project has no members associated according to the xml, willikins reports the project as not existing: > <wraeth> !proj mate@gentoo.org > <willikins> No such project: mate@gentoo.org Attached patch seems to resolve in my testing.
Oh u. I'd rather use true/false rather than 1/nil though ;-P.
Whichever is preferred - I don't particularly know Ruby, and this did the trick :) Change as desired, or I can re-upload a patch if you'd prefer.
Ok, I'll update and test it locally, and then submit to Robin for final approval.
Patch sent to Robin. I've also added explicit handling of non-existing subprojects in case that ever becomes necessary (malformed projects.xml?).
Thanks Michał (and also in advance to Robin). I'd be interested to see how you handled that, though I can always wait until it's in rbot-gentoo.git :)
Created attachment 422664 [details, diff] 0001-proj-Distinguish-between-non-existing-and-empty-proj.patch Sure, here you are.