Some phabricator helpers

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Some phabricator helpers

Amir Sarabadani
Hey,
Today I made some phabricator helpers, I thought these might be useful for
others.

The first is a web page that gives you an overview of changes in any sprint
board in the past N days (default value of N is seven). This is useful when
you want to have a quick look of things that has been done to show them off
in SoS, weekly updates, etc. Here's an example with performance team board:
[1], The default boards are Wikidata sprint boards (like [2]) let me know
if encounter any issues, have any suggestions or if you want to add your
board to the default list. It's based on a CLI tool my colleague made a
while ago. Of course it's easily doable to query them directly in
phabricator but this combines several queires (things that are picked up,
things that are waiting for review, etc.) into one small place, the output
is slightly shorter and cleaner.

If you know what Herald [3] is, you can skip this paragraph. Herald is set
of rules in phabricator that gets automatically applied on tasks, patches,
or anything. For example, if you add a ticket and add one of sprint boards
of wikidata but you forget to add the umbrella project (#Wikidata [4]), it
happily adds the umbrella project to the ticket. If you want to add some
Herald rules to improve your workflow, let me know.

Herald, albeit being very powerful, has one limitation, it doesn't move
tasks to another column, this means if a task is being worked on (like it's
part of a sprint) Herald can't move it to "In progress" column in the
umbrella project.

You probably know my bot "Maintaince bot", It continuously spams you,
Today, I made it to handle column moving as well. So it's going to spam you
even more (sorry) for tasks being moved around. You can disable
notification for column moves in your settings in phabricator or set a
filter for archiving maintenance bot emails. But if you want to add more
rules to it (if you have been moving tasks around manually, you probably
know it's a very tedious work). Let me know the rules and the column moves,
and I add it to my bot as well.


[1]
https://tools.wmflabs.org/phabricator-reporter/sprint.php?project=&other=performance-team&days=7
[2]:
https://tools.wmflabs.org/phabricator-reporter/sprint.php?project=RL+Module+Terminators+Trailblazing&other=&days=7
[3]: https://phabricator.wikimedia.org/herald/
[4]: https://phabricator.wikimedia.org/tag/wikidata/

Best
--
Amir Sarabadani (he/him)
Software engineer

Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963 Berlin
Tel. (030) 219 158 26-0
https://wikimedia.de

Unsere Vision ist eine Welt, in der alle Menschen am Wissen der Menschheit
teilhaben, es nutzen und mehren können. Helfen Sie uns dabei!
https://spenden.wikimedia.de

Wikimedia Deutschland — Gesellschaft zur Förderung Freien Wissens e. V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter
der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für
Körperschaften I Berlin, Steuernummer 27/029/42207.
_______________________________________________
Wikitech-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l