https://bugzilla.wikimedia.org/show_bug.cgi?id=37463

Nemo <federicol...@tiscali.it> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pleasest...@live.com
           See Also|                            |https://bugzilla.wikimedia.
                   |                            |org/show_bug.cgi?id=53485
         Depends on|                            |57038

--- Comment #14 from Nemo <federicol...@tiscali.it> ---
From what above and bug 57038, it's not clear to me if you're currently relying
on the database or the API. Anyway.

(In reply to comment #13)
> As per bug 53485 comment 35 and 39, let's not count self-merges (reviews
> merged
> by the author of the patch) in any "average time to review" metrics.

PleaseStand noted that we now have better searches by label:
https://gerrit.wikimedia.org/r/Documentation/user-search.html#labels (2.7 was
https://gerrit-documentation.storage.googleapis.com/Documentation/2.7/user-search.html
).

For instance.
* Core changes by non-WMF people with +2 by WMF people:
<https://gerrit.wikimedia.org/r/#/q/-ownerin:wmf+label:Code-Review%253D2%252Cwmf+project:mediawiki/core,n,z>
(with some approximation because the LDAP group is not complete).
* Commits by a user minus self-merges:
<https://gerrit.wikimedia.org/r/#/q/owner:mark%2540wikimedia.org+label:Code-Review%253D2+-label:Code-Review%253D2%252Cmark%2540wikimedia.org,n,z>.
* Merges by a user minus self-merges:
<https://gerrit.wikimedia.org/r/#/q/project:mediawiki/core+-owner:%22Siebrand+%253Csiebrand%2540wikimedia.org%253E%22+label:Code-Review%253D2%252Csiebrand%2540wikimedia.org,n,z>
(restricted to core, gives zero results if more general probably because
Siebrand has too many).

It doesn't always work reliably if you don't specify a project. Should work in
the same way for API, e.g.
<https://gerrit.wikimedia.org/r/changes/?q=-ownerin:wmf+label:Code-Review=2,wmf+project:mediawiki/core&n=25>
(<https://gerrit.wikimedia.org/r/Documentation/rest-api-changes.html#list-changes>).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to