Last modified: 2013-04-22 16:17:04 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T47770, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 45770 - Fix "Bugzilla Weekly Report" to wikitech-l
Fix "Bugzilla Weekly Report" to wikitech-l
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Bugzilla (Other open bugs)
wmf-deployment
All All
: High normal (vote)
: ---
Assigned To: Andre Klapper
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-06 10:56 UTC by Andre Klapper
Modified: 2013-04-22 16:17 UTC (History)
10 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Andre Klapper 2013-03-06 10:56:08 UTC
Every Monday a script sends some Bugzilla stats to wikitech-l.

The script is at best confusing and misleading, see
http://lists.wikimedia.org/pipermail/wikitech-l/2013-January/065496.html and
http://lists.wikimedia.org/pipermail/wikitech-l/2013-January/065499.html
Comment 2 Nemo 2013-03-06 22:32:04 UTC
(In reply to comment #1)
> https://gerrit.wikimedia.org/r/52401

This seems the biggest piece of meat. :) It would be nice if we managed to get a list of bugs requiring attention; I don't know if Highest/Immediate is the best choice possible but I guess it should work.

> Still TODO:
> Trigger getHighestPrioTickets() function and include it in results, as I'm
> too
> stupid (no PHP skills) to give it a proper formatting.

I hope someone can help.
Comment 3 Andre Klapper 2013-03-07 12:48:56 UTC
(In reply to comment #1)
> https://gerrit.wikimedia.org/r/52396

Superseded by https://gerrit.wikimedia.org/r/#/c/52616/
Comment 4 Andre Klapper 2013-03-11 01:51:58 UTC
(In reply to comment #1)
> https://gerrit.wikimedia.org/r/52401

Superseded by https://gerrit.wikimedia.org/r/#/c/53128
Comment 5 Andre Klapper 2013-03-12 17:40:57 UTC
* https://gerrit.wikimedia.org/r/#/c/53128

Superseded by https://gerrit.wikimedia.org/r/#/c/53387/ and the only one item left to merge before closing this report as FIXED.
Comment 6 Andre Klapper 2013-03-14 21:06:34 UTC
Re https://gerrit.wikimedia.org/r/#/c/53387/ before I forget: 
Exclude bug reports in group 15 (security group) from the query:

SELECT products.name AS product, components.name AS component, bugs.bug_id AS bugID, bugs.priority, bugs.delta_ts, profiles.login_name AS assignee, bugs.short_desc as bugsummary FROM bugs JOIN profiles ON assigned_to = profiles.userid JOIN products ON bugs.product_id = products.id JOIN components ON bugs.component_id = components.id LEFT JOIN bug_group_map AS security_map ON bugs.bug_id = security_map.bug_id WHERE ( security_map.group_id != 15 OR security_map.group_id IS NULL ) AND ( resolution = "" OR resolution = "FIXED" ) AND ( priority = "Highest" OR priority = "Immediate" ) ORDER BY product, component, delta_ts LIMIT 200;
Comment 7 Andre Klapper 2013-03-15 12:30:22 UTC
Updated patch, hopefully correct (at least works fine here), in  https://gerrit.wikimedia.org/r/#/c/53387/
Comment 8 Andre Klapper 2013-03-28 00:45:07 UTC
Latest version at https://gerrit.wikimedia.org/r/56348 , now hopefully not listing already closed tickets anymore in the list of urgent issues (a quick test by Daniel looked positive; I still cannot reproduce the problem locally).
Comment 9 Valerie Juarez 2013-03-28 05:53:24 UTC
(In reply to comment #7)
> Updated patch, hopefully correct (at least works fine here)...

How do you test your changes? I've been looking into bug 29355, and I have an idea of what changes need to be made, but I can't test them.
Comment 10 Andre Klapper 2013-03-28 10:54:26 UTC
(In reply to comment #9)
> (In reply to comment #7)
> > Updated patch, hopefully correct (at least works fine here)...
> 
> How do you test your changes? I've been looking into bug 29355

Lacking some good test setup, I installed Bugzilla locally (originally for testing migration to 4.2). I guess in this specific case (accessing MySQL database via script), http://kubo.wmflabs.org//bugzilla/ won't help either, but I'm happy to help and test your patch.
Comment 11 Andre Klapper 2013-04-12 18:01:00 UTC
I've split off the "list of urgent issues" into bug 47176 as I continue to fail due to my miserable SQL skills (or so).

Hence considering this ticket FIXED.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links