Requests for comment/Phabricator

Problem
The Wikimedia technical community is currently using plenty of different tools for tracking bugs / product management / project management / todo lists. Some are open-source and others are proprietary, some are self-hosted and others are hosted by third parties, and all in all the multitude of tools and channels makes it difficult for both staff and volunteers to keep track of what's happening. They also all have their own limitations, and the multitude of scattered tools involved in the development chain is cumbersome both for current and prospective contributors. Members of the development and user communities have expressed frustration due to the current state and wish to consolidate the development toolchain.

See the full email thread for more background.

Background
This is what has been done so far: The goal of this RfC is to come to an agreement as a community on a smaller set of tools that teams would agree upon, which would make collaboration and maintenance easier. Ideally, this would also be an opportunity to use tools that are better aligned with the values of our movement, and better integrated with each other.
 * People have shared their needs and workflows.
 * Andre and Guillaume have summarized all of that into consolidated requirements.
 * Andre and Guillaume have set up a list of options to solve our problem, based on what was mentioned during preliminary discussions.
 * People hade discussed the options and eliminated some of them in preparation for the RfC.
 * Besides the wiki, communication has happened mainly on the teampractices list, with updates also sent to wikitech-l.
 * We're now drafting this RfC and welcoming edits on both the form and the content.

Proposal: Move to Phabricator
This proposal consists of replacing several of our tools by one consolidated tool. Phabricator will replace gitblit, Gerrit, Jenkins, Bugzilla, RT, Trello and Mingle. We should probably turn off Phriction, the Phabricator wiki, to avoid fragmenting with MediaWiki.org. Development teams will be free to use other tools (like Trello, Mingle, etc.) but Phabricator will be the one supported by the WMF.

You can test Phabricator in Labs. This is an actual test instance so don't be afraid to break things.

If this proposal fails to gather agreement, we will keep the status quo. The status quo is somewhat working at the moment, so if there isn't a better alternative we can decide to keep what we have now and reevaluate every year. We may want to consider consolidating our project management tools later into Scrumbugz (a tool that works on top of Bugzilla) but that will be a separate discussion.

Blockers
Note: Phabricator specific issues we would have to sort out for executing this proposal are listed in our Phabricator test instance on Labs (as proposed here).

In order to complete a full migration to Phabricator, the following needs to happen:
 * Set up repositories, projects, permissions, etc.
 * Migrate all tickets from Bugzilla and set up redirects
 * We are not aware of any precedents of importing Bugzilla tickets into Phabricator (upstream ticket). Phabricator has an API ("Conduit"); Bugzilla has XML and JSON interfaces.
 * Migrate all tickets from RT and set up redirects
 * Migrate code review data from Gerrit

The following is optional and depends on the needs of smaller teams:
 * Migrate data from Mingle
 * Migrate data from Trello

Other Functionality Regressions:
 * Phabricator does not offer a list of existing projects to users who file a ticket; currently only type-ahead guessing (upstream ticket) so triagers would have more work.

General Migration, Tradeoffs, Timeframe
In case we decide to change the current setup:
 * For any important functionality we miss in a new tool, Andre should make sure that upstream tickets are created to make upstream developers aware of our needs.
 * Wikimedia's participation level: Should Wikimedia wait for somebody to develop the functionality we still miss, or will Wikimedia actively work on fixing it? The latter will require developer resources, either from WMF teams or a contractor.

Potential sequences of migration:
 * M1: Speed: We could push to quickly have the new tool in place, given the limitations of our existing tools, and afterwards add missing functionality that we consider a requirement.
 * M2: Functional completeness: We could first make the prefered new tool provide nearly all functionality we consider required, and then migrate to the new tool.
 * M3: Later migration of tickets: We could start a fresh instance of the new tool with a higher number (100.000) to give us enough buffer to import Bugzilla and/or other tickets at a later date. We close existing infrastructure tools for ticket creation so new tickets are only handled in the new tool.
 * In any case, we should not add yet another tool to the mix while keeping the current usage of all our existing tools.

Aspects to keep in mind for a migration of tickets: Tickets themselves, Attachments, Access restrictions, Priorities, Assignees, User accounts and their passwords. Mapping products, components, keywords.