Gerrit/Navigation/ru

Навигация в пользовательском интерфейсе Gerrit'а может быть затруднительна. Следующая документация помогает найти материалы в веб-интерфейсе Gerrit.



Изучение проектов

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



Изучение кода в репозитории
After selecting Browse > Repositories in the top bar and selecting a code repository, select "Repository Browser > gitiles" to browse its code base.



Поисковые запросы
Поле поиска Gerrit представлено в правом верхнем углу. Он включает в себя полнотекстовый поиск по сообщениям коммитов, авторам или проверяющим (с именами и адресами электронной почты) и т. д.

Для поиска элементов определенных значений используйте ключевые слова.

Пример: List of commits to all MediaWiki repos which have been, or need to be, reviewed by the Gerrit user called "brion":

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

Пример: 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):

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

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

Performing code review
See Gerrit/Tutorial#How code is reviewed in Gerrit

Reports

 * (not updated since March 2019; |source)
 * (not updated since March 2019; |source)
 * (not updated since March 2019; |source)
 * (not updated since March 2019; |source)
 * (not updated since March 2019; |source)
 * (not updated since March 2019; |source)
 * (not updated since March 2019; |source)
 * Simple code review stats, all time and last month (based on refs/notes/review, containing only CodeReview votes for the last patchset of each commit)
 * MediaWiki core
 * MediaWiki extensions
 * Report Developer Resources
 * Gerrit REST API: The endpoints are located at, e.g.
 * |Source code of valhallasw's gerrit reviewer bot
 * XSSI caveat