On Thu, 08 Aug 2013 16:30:50 +1000
Michael Palimaka <kensing...@gentoo.org> wrote:

> On 8/08/2013 07:52, Gilles Dartiguelongue wrote:
> > Guys, please, if you want to bikeshed about bug summary, please do
> > it in a constructive way and get the automated bug assignment
> > project going.
> I think at least one bug wrangler already uses a local script to do 
> something similar to that.

Yes, I do, it's a matter of copying the package atom, if it were
consistent this could even be put on clipboard with the hit of a
button. But ideally, a hit on the button should just fill in the form.

Then the package atom has to be provided to a bash alias which
obtains the matadata.xml from sources.gentoo.org to ensure it is up to
date as well as displays eix output for versions.

As a result it puts the e-mail addresses on the clipboard which I then
can paste into a special text box on the form.

It speeds up assignment a lot compared to doing it more manually.

Besides that I've also ported the duplicates to the bug page; I
wouldn't invite everyone to use that to spare some extra requests infra
wise, the aim for this script is solely for it to be used for bug
wrangling. I agree these things being implemented in Bugzilla itself,
using an atom field, we no longer even need the bash alias; would be a
much more appropriate solution for wide spread usage.

https://gist.github.com/TomWij/1772ee0f685749324977

http://i.imgur.com/uNHNXZM.png?1

The text the bash alias puts on clipboard can be inserted in the text
box at the top of the page; as it detects the keyboard sequence, it will
empty the text box and fill in the assignee and CC fields of the form.
The duplicates show up once you edit the summary or press a key in it.

Those inside upstream tags I correct depending on the <description />;
they often want to be CC-ed on the bug, if there is no <description />
then I remove them from the CC field.

What misses from metadata for scripts is a XML attribute stating to CC.

Currently this uses lame non-XML compliant grep-and-sed magic; it would
be much more neat to parse the actual XML here, but I have no idea how
to do that from Bash. Maybe I'll rewrite that bit in a Python script...

Further suggestions, complaints, ... are welcome; if they are not
relevant to this thread, please drop gentoo-dev@l.g.o from To. :)

> Any idea what is blocking it being implemented in Bugzilla? Infra
> being understaffed?

As far as I am aware there is only one person working on that; as you
can see on http://www.gentoo.org/proj/en/infrastructure/, this is idl0r.

From as far as I see he doesn't seem active on this field lately except
for the bigger Bugzilla updates; so, from my point of view it looks
understaffed and I am wondering if they are looking for more people to
help them with implementation, patches and bugs. I'm pretty sure there
are people (like you and me) willing to help a hand; but, I'm not sure
if infra or idl0r is looking for more people currently.

Not sure about the rest of the infra team; but from earlier talk, I
have the impression that they either don't have time or don't want to
touch the Bugzilla code. That's also what the git logs indicate.
Granted, there's a lot more work infra does than just Bugzilla.

-- 
With kind regards,

Tom Wijsman (TomWij)
Gentoo Developer

E-mail address  : tom...@gentoo.org
GPG Public Key  : 6D34E57D
GPG Fingerprint : C165 AF18 AB4C 400B C3D2  ABF0 95B2 1FCD 6D34 E57D

Attachment: signature.asc
Description: PGP signature

Reply via email to