Gerrit
表示
Gerrit is the website where Wikimedia hosts all its Git repositories, and reviews changes proposed to those repositories. Before change requests are merged in Gerrit, each change is reviewed to ensure they meet standards of security, quality, and coding style. Anyone is welcome to create an account and leave review comments on changes. The special rights to merge or reject changes is reserved to maintainers.
Prerequisites
If you are a new to software development and are unsure where to contribute, read New Developers . If you've decide you want to contribute to MediaWiki core or an extension, read How to become a MediaWiki hacker to learn where to find tasks for you and how to set up a local development environment.
If you are an experienced developer familiar with MediaWiki but new to its software development, visit Developer hub .Submit your first patch
Follow the Gerrit/Tutorial for setting up Git, creating a developer account, and opening change requests in Gerrit.
Download code without an account
To download source code and without a plan to propose changes:
- Clone the MediaWiki core repository using
git clone https://gerrit.wikimedia.org/r/mediawiki/core.git
. - Browse and fork our mirrors from GitHub at https://github.com/wikimedia.
Improve future patches
- Gerrit/Code review/Getting reviews - Learn how to get your patches reviewed
- Gerrit/Commit message guidelines - Learn how to write good commit summaries
For code reviewers
- Gerrit/Code review - Learn how to perform code review. Your help reviewing changes is welcome!
- Gerrit/Privilege policy - Development policy for reviewers with merging rights in Gerrit
For project owners
- Gerrit/New repositories - How to create a new project in Gerrit
- Gerrit/Privilege policy - How to become the owner of a project in Gerrit, Development policy for reviewers with merging rights in Gerrit
- Gerrit/Inactive projects - Guidelines how to handle inactive projects
- Gerrit/L10n-bot - How to add translatewiki.net integration translation updates
See also
- Cross-repo dependencies
- List of the public Gerrit projects
- Technical information about Wikimedia's Gerrit installation
- Report bugs/other issues with Gerrit
- Wikimedia Gerrit Patch Uploader
- Official Gerrit manual
- Gerrit test instance
- Phabricator
- Gerrit replica
Wikimedia had been planning to migrate code review from Gerrit to GitLab , but as of June 2024 this is not going to happen .