A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.mediawiki.org/wiki/Gerrit/Navigation below:

Gerrit/Navigation - MediaWiki

Gerrit's user interface can be difficult to navigate. The following documentation helps find stuff in the web user interface of Gerrit.

After selecting Browse > Repositories in the top bar and selecting a code repository, select "Repository Browser > gitiles" to browse its code base.

Gerrit offers a search field in the upper right corner. It includes a full-text search on commit messages, authors or reviewers (names and email addresses), etc.

To search for specific values items, use keywords.

Example: List of commits to all MediaWiki repos which have been, or need to be, reviewed by the Gerrit user called "jforrester":

project:^mediawiki/.* reviewer:jforrester AND -owner:L10n-bot

It excludes the L10n-bot which sometimes alters the results.

Example: List of commits authored by anyone in the newcomers group and the commits passed CI (have a positive Verified label) and have either CR-1 or CR-2 (patch needs rework):

ownerin:newcomers status:open label:Verified>=1 label:Code-Review<0
Search queries via SSH[edit]

You can also run queries from the command line. This requires a developer account. Connect over ssh to execute commands of the form gerrit query ' query parameters ' on the gerrit host. The search operators are the same as in the web interface. See the query command documentation.

Example: List of unreviewed commits under mediawiki:

ssh -p 29418 yourPersonalUsername@gerrit.wikimedia.org gerrit query 'status:open project:^mediawiki/.* AND NOT label:Code-Review<=-1'

For the number of unreviewed patches, see the rowCount value in the output of this command.

See Gerrit/Tutorial#How code is reviewed in Gerrit

Report Developer Resources

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4