Page MenuHomePhabricator

Publish some Phabricator (and/or Gerrit) end-of-year stats for 2022 to wikitech-l@
Closed, ResolvedPublic

Description

Re T297685, T270867, T240564. Needs Phab SQL access and a wikimedia.biterg.io account to create the Gerrit related short URLs.

2022-01-01T000000UTC = 1640995200
2023-01-01T000000UTC = 1672531200


Phabricator:

  • How many tasks got created?
    • SELECT COUNT(tsk.dateCreated) FROM phabricator_maniphest.maniphest_task tsk WHERE tsk.dateCreated > 1640995199 AND tsk.dateCreated < 1672531200;
  • How many tasks got closed?
    • SELECT COUNT(tsk.closedEpoch) FROM phabricator_maniphest.maniphest_task tsk WHERE tsk.closedEpoch > 1640995199 AND tsk.closedEpoch < 1672531200;
  • How many people were active in Phabricator?
    • SELECT COUNT(DISTINCT (tsk.authorPHID)) FROM maniphest_transaction tsk WHERE tsk.dateCreated > 1640995199 AND tsk.dateCreated < 1672531200;
  • How many people created tasks?
    • SELECT COUNT(DISTINCT (tsk.authorPHID)) FROM phabricator_maniphest.maniphest_task tsk WHERE tsk.dateCreated > 1640995199 AND tsk.dateCreated < 1672531200;
  • Who created the most tasks?
    • SELECT usr.username, COUNT(usr.username) AS created FROM phabricator_user.user usr JOIN phabricator_maniphest.maniphest_task tsk WHERE tsk.authorPHID = usr.phid AND tsk.dateCreated > 1640995199 AND tsk.dateCreated < 1672531200 GROUP BY usr.username ORDER BY created DESC LIMIT 20;
  • How many people closed tasks?
    • SELECT COUNT(DISTINCT (tsk.closerPHID)) FROM phabricator_maniphest.maniphest_task tsk WHERE tsk.closedEpoch > 1640995199 AND tsk.closedEpoch < 1672531200;
  • Who closed the most tasks?
    • SELECT usr.username, COUNT(usr.username) AS closed FROM phabricator_user.user usr JOIN phabricator_maniphest.maniphest_task tsk WHERE tsk.closerPHID = usr.phid AND tsk.closedEpoch > 1640995199 AND tsk.closedEpoch < 1672531200 GROUP BY usr.username ORDER BY closed DESC LIMIT 20;

Gerrit:

Details

Due Date
Jan 9 2023, 11:00 PM

Event Timeline

Aklapper changed the task status from Open to Stalled.Oct 15 2022, 10:29 PM
Aklapper triaged this task as Lowest priority.
Aklapper created this task.
Aklapper set Due Date to Jan 6 2023, 11:00 PM.
Aklapper changed the task status from Stalled to Open.Jan 1 2023, 5:24 PM
Aklapper raised the priority of this task from Lowest to Medium.
Aklapper updated the task description. (Show Details)
Aklapper changed Due Date from Jan 6 2023, 11:00 PM to Jan 9 2023, 11:00 PM.