commit | 0c14990f6d11801d285092aff50e1ffefcbd8d9c | [log] [tgz] |
---|---|---|
author | Hugo Arès <hugo.ares@ericsson.com> | Thu Apr 17 08:35:16 2014 -0400 |
committer | Hugo Arès <hugo.ares@ericsson.com> | Thu Jun 19 10:33:52 2014 -0400 |
tree | 865249efd5d665bc1fb073cc2939164b3a75b56f | |
parent | 572d542b3d8763e036cd039408482052dff29c3b [diff] |
Add UploadValidationListener extension point. Add pre-upload extension point to allow plugins to validate upload operations right before Gerrit begins to send a pack back to the git client. A plugin can interrupt the upload by throwing an exception which will cause the upload to fail and the exception’s message text will be reported to the git client. For example, a plugin may want to deny fetches for a specific project. Change-Id: I5d0aeac51b83bf14150fa3036f71965cf2051243