Gerrit/New repositories

From mediawiki.org
Jump to navigation Jump to search

This page is about requesting creation the of a new code repository. All new code repositories are Git repositories in Gerrit.

If you want to be a project owner (to be able to review a patch as +2 and merge it) of an existing code repository in Gerrit, see Gerrit/Privilege policy.

Step 1: Get Git access[edit]

Access to Git is managed via wikitech: (LDAP) and integrated with Gerrit. Anybody can create a developer account to get Git access.

Step 2: Request a Git repository[edit]

Tell us your wikitech username, which code review model you want (by default this should be "Merge review"), what you want the project name in Gerrit to be (and by implication the path to the project in gerrit, e.g. mediawiki/extensions/MyAwesome). Click request, then fill in the fields on the page creation screen:

Step 3: Commit your files[edit]

Once you have some files, you can commit them and continue your work utilizing Git.

Step 4: Publish an extension page[edit]

To autocategorize and standardize the documentation of your existing extension, please see Template:Extension. To add your new extension to this Wiki:


Templates to use[edit]

Step 5: Continue development and enjoy![edit]

You could also try to find a couple of established MediaWiki developers to look over your code and point out any flaws in it, for example by asking on the wikitech-l mailing list.

Getting notified of changes in your repository[edit]

Other people may submit patches to your repository which you should review.

You can have new changes in your repository emailed to you by Gerrit. See Gerrit/watched projects. If you want to be automatically added as a reviewer to each new patchset (or a subset by regex), add yourself to the Gerrit reviewer bot.

See also[edit]