commit | bd8f658823059a4b5998bea283342f80ae94e4df | [log] [tgz] |
---|---|---|
author | Vadim Bendebury <vbendeb@chromium.org> | Wed Oct 31 13:48:01 2018 -0700 |
committer | Vadim Bendebury <vbendeb@google.com> | Mon Nov 05 14:01:05 2018 -0800 |
tree | ea6ce3a06b93903f7e2ba5d139bab2c3399f179a | |
parent | 713c5872fb54c8094c0f5fa1523388efd81517cc [diff] |
Add option for git-repo to support 'silent' uploads When --ne/--no-emails is added to 'repo upload' command line, gerrit server will not generate notification emails. project.py:Project.UploadForReview method is modified to accept a string recognizable by gerrit to indicate different sets of destination email addressees, but the upload command line allows only one option - disable sending emails completely. Default repo upload behavior is not being changed. TEST=tried in the Chrome OS repo, observed that patches uploaded with --ne or --no-emails indeed do not trigger any emails, while patches uploaded without these command line options still trigger email notifications. Change-Id: I0301edec984907aedac277d883bd0e6d3099aedc
Repo is a tool built on top of Git. Repo helps manage many Git repositories, does the uploads to revision control systems, and automates parts of the development workflow. Repo is not meant to replace Git, only to make it easier to work with Git. The repo command is an executable Python script that you can put anywhere in your path.