On Wed, 2019-09-18 at 17:54 -0700, Adam Williamson wrote: > > > > Is it possible for this script, or Pungi, to grow the ability to file > > > a bug or send email to the responsible party? > > > > It's possible, it's just a bit awkward to implement (dealing with > > Bugzilla authentication probably the most awkward bit, I'd have to talk > > to a couple of people about how we do that). I'd much prefer the bug > > filing option over the email sending option, as email has a way of > > being ignored sometimes. > > > > The implementation here is actually a fairly 'dumb' thing - what > > happens is just that the fedora-messaging consumer that creates the > > validation events, relvalconsumer, just flat out calls 'relval size- > > check' on the compose after it's done creating the event. So to enhance > > that I'd probably give relval an option to file bugs when doing the > > size-check operation and have relvalconsumer toggle that option on; as > > mentioned the tricky part would just be in figuring out what's > > necessary to ensure the system where it runs is always authenticated to > > Bugzilla, we'd need a persistent auth token for it or something. > > So, I pretty much wrote this today: > > https://pagure.io/fedora-qa/relval/c/04a9b9e0227c14dc8627fa3a85ea177707ab9cf5?branch=size-check-bz > > and it works: > > https://partner-bugzilla.redhat.com/show_bug.cgi?id=F31Workstationlivex86_64Oversize > > Thanks to Kevin Fenzi and Jeff Fearn we should also be able to work out > the auth stuff, so I should be able to deploy this to production fairly > soon, I hope. So today I threw a big ball of duct tape at it and crossed all my fingers and offered up some prayers, and deployed the whole thing to production. So next time a compose qualifies for a release validation event, one of two things will happen: 1. We'll get a release validation event, and any oversize images will both be reported to the wiki and filed as bugs 2. There will be an explosion you can see from space I'm betting on 2, but we'll find out! Also it just now occurred to me that if I flip the ordering of the 'report to Bugzilla' and 'report to wiki' bits, I can have the wiki results reference the Bugzilla bugs. Hum. I should probably sort that out. Maybe tomorrow. -- Adam Williamson Fedora QA Community Monkey IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net http://www.happyassassin.net _______________________________________________ test mailing list -- test@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to test-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/test@xxxxxxxxxxxxxxxxxxxxxxx