This page is a translated version of the page Gerrit/Navigation and the translation is 100% complete.
Other languages:

Antarmuka pengguna Gerrit bisa jadi sulit dinavigasi. Dokumentasi berikut membantu menemukan hal-hal di antarmuka pengguna web Gerrit.

Menjelajahi proyek

  • To view all projects, select Browse > Repositories in the top bar.
    • The core MediaWiki source code is in the project "mediawiki/core".
  • Use "Repository Browser > gitiles" to inspect the code base.
    • If you want to look at the code for the version of MediaWiki or an extension deployed on some wiki, visit that wiki's Special:Version page and look for the corresponding branch or commit. Then select the corresponding branch in the sidebar of gitiles.
  • Select "Changes > View all" to see the latest commits.

Menjelajahi kode dalam repositori

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

Kueri pencarian

Gerrit menawarkan isian pencarian di pojok kanan atas. Isian tersebut memungkinkan pencarian teks-penuh di pesan commit, penulis atau peninjau (nama dan alamat surel), dll.

Untuk mencari butir nilai spesifik, gunakan kata kunci.

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

project:^mediawiki/.* reviewer:brion AND NOT owner:L10n-bot</code>

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

Contoh: 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

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 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.

Performing code review

See mw:Gerrit/Tutorial#How code is reviewed in Gerrit


Report Developer Resources