timeless

Adventures in overengineering

2004-03-23 04:17 UTC  by  timeless
0
0
Adventures in overengineering Adventures in overengineering An engineer is trying to setup a bugzilla install with a bzbot. The engineer wants to configure the bugzilla install to require authentication.

The engineer observes "bzbot is gonna need some smacking around because it uses LWP to get data.. and therefore needs an account." My off the cuff response is that "bzbot already runs into that problem", well sorta, on rare occasions. Really when bzbot encounters a classified bug, mozbot2 has trouble playing with it.

The engineer debates just putting a hook in BugMail to ping the bot if it exists.

Why does bzbot need lwp at all?

All I could think of is status lists.

The engineer responded "[to] get [the] product" I responded that his fix is silly.

It is, and he agreed, but why? read on

timeless
How helping bzbot without a custom hack can help the world How helping bzbot without a custom hack can help the world So the problem is elementary.

What is the real problem?

The real problem is that bugmails bzbot get don't include products.

What is the right fix?

Change the mail system to include the product in an x- header

If necessary to get this fix into bugzilla proper, you can make the default template not do that and switch your template to do it. then you contribute your changes, and argue in favor of switching by default. And yes, I do endorse this change. There's a bug for this of course but don't ask me for its number.

The engineer asks me for the number... Anyway, the fix shouldn't be hard, (the engineer agrees it's trivial), and it is so much more useful than a custom hack.

Back