Page MenuHomePhabricator

Set up dumping Phabricator's project taxonomy to a wiki
Closed, ResolvedPublic

Description

A bug tracker ago, @Aklapper set up a cron job to inform him of changes in the Bugzilla taxonomy. On wikitech-l, I proposed to (additionally) dump the taxonomy regularly to a wiki so that normal users can watch changes as well and was asked to file an enhancement request.

https://phabricator.wikimedia.org/project/query/all/ looks like a list of all projects and is probably queriable via an API as well. For the target on the wiki side, there is https://www.mediawiki.org/wiki/Phabricator/Projects but its purpose is unclear.

Cf. T833

https://github.com/wikimedia/labs-tools-wikibugs2/blob/master/taxonomy.py writes https://www.mediawiki.org/wiki/Phabricator/Projects/Test
but needs to be set up as a weekly cron job, and needs to be adapted to a better page, e.g. just /Projects.

Event Timeline

scfc raised the priority of this task from to Needs Triage.
scfc updated the task description. (Show Details)
scfc added a project: Phabricator.
scfc changed Security from none to None.
scfc subscribed.
Aklapper triaged this task as Lowest priority.Dec 21 2014, 12:58 PM

Which data / changes are you specifically interested in?
As you link to that cron job (which I didn't set up myself), that cronjob for Bugzilla showed newly registered users (email addresses) and project creations/renames to me. https://www.mediawiki.org/wiki/Phabricator/Projects is very similar for the project part.

There is not much taxonomy in the context of Phabricator. What is expected here?

Which data / changes are you specifically interested in?
As you link to that cron job (which I didn't set up myself), that cronjob for Bugzilla showed newly registered users (email addresses) and project creations/renames to me. https://www.mediawiki.org/wiki/Phabricator/Projects is very similar for the project part.

I'm interested in being informed about project creations, renames and deletions (don't know if Phabricator allows to delete projects). If "subprojects" were designated by something other than their name (i. e., if Phabricator defined a parent/child relationship for projects), I'd like to be informed about changes in that graph as well.

In T85096#941468, @scfc wrote:

I'm interested in being informed about project creations, renames and deletions

Heh, I created T85183 yesterday (getting that info via email). I guess this task depends on it.

(don't know if Phabricator allows to delete projects).

No it does not. Only archiving.

If "subprojects" were designated

Not yet: https://secure.phabricator.com/T3670

valhallasw changed the task status from Open to Stalled.Jan 9 2015, 6:37 PM

@scfc, does this provide what you need?

@scfc, does this provide what you need?

Yes, that fits very nicely what I thought it would look like.

valhallasw changed the task status from Stalled to Open.Jan 10 2015, 2:31 PM
valhallasw claimed this task.
valhallasw updated the task description. (Show Details)
valhallasw raised the priority of this task from Lowest to Medium.Jan 10 2015, 2:49 PM
valhallasw added a project: Wikibugs.

Change 184128 had a related patch set uploaded (by Merlijn van Deen):
Add Taxonomy cron job

https://gerrit.wikimedia.org/r/184128

Patch-For-Review

Change 184129 had a related patch set uploaded (by Merlijn van Deen):
Move taxonomy to Phabricator/Projects

https://gerrit.wikimedia.org/r/184129

Patch-For-Review

Change 184128 merged by jenkins-bot:
Add Taxonomy cron job

https://gerrit.wikimedia.org/r/184128

Change 184129 merged by jenkins-bot:
Move taxonomy to Phabricator/Projects

https://gerrit.wikimedia.org/r/184129

This is now at https://www.mediawiki.org/wiki/Phabricator/Projects . Please feel free to update header/footer to your liking!