Wikimedia Release Engineering Team/Code review platform guideline

= Code review platform choice guideline =

This document aims to address the question of "Where should I host my code, and thus code-review, for my software project at the Wikimedia Foundation?"

= The guideline = The default location for code hosting and code-review is on the WMF-hosted platform (currently Gerrit, soon to be Phabricator); exceptions to this default fall into two categories:
 * When the Continuous Integration services provided by WMF Release Engineering are not sufficient for the project (example: iOS app building and testing)
 * When the project is maintained by community members or staff in their volunteer capacity or if it was started before the staff member joined the Foundation (example: gdnsd).

Free Software
The first of Wikimedia's "guiding principles" addresses the fact the the Wikimedia community and Wikimedia Foundation are deeply rooted in the values of the free culture and free software movements. As such, as "an organization, we strive to use open source tools over proprietary ones, although we use proprietary or closed tools (such as software, operating systems, etc.) where there is currently no open-source tool that will effectively meet our needs."

Because of this guiding principle the WMF has always hosted it's own source code and code-review platform; from code review happening on a mailing list, to a MediaWiki extension, to Gerrit, and soon in Phabricator.

Unified development platform
The WMF is consolidating it's development-related platforms from at least 3 (Gerrit, Bugzilla, and Gitblit) to one, Phabricator. The reasons for this are explained better in [Wikimedia_Release_Engineering_Team/Gerrit_migration_why the reasoning for migrating code-review to Phabricator].

Relatedly, we gain more benefits from a single development platform when everyone (possible) uses it. This benefit can really not be understated. The mere fact of having everyone working in the same system allows us to benefit from:
 * 1) increased communication efficiency across all (involved) teams and individuals
 * 2) (corollary) decreased overhead of maintaining communication across multiple venues/mediums

Privacy
By only requiring our development community (which is made up of WMF Staff, volunteers from the broader Wikimedia community, and third-party users of our software) to use our own platform which is bound by our very stringent WMF Privacy Policy we give our users a vastly higher standard of privacy than any other known third-party code-review platform. If we instead use a third-party platform such as Github we subject our community to their Terms of Service and Privacy Policy, which do not meet our community's standards (as per conversations during our own Privacy Policy update process).