Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

QMO + Bugzilla + Drupal

2 views
Skip to first unread message

paulc

unread,
Jul 1, 2008, 1:40:11 PM7/1/08
to
Hi all,

I'm an intern at Mozilla, trying to set up a Drupal module for QMO
(quality.mozilla.org).
Shortly put, this module needs to gather data from Bugzilla and
generate useful charts that would help the QA team (and hopefully not
just). Some feedback from the kind of charts the QA team wants is
available at
http://wiki.mozilla.org/QA/Community/QMO_Bugzilla
I'll be working on this with Jay Patel, my mentor for the summer.

One idea I've had so far was to parse the XML output of Bugzilla and
store it in a QMO database. Then query that database on each page
display to generate the charts listed above. This works wonderfully if
I can get all the information I need in one query. Easily enough, I
could get the bugs changed for the past 24 hours each day and make
sure that the QMO module stays up to date.

However, some of these charts may require some fields that are not
displayed by default in bug listings, does anyone know a way to get
more (or all) information on bugs, a quicker way than just by parsing
each bug by id, or doing a new query listing? For example, if I'd like
to know when a bug's keywords have changed, when it's been marked as a
regression, etc.

I'm open to any help, suggestions and ideas. This project has just
started and I'm working more on implementing the functionality in the
module itself than getting the content from Bugzilla, so please take a
stab at how I should proceed.

Thanks a bunch!

Frédéric Buclin

unread,
Jul 1, 2008, 3:05:35 PM7/1/08
to devel...@bugzilla.org
paulc a écrit :

> to know when a bug's keywords have changed, when it's been marked as a
> regression, etc.

You need an API which is not available in Bugzilla 3.0.4 (the version
used by b.m.o). get_history() is only available in Bugzilla 3.2 RC1 and
higher. You probably have to wait for b.m.o to upgrade (or parse the
HTML page).

LpSolit

-
To view or change your list settings, click here:
<http://bugzilla.org/cgi-bin/mj_wwwusr?user=dev-apps...@lists.mozilla.org>

paulc

unread,
Jul 2, 2008, 4:47:05 PM7/2/08
to
> <http://bugzilla.org/cgi-bin/mj_wwwusr?user=dev-apps-bugzi...@lists.mozilla.org>

Thanks for that, I'll try to keep it flexible and open for when the
update comes, it's probably the easiest and best solution with regard
to that kind of history.

Max Kanat-Alexander

unread,
Jul 2, 2008, 5:07:19 PM7/2/08
to devel...@bugzilla.org
On Tue, 01 Jul 2008 21:05:35 +0200 Frédéric Buclin <lps...@gmail.com>
wrote:

> get_history() is only available in Bugzilla 3.2 RC1
> and higher. You probably have to wait for b.m.o to upgrade (or parse
> the HTML page).

Actually, I'm pretty sure get_history is only going to be in
4.0.

-Max
--
http://www.everythingsolved.com/
Competent, Friendly Bugzilla and Perl Services. Everything Else, too.


-
To view or change your list settings, click here:

<http://bugzilla.org/cgi-bin/mj_wwwusr?user=dev-apps...@lists.mozilla.org>

dhanya

unread,
Jul 3, 2008, 2:06:33 AM7/3/08
to

"paulc" <paul.cr...@gmail.com> wrote in message
news:6fe4023e-c8a1-41ab...@r37g2000prm.googlegroups.com...

dhanya

unread,
Jul 3, 2008, 2:07:19 AM7/3/08
to

"paulc" <paul.cr...@gmail.com> wrote in message
news:6fe4023e-c8a1-41ab...@r37g2000prm.googlegroups.com...
0 new messages