Jump to content

Gerrit/Gitiles

From mediawiki.org

Gitiles is a repository browser that allows you to view the source code of a repository in Gerrit.

The current code for a repository is usually found in the "master" branch so click on the "master" link in the "Branches" sidebar on the left to get to it.

Getting to Gitiles

[edit]

The Gitiles page for a repository can be navigated to from the:

If you have trouble getting to gitiles page or cannot find the Gerrit repository for the code you are looking for, try using Wikimedia Codesearch to locate the repository. You could also check if a GitHub mirror of the repository exists by searching for "<repository name> github". Gitiles repositories are not indexed by search engines so looking up <repository name> gititles likely will not provide you helpful results.

[edit]

The main Gitiles page for a repository contains an SSH link at the top to clone the repository. This link will not work unless you are signed into the Wikimedia Gerrit server over SSH.[1]

On the left there is a sidebar that lists branches of the repository and tags marking the commits of specific releases of the software.

Below the clone link, there is a list of the most recent commits to the repository and to which branch (usually master).

Finally below the list of commits there is README.md of the repository from the current master branch.