RETIRED, Gerrit as used by OpenStack
Go to file
Bruce Zu f6159bed86 Fix: Permission.PUSH_MERGE checking for push bypassing Gerrit
Gerrit always check Permission.PUSH_MERGE on branches
starting with 'refs/for' even for the push bypassing
Gerrit, e.g. creating a new branch using a merge with
command like:
   git push origin   <merge-sha1>:refs/heads/<new-branch-name>
As this is not for review, the `Push Merge` is expected
to exist on 'refs/heads/<new-branch-name>', not on
'refs/for/refs/heads/<new-branch-name>'.

This commit fix it to avoid user confusion when granting
access to 'refs/heads/*' doesn't allow them to push
directly any merge commits bypassing the code review.

Issue: 1072
Change-Id: Ib76d72a3d6435429b14f696f2833ca5cd847ba63
2013-09-25 09:57:05 +08:00
.settings Suppress Eclipse warning "annotation should not be used as a superinterface" 2013-05-10 10:31:19 -07:00
contrib Add bash completion script for gerrit.sh 2013-08-22 16:18:42 +09:00
Documentation Fix: Permission.PUSH_MERGE checking for push bypassing Gerrit 2013-09-25 09:57:05 +08:00
gerrit-acceptance-tests Add acceptance tests to test submit with different submit types 2013-09-24 16:08:49 +02:00
gerrit-antlr Set version to 2.7 2013-09-18 13:05:11 -07:00
gerrit-cache-h2 Set version to 2.7 2013-09-18 13:05:11 -07:00
gerrit-common ChangeScreen2: add Gerrit config and user preference 2013-09-24 12:33:47 -07:00
gerrit-extension-api Set version to 2.7 2013-09-18 13:05:11 -07:00
gerrit-gwtdebug Set version to 2.7 2013-09-18 13:05:11 -07:00
gerrit-gwtexpui Set version to 2.7 2013-09-18 13:05:11 -07:00
gerrit-gwtui Merge changes I340efe7f,I7fdccee7 2013-09-24 19:36:11 +00:00
gerrit-httpd ChangeScreen2: add Gerrit config and user preference 2013-09-24 12:33:47 -07:00
gerrit-launcher Set version to 2.7 2013-09-18 13:05:11 -07:00
gerrit-lucene Index full sortkey field in secondary index 2013-09-24 12:48:21 -07:00
gerrit-main Set version to 2.7 2013-09-18 13:05:11 -07:00
gerrit-openid Set version to 2.7 2013-09-18 13:05:11 -07:00
gerrit-patch-commonsnet Set version to 2.7 2013-09-18 13:05:11 -07:00
gerrit-patch-jgit Set version to 2.7 2013-09-18 13:05:11 -07:00
gerrit-pgm Fix acceptance test invocation from Eclipse 2013-09-20 11:17:21 +02:00
gerrit-plugin-api Set version to 2.7 2013-09-18 13:05:11 -07:00
gerrit-plugin-archetype Set version to 2.7 2013-09-18 13:05:11 -07:00
gerrit-plugin-gwt-archetype Set version to 2.7 2013-09-18 13:05:11 -07:00
gerrit-plugin-gwtui Set version to 2.7 2013-09-18 13:05:11 -07:00
gerrit-plugin-js-archetype Set version to 2.7 2013-09-18 13:05:11 -07:00
gerrit-prettify Set version to 2.7 2013-09-18 13:05:11 -07:00
gerrit-reviewdb ChangeScreen2: add Gerrit config and user preference 2013-09-24 12:33:47 -07:00
gerrit-server Fix: Permission.PUSH_MERGE checking for push bypassing Gerrit 2013-09-25 09:57:05 +08:00
gerrit-solr Index full sortkey field in secondary index 2013-09-24 12:48:21 -07:00
gerrit-sshd Merge branch 'stable-2.7' 2013-09-18 13:13:29 -07:00
gerrit-util-cli Set version to 2.7 2013-09-18 13:05:11 -07:00
gerrit-util-ssl Set version to 2.7 2013-09-18 13:05:11 -07:00
gerrit-war Set version to 2.7 2013-09-18 13:05:11 -07:00
lib Revert "BUCK: fix Implementation-Version in replication plugin" 2013-09-21 02:49:23 +00:00
plugins Update replication plugin to latest revision 2013-09-24 15:26:55 +09:00
ReleaseNotes Remove 2.6.2 release notes from release notes index 2013-09-24 19:10:12 +09:00
tools Create buck.properties during tools/eclipse/project.py 2013-09-24 12:27:31 -07:00
website/releases Use new cached URL for Diffy logo on releases page 2013-09-09 15:18:08 -07:00
.buckconfig Update Buck to latest master 2013-09-20 19:41:26 -07:00
.buckversion Update Buck to latest master 2013-09-20 19:41:26 -07:00
.gitignore Add org.eclipse.ltk.core.refactoring.prefs to .gitignore 2013-07-11 18:02:25 +09:00
.gitmodules Replace helloworld plugin with cookbook plugin 2013-08-13 11:41:58 +09:00
.pydevproject Set python version back to 2.6.5 in .pydevproject 2013-05-20 11:36:08 +09:00
BUCK Update Buck to latest master 2013-09-20 19:41:26 -07:00
COPYING Initial project setup of Gerrit 2 2008-11-14 16:59:34 -08:00
INSTALL Remove Gerrit 1.x to 2.x import tools 2009-03-27 20:20:10 -07:00
SUBMITTING_PATCHES Update push URL in SUBMITTING_PATCHES 2012-03-29 00:57:14 -04:00
VERSION Cleanup maven_deploy, maven_install build rules 2013-07-29 14:05:26 -07:00