Bug tracking and assigned to

Brad Roberts braddr at puremagic.com
Sat Jan 21 01:36:24 PST 2012


On 1/21/2012 1:07 AM, Don wrote:
> On 21.01.2012 05:42, Brad Roberts wrote:
>> On 1/20/2012 8:33 PM, Kapps wrote:
>>> On 20/01/2012 5:26 PM, Brad Roberts wrote:
>>>> To be more general than paying attention to Nick's specific issues.. paying attention to the various attributes that
>>>> are
>>>> available:  priority, severity, and vote count.  Each of those is easy to search on and sort by.
>>>>
>>>> I fully agree with the difficulty of seeing who's working on what when no one bothers to assign bugs to themselves.
>>>
>>> I'm guessing it's not possible to make it so that when a pull request is received that fixes a bug (in the way that the
>>> newly integrated approach works for commits) it automatically assigns the issue to the user?
>>
>> With sufficient time and energy, it's all possible.  There's sufficient hooks to write the software.  But waiting for
>> the pull request to mark the bug as assigned is too late, imho.  I don't see it as at all unreasonable to ask people
>> that decide to work on a bug to assign it to themselves.  It only takes a couple button clicks and they'll already have
>> the bug open.
> 
> It's not true of me -- I'm nearly always off-line while I'm working on bugs. That might not be true of anyone else,
> though, and since at the moment all CTFE are implicitly assigned to me, it's not really a problem right now.
> Anyway, if we want to make ASSIGNED meaningful, a mandatory first step would be change all bugs below number 1000 back
> to NEW.

Can you assign some to yourself before dropping off-line?  Either way, it's one of those things that's useful to do, but
not a requirement (obviously).  Given the number of bugs, the chances of duplication of effort is relatively low.

Doing some mass-reassignments is pretty easy.  I can either do them under the covers directly in the db or via the
mass-edit features of bugzilla (the better choice since they result in a clearer audit trail).

Looking at the sub-1000 bugs that are still open:
  ASSIGNED  43
  NEW       46
  REOPENED  17

A couple of those are assigned to non-bugzilla at digitalmars.com addresses.

mysql> select login_name, bug_status, count(*) from bugs, profiles where bugs.assigned_to = profiles.userid and
bug_status in ("ASSIGNED", "NEW", "REOPENED") and bug_id < 1000 group by login_name, bug_status;
+--------------------------+------------+----------+
| login_name               | bug_status | count(*) |
+--------------------------+------------+----------+
| bugzilla at digitalmars.com | ASSIGNED   |       42 |
| bugzilla at digitalmars.com | NEW        |       11 |
| bugzilla at digitalmars.com | REOPENED   |       13 |
| ibuclaw at ubuntu.com       | NEW        |        1 |
| ibuclaw at ubuntu.com       | REOPENED   |        1 |
| nobody at puremagic.com     | NEW        |       32 |
| nobody at puremagic.com     | REOPENED   |        2 |
| sean at invisibleduck.org   | ASSIGNED   |        1 |
| sean at invisibleduck.org   | REOPENED   |        1 |
| smjg at iname.com           | NEW        |        2 |
+--------------------------+------------+----------+

Or for the full db:

mysql> select login_name, bug_status, count(*) from bugs, profiles where bugs.assigned_to = profiles.userid and
bug_status in ("ASSIGNED", "NEW", "REOPENED") group by login_name, bug_status;
+--------------------------+------------+----------+
| login_name               | bug_status | count(*) |
+--------------------------+------------+----------+
| andrei at metalanguage.com  | ASSIGNED   |      133 |
| andrei at metalanguage.com  | NEW        |        5 |
| andrei at metalanguage.com  | REOPENED   |        2 |
| braddr at puremagic.com     | ASSIGNED   |        1 |
| braddr at puremagic.com     | NEW        |        3 |
| bugzilla at digitalmars.com | ASSIGNED   |       48 |
| bugzilla at digitalmars.com | NEW        |       62 |
| bugzilla at digitalmars.com | REOPENED   |       34 |
| dawg at dawgfoto.de         | NEW        |        1 |
| dmitry.olsh at gmail.com    | ASSIGNED   |        3 |
| dsimcha at yahoo.com        | ASSIGNED   |        1 |
| dvdfrdmn at users.sf.net    | NEW        |        1 |
| ibuclaw at ubuntu.com       | ASSIGNED   |        1 |
| ibuclaw at ubuntu.com       | NEW        |       17 |
| ibuclaw at ubuntu.com       | REOPENED   |        1 |
| nobody at puremagic.com     | ASSIGNED   |       23 |
| nobody at puremagic.com     | NEW        |     2187 |
| nobody at puremagic.com     | REOPENED   |       74 |
| rsinfu at gmail.com         | ASSIGNED   |        2 |
| schveiguy at yahoo.com      | ASSIGNED   |        3 |
| sean at invisibleduck.org   | ASSIGNED   |        8 |
| sean at invisibleduck.org   | NEW        |       42 |
| sean at invisibleduck.org   | REOPENED   |        1 |
| smjg at iname.com           | NEW        |        2 |
| yebblies at gmail.com       | ASSIGNED   |        1 |
+--------------------------+------------+----------+


More information about the Digitalmars-d mailing list