Git/Reviewers
This is a page where people can register to be automatically added as reviewer to newly opened changes in Gerrit or Gitlab depending on specific conditions. After registering here, reviewer-bot will add you as reviewer to every change that matches the project and file filter. For Gitlab, you will get an "@" mention in the merge request.
Gerrit Reviewer Bot Release status: stable |
|
---|---|
Description | Adds reviewers to Gerrit patchsets Log of recent actions |
Author(s) | User:valhallasw Please send me a talk page message or e-mail if the bot is malfunctioning. |
License | MIT |
Download | https://github.com/valhallasw/gerrit-reviewer-bot |
- Note: If you are looking for a list of people that could review your patch, please see Developers/Maintainers.
Gerrit supports a similar feature by itself (including filtering by modified file name and words appearing in commit message), see Gerrit/watched projects and https://gerrit.wikimedia.org/r/settings/projects. Likewise, GitLab supports enabling notifications on projects, groups, individual merge requests, etc. See https://docs.gitlab.com/ee/user/profile/notifications.html. GitLab does not support filename-based matching, so this page may still be useful to you.
How to add yourself
editEach project has a header with the Gerrit or Gitlab project name, followed by a list of people (using Template:Gerrit-reviewer or Template:Gitlab-mention), for example:
=== test/mediawiki/extensions/examples === * {{Gerrit-reviewer|User 2}} * {{Gerrit-reviewer|User 1|file_regexp=<nowiki>i18n</nowiki>}}
The file_regexp
parameter can be used to filter for changes in specific files:
* {{Gerrit-reviewer|User 1|file_regexp=<nowiki>i18n</nowiki>}}
will watch for changes where a file with 'i18n' in the name is changed, while
* {{Gerrit-reviewer|User 1|file_regexp=<nowiki>^includes/specials</nowiki>}}
will watch for changes in the includes/specials directory. You can test the regexp using [1] with IGNORECASE and DOTALL enabled. The <nowiki> tags are suggested but only required when the regexp contains characters that interfere with template parsing (e.g. | and }}).
An optional match_all_files
parameter makes the bot only mark changes where the file_regexp
matches all the changed files:
* {{Gerrit-reviewer|User 1|file_regexp=<nowiki>\.css|\.txt</nowiki>|match_all_files}}
This is useful since review scores apply to the whole changeset, rather than parts of it, so users that are comfortable with reviewing only a subsection of the changes wouldn't be able to review the whole patchset. For instance, front-end changes often touch both CSS and JavaScript files. A user who is confident about his CSS knowledge but not so much about his JavaScript ones can use match_all_files
to restrict reviews attributed to them to those that only touch CSS files.
Listen to Gerrit repository groups
editProjects are matched based on unix filename matching as implemented in the fnmatch module. The idea is to set a file_regexp, which filters changesets by changed files instead of repository.
*
edit- Zoranzoki21 (only commits where at least one of the changed files match /
(bs|hr|sr\-e[cl])\.json
/) - Thcipriani (only commits where at least one of the changed files match /
scap/scap\.cfg
/) - Revi (only commits where at least one of the changed files match /
ko\.json
/) - Dr0ptp4kt (only commits where at least one of the changed files match /
abstractSchemaChanges
/)
cloud/metricsinfra/*
editintegration/config
editintegration/quibble
editsearch/*
editwikimedia/discovery/*
editmediawiki/extensions/BlueSpice*
editmediawiki/skins/BlueSpice*
editmediawiki/tools/phan*
editwikimedia-cz/*
editmediawiki/services/wikispeech*
editcloud/toolforge/*
editListen to specific Gerrit repositories
editcergen
editintegration/tox-wikimedia
editjsdoc/wmf-theme
editmediawiki/core
edit- Aaron Schulz (only commits where at least one of the changed files match /
^(includes/(filebackend|db|objectcache|externalstore)/|includes/libs/|maintenance/archive/[a-zA-Z]+)
/) - Xcollazo (only commits where at least one of the changed files match /
^includes/export/|^maintenance/includes/(Backup|TextPass|SevenZip)|^maintenance/(fetchText|dump)
/) - jebe (only commits where at least one of the changed files match /
^includes/export/|^maintenance/includes/(Backup|TextPass|SevenZip)|^maintenance/(fetchText|dump)
/) - milimetric (only commits where at least one of the changed files match /
^includes/export/|^maintenance/includes/(Backup|TextPass|SevenZip)|^maintenance/(fetchText|dump)
/) - Catrope (only commits where at least one of the changed files match /
resources/src/vue/
/) - cscott (only commits where at least one of the changed files match /
[Pp]arser|virtualrest|OutputTransform
/) - Cwhite (only commits where at least one of the changed files match /
^((tests/phpunit/unit/)?includes/libs/Stats)
/) - daniel (only commits where at least one of the changed files match /
^includes/content/
/) - dcausse (only commits where at least one of the changed files match /
^includes/search/
/) - Gergő Tisza (only commits where at least one of the changed files match /
^includes/auth/|includes/session/
/)}} - Huji (only commits where at least one of the changed files match /
(Equivset|MessagesFa)
/) - Jdlrobson (only commits where at least one of the changed files match /
^(includes/skins|includes/ResourceLoader/SkinModule\.php|resources/.*)
/) - Jjanes (only commits where at least one of the changed files match /
\.sql$
/) - Kosta Harlan (only commits where at least one of the changed files match /
^tests/phpunit/MediaWikiUnitTestCase.php
/) - Legoktm (only commits where at least one of the changed files match /
registration|[Cc]onfig
/) - Liangent (only commits where at least one of the changed files match /
^includes/language/(LanguageConverter\.php|converters/ZhConverter)|^includes/languages/(LanguageZh|data/ZhConversion\.php)|^maintenance/language/zhtable/
/) - MusikAnimal (only commits where at least one of the changed files match /
^resources/src/mediawiki\.special\.block/|^tests/jest/
/) - Revi (only commits where at least one of the changed files match /
languages/messages/MessagesKo.php
/) - Samwilson (only commits where at least one of the changed files match /
resources/src/mediawiki\.editRecovery
/) - Skizzerz (only commits where at least one of the changed files match /
[Mm]ssql
/) - Tchanders (only commits where at least one of the changed files match /
^includes/.*block
/) - Tpt (only commits where at least one of the changed files match /
(DjVu|EditPage\.php)
/) - Urbanecm (only commits where at least one of the changed files match /
(Messages(Cs|Sk)|includes/block/(UnblockUser|BlockUser|UserBlockCommandFactory|BlockPermissionChecker)|includes/specials/(SpecialBlock|SpecialUnblock).php)
/) - Winston Sung (only commits where at least one of the changed files match /
LanguageCode|/Names\.php|LanguageConverter|/converters/|(Language|Messages)Zh|ZhConversion|^maintenance/language/zhtable/
/) - Zabe (only commits where at least one of the changed files match /
^includes/.*block
/) - Zppix (only commits where at least one of the changed files match /
languages/l18n/en.json
/)
mediawiki/event-schemas
editmediawiki/extensions/AbuseFilter
editmediawiki/extensions/AchievementBadges
editmediawiki/extensions/ActiveAbstract
editmediawiki/extensions/AdvancedSearch
editmediawiki/extensions/AdvancedMeta
editmediawiki/extensions/ArticleRatings
editmediawiki/extensions/AutoModerator
editmediawiki/extensions/BlogPage
editmediawiki/extensions/CampaignEvents
edit- Daimona Eaytoy
- cmelo
- MHORSEY
- Arinaigum (only commits where at least one of the changed files match /
^db_patches
/)
mediawiki/extensions/Capiunto
editmediawiki/extensions/CirrusSearch
editmediawiki/extensions/Cite
editmediawiki/extensions/CentralAuth
editmediawiki/extensions/CentralNotice
editmediawiki/extensions/ChessBrowser
editmediawiki/extensions/CheckUser
edit- Huji
- Tchanders (only commits where at least one of the changed files match /
^src
/) - Dreamy Jazz
- Kosta Harlan
mediawiki/extensions/cldr
edit- Winston Sung (only commits where at least one of the changed files match /
LocalNames
/)
mediawiki/extensions/CodeEditor
editmediawiki/extensions/CodeMirror
edit- MusikAnimal
- Cparle
- Samtar
- Bhsd (only commits where at least one of the changed files match /
^resources/
/)
mediawiki/extensions/CognitiveProcessDesigner
editmediawiki/extensions/Collection
editmediawiki/extensions/Collection/OfflineContentGenerator
editmediawiki/extensions/Collection/OfflineContentGenerator/bundler
editmediawiki/extensions/Collection/OfflineContentGenerator/latex_renderer
editmediawiki/extensions/Comments
editmediawiki/extensions/CommentStreams
editmediawiki/extensions/CommunityConfiguration
editmediawiki/extensions/CommunityRequests
editmediawiki/extensions/ContactPage
editmediawiki/extensions/ContainerFilter
editmediawiki/extensions/ContentDroplets
editmediawiki/extensions/ContentTransfer
editmediawiki/extensions/ContentTranslation
editmediawiki/extensions/ContentStabilization
editmediawiki/extensions/CreateUserPage
editmediawiki/extensions/DarkMode
editmediawiki/extensions/DiscordRCFeed
editmediawiki/extensions/DisplayTitle
editmediawiki/extensions/DonationInterface
editmediawiki/extensions/DrawioEditor
editmediawiki/extensions/ElectronPdfService
editmediawiki/extensions/EmailAuthorization
editmediawiki/extensions/EventBus
editmediawiki/extensions/FacetedCategory
editmediawiki/extensions/FileExporter
editmediawiki/extensions/FileImporter
editmediawiki/extensions/FlaggedRevs
editmediawiki/extensions/FlickrAPI
editmediawiki/extensions/Forms
editmediawiki/extensions/Gadgets
editmediawiki/extensions/Genealogy
editmediawiki/extensions/GeoData
editmediawiki/extensions/GlobalBlocking
editmediawiki/extensions/GlobalPreferences
editmediawiki/extensions/GlobalWatchlist
editmediawiki/extensions/GrowthExperiments
editmediawiki/extensions/GuidedTour
editmediawiki/extensions/HierarchyBuilder
editmediawiki/extensions/IPReputation
editmediawiki/extensions/IPInfo
editmediawiki/extensions/ImageMapEdit
editmediawiki/extensions/ReportIncident
editmediawiki/extensions/InputBox
editmediawiki/extensions/JSBreadCrumbs
editmediawiki/extensions/BreadCrumbs2
editmediawiki/extensions/Kartographer
editmediawiki/extensions/LabeledSectionTransclusion
editmediawiki/extensions/LDAPAuthentication2
editmediawiki/extensions/LDAPAuthorization
editmediawiki/extensions/LDAPGroups
editmediawiki/extensions/LDAPProvider
editmediawiki/extensions/LDAPUserInfo
editmediawiki/extensions/Lingo
editmediawiki/extensions/LoginNotify
editmediawiki/extensions/Math
editmediawiki/extensions/MathSearch
editmediawiki/extensions/MassMessage
editmediawiki/extensions/MediaModeration
editmediawiki/extensions/MediaUploader
editmediawiki/extensions/MediaWikiChat
editmediawiki/extensions/MediaWikiFarm
editmediawiki/extensions/MediaSearch
editmediawiki/extensions/MissedPages
editmediawiki/extensions/MobileApp
editmediawiki/extensions/NSFileRepo
editmediawiki/extensions/Nuke
editmediawiki/extensions/NumberHeadings
editmediawiki/extensions/OATHAuth
editmediawiki/extensions/OAuth
editmediawiki/extensions/OpenBadges
editmediawiki/extensions/OpenIDConnect
editmediawiki/extensions/PageCheckout
editmediawiki/extensions/PageTriage
editmediawiki/extensions/ParserFunctions
editmediawiki/extensions/ParserMigration
editmediawiki/extensions/PluggableAuth
editmediawiki/extensions/Phonos
editmediawiki/extensions/ReadingLists
editmediawiki/extensions/RealMe
editmediawiki/extensions/RedirectManager
editmediawiki/extensions/RevisionSlider
editmediawiki/extensions/Sanctions
editmediawiki/extensions/Scribunto
editmediawiki/extensions/SectionAnchors
editmediawiki/extensions/SecureAuth
editmediawiki/extensions/SecureLinkFixer
editmediawiki/extensions/SecurePoll
editmediawiki/extensions/SecurityApi
editmediawiki/extensions/Share
editmediawiki/extensions/SimpleCalendar
editmediawiki/extensions/SimpleSAMLphp
editmediawiki/extensions/SocialProfile
editmediawiki/extensions/SpamBlacklist
editmediawiki/extensions/SpecialNamespaces
editmediawiki/extensions/StandardDialogs
editmediawiki/extensions/TemplateData
editmediawiki/extensions/TemplateSandbox
editmediawiki/extensions/TemplateStyles
editmediawiki/extensions/TemplateWizard
editmediawiki/extensions/TheWikipediaLibrary
editmediawiki/extensions/timeline
editmediawiki/extensions/TitleBlacklist
editmediawiki/extensions/TitleIcon
editmediawiki/extensions/TwoColConflict
editmediawiki/extensions/UnifiedTaskOverview
editmediawiki/extensions/UnlinkedWikibase
editmediawiki/extensions/UploadWizard
editmediawiki/extensions/UrlShortener
editmediawiki/extensions/VueTest
editmediawiki/extensions/WebAuthn
editmediawiki/extensions/Wikibase
edit- Hoo man (only commits where at least one of the changed files match /
^client/resources/|^client/includes/DataAccess/|^(client|lib|repo)/includes/UpdateRepo.*
/)
mediawiki/extensions/WikibaseMediaInfo
editmediawiki/extensions/WikiEditor
editmediawiki/extensions/WikiForum
editmediawiki/extensions/WikimediaApiPortalOAuth
editmediawiki/extensions/WikimediaCampaignEvents
editmediawiki/extensions/WikimediaIncubator
editmediawiki/extensions/Wikisource
editmediawiki/extensions/PreToClip
editmediawiki/extensions/ProofreadPage
edit- Sohom Datta (only commits where at least one of the changed files match /
^(modules/|tests/selenium|tests/qunit)
/)
mediawiki/extensions/Wikispeech
editmediawiki/extensions/WikispeechSpeechDataCollector
editmediawiki/extensions/Workflows
editmediawiki/extensions/TableTools
editmediawiki/extensions/VueJsPlus
editmediawiki/extensions/BlueSpiceWikiFarm
editmediawiki/extensions/AIEditingAssistant
editmediawiki/extensions/CollabPads
editmediawiki/extensions/NotifyMe
editmediawiki/libs/IPAValidator
editmediawiki/libs/phpstorm-stubs
editmediawiki/php/luasandbox
editmediawiki/php/wikidiff2
editmediawiki/services/citoid
editmediawiki/services/citoid/deploy
editmediawiki/services/cxserver
editmediawiki/services/mathoid
editmediawiki/services/mobileapps
editmediawiki/services/ocg-collection
editmediawiki/services/trending-edits
editmediawiki/services/wikifeeds
editmediawiki/services/eventstreams
editmediawiki/services/eventstreams/deploy
editmediawiki/skins
editmediawiki/skins/BlueSpiceSkin
editmediawiki/skins/Foreground
editmediawiki/skins/Metrolook
editmediawiki/skins/MinervaNeue
editmediawiki/skins/Vector
editmediawiki/skins/WikimediaApiPortal
editmediawiki/ruby/api
editmediawiki/selenium
editmediawiki/tools/cli
editmediawiki/tools/codesniffer
editmediawiki/vagrant
edit- Dduvall
- Gergő Tisza
- ejegg (only commits where at least one of the changed files match /
^puppet/modules/(crm|payments|smashpig)
/) - XenoRyet (only commits where at least one of the changed files match /
^puppet/modules/(crm|payments|smashpig)
/) - jgleeson (only commits where at least one of the changed files match /
^puppet/modules/(crm|payments|smashpig)
/) - cstone (only commits where at least one of the changed files match /
^puppet/modules/(crm|payments|smashpig)
/) - Xcollazo (only commits where at least one of the changed files match /
^puppet/modules/dumps
/) - jebe (only commits where at least one of the changed files match /
^puppet/modules/dumps
/) - milimetric (only commits where at least one of the changed files match /
^puppet/modules/dumps
/)
mediawiki/vendor
edit- Gergő Tisza (only commits where at least one of the changed files match /
^psy/psysh/
/)
wikimedia/discovery/relevanceForge
editwikimedia/discovery/discernatron
editwikimedia/fundraising/crm
editwikimedia/fundraising/crm/civicrm
editwikimedia/fundraising/crm/drupal
editwikimedia/fundraising/dash
editwikimedia/fundraising/FRUEC
editwikimedia/fundraising/php-queue
editwikimedia/fundraising/process-control
editwikimedia/fundraising/SmashPig
editwikimedia/fundraising/stats
editwikimedia/fundraising/tools
editwikimedia/fundraising/tools/DjangoBannerStats
editoperations/cookbooks
editoperations/debs/wmf-certificates
editoperations/debs/debdeploy
editoperations/debs/pybal
editoperations/deployment-charts
edit- bd808 (only commits where at least one of the changed files match /
^(helmfile\.d/services|charts)/(developer-portal|toolhub)
/) - Urbanecm (only commits where at least one of the changed files match /
^(helmfile\.d/services|charts)/linkrecommendation/
/)
operations/dns
editoperations/docker-images/docker-pkg
editoperations/homer/public
editoperations/puppet
edit- bd808 (only commits where at least one of the changed files match /
^modules/toollabs/|^hieradata/labs/tools/
/) - Filippo Giunchedi (only commits where at least one of the changed files match /
^.*icinga.*
/) - bblack (only commits where at least one of the changed files match /
^modules/(authdns|pybal|lvs|nginx|tlsproxy|varnish|sslcert)/|^modules/role/manifests/(cache|lvs)/|^manifests/role/(authdns|lvs|tlsproxy)\.pp|^files/ssl/|^templates/varnish/
/) - Volans (only commits where at least one of the changed files match /
(\.py(\.erb)?$|cumin|failoid|debmonitor|spicerack|cookbook|netbox|homer|puppetboard|reimage)
/) - Giuseppe Lavagetto (only commits where at least one of the changed files match /
^hieradata/regex.yaml|^modules/(mediawiki|service|httpd|php|etcd)
/) - Muehlenhoff (only commits where at least one of the changed files match /
^modules/admin/
/) - Slyngshede (only commits where at least one of the changed files match /
modules/admin|apereo_cas/
/) - Alexandros Kosiaris (only commits where at least one of the changed files match /
^modules/(calico|docker|k8s|profile/kubernetes|etherpad|ferm|ganeti|lvs|network|ores|otrs|package_builder|service)
/) - paladox (only commits where at least one of the changed files match /
^modules/(gerrit|phabricator)
/) - Pppery (only commits where at least one of the changed files match /
^(modules/ncredir/files/nc_redirects.dat|modules/mediawiki/files/apache/sites/redirects)
/) - Xcollazo (only commits where at least one of the changed files match /
^modules/(dumps|snapshot)/|^modules/(profile|role)/manifests/dumps/
/) - jebe (only commits where at least one of the changed files match /
^modules/(dumps|snapshot)/|^modules/(profile|role)/manifests/dumps/
/) - Ssingh (only commits where at least one of the changed files match /
^modules/(auditd|dnsdist|dnsrecursor)|^modules/(profile|role)/*/(wikidough|durum|dnsbox)
/) - Legoktm (only commits where at least one of the changed files match /
^modules/(extdist|codesearch|libraryupgrader|mailman|mailman3)/
/) - Cwhite (only commits where at least one of the changed files match /
(opensearch|logstash)
/) - dcaro (only commits where at least one of the changed files match /
^modules/(toollabs|openstack|ceph)/|^hieradata/labs/tools/|^modules/(profile|role)/*/(toolforge|openstack|toollabs|labs)|modules/base/*/standard_packages/
/) - Hoo man (only commits where at least one of the changed files match /
^modules/snapshot/(files/systemdjobs/wikibase|manifests/systemdjobs/(wiki(base|data).*\.pp|wikidatadumps/))
/) - Dr0ptp4kt (only commits where at least one of the changed files match /
(filtered_tables\.txt|realm\.pp|index-conf\.yaml|maintain-views\.yaml)$
/) - Dzahn (only commits where at least one of the changed files match /
/^modules/(gerrit|phabricator|wikistats|planet|vrts|etherpad|gitlab|requesttracker|releases|contint|)/|^modules/(profile|role)/manifests/(gerrit|phabricator|planet|wikistats|vrts|etherpad|gitlab|requesttracker|releases|ci|miscweb|microsites|stewards|collaboration_services|aphlict)
/)
operations/puppet/cdh
editoperations/puppet/cdh4
editoperations/puppet/kafka
editoperations/puppet/zookeeper
editoperations/mediawiki-config
edit- Hoo man (only commits where at least one of the changed files match /
^wmf-config/Wikibase\.php
/)
operations/software
editoperations/software/conftool
editoperations/software/cumin
editoperations/software/debmonitor
editoperations/software/debmonitor/deploy
editoperations/software/debmonitor-client
editoperations/software/ecs
editoperations/software/external-monitoring
editoperations/software/homer
editoperations/software/keyholder
editoperations/software/netbox
editoperations/software/netbox-deploy
editoperations/software/netbox-extras
editoperations/software/pywmflib
editoperations/software/spicerack
editoperations/software/tools-webservice
editoperations/software/varnish/varnishkafka
editoperations/switchdc
editlabs/codesearch
editlabs/icinga2
editlabs/libraryupgrader
editlabs/toollabs
editlabs/tools/awmd-stats
editlabs/tools/Commons-twitter-bot
editlabs/tools/extjsonuploader
editlabs/tools/watch-translations
editlabs/tools/wikibugs2
editlabs/tools/wikisource-ocr
editlabs/tools/map-of-monuments
editlabs/tools/massmailer
editlabs/tools/meetingtimes
editlabs/tools/wikinity
editlabs/tools/weapon-of-mass-description
editlabs/tools/commons-mass-description
editlabs/tools/harvesting-data-refinery
editlabs/tools/heritage
editlabs/tools/sonarqubebot
editlabs/tools/urbanecmbot
editlabs/tools/train-blockers
editlabs/tools/github-pr-closer
editlabs/tools/majavah-bot
editmaps/kartotherian/package
editmaps/kartotherian/deploy
editmaps/tilerator/package
editmaps/tilerator/deploy
editsink_nova_ldap
editsink_nova_fixed_multi
editapps/android/java-mwapi
editapps/android/wikipedia
editpywikibot/bots/FLOSSbot
editpywikibot/spelling
editpywikibot/compat
editanalytics/aqs
editanalytics/gobblin-wmf
editanalytics/quarry/web
editanalytics/refinery
editanalytics/refinery/source
editanalytics/wikihadoop
editanalytics/limn-mobile-data
editwikidata/query/rdf
editwikidata/query/deploy
editwikidata/query/gui
editwikidata/query/gui-deploy
editwikimedia/css-sanitizer
editwikimedia/normalized-exception
editwikimedia/textcat
editintegration/commit-message-validator
editwikimedia/portals
editwikimedia-cz/tracker
editwikimedia-event-utilities
editlabs/tools/stewardbots
editlabs/tools/stewardbots-ui
editlabs/tools/ZppixBot
editeventlogging
editwmf-utils
editwikimedia/security/tooling
editresearch/recommendation-api
editresearch/mwaddlink
editwikimedia/toolhub
editdesign/codex
editwikimedia/developer-portal
editmediawiki/extensions/Chart
editmediawiki/extensions/Wikistories
editcloud/toolforge/toolforge-cli
editcloud/toolforge/toolforge-build-cli
editcloud/toolforge/toolforge-build-api
editcloud/toolforge/buildpacks
editreleng/phatality
editphabricator/antivandalism
editphabricator/translations
editListen to GitLab repository groups
editProjects are matched based on unix filename matching as implemented in the fnmatch module. The idea is to set a file_regexp, which filters changesets by changed files instead of repository.
*
edit- thcipriani (only commits where at least one of the changed files match /
scap/scap\.cfg
/)