RETIRED, Gerrit as used by OpenStack
Go to file
David Ostrovsky 913cc07299 ReceiveCommits: Add support for approvals
Add -l option to magic branch to pass approvals through git push.

One use case is to support Work In Progress (WIP) Workflow backed by
WIP label. In this scenario new label is introduced with (-1,0) range
to mark a change as WIP. This change allows to optionally mark a new
patch set as WIP through `git push`.

With configuration of push macro in .git/config:
  git config remote.wip.url ssh://review.example.com:29418/project
  git config remote.wip.push HEAD:refs/for/master%l=wip-1

WIP patch set can be uploaded with:
  git push wip

Another use case is to do %l=Verified+1 if a change was compiled and
tested locally, e.g.:

  git config alias r '! buck build gerrit && buck test --all && \\
  git push gerrit-review HEAD:refs/for/master%l=Verified+1'

Then all these can be done in one step - compile, run tests and push to
review:

  git r

Change-Id: I52a67993952f32f8a04d9c0226f1c456a6f522b4
2014-05-08 17:08:44 -07:00
.settings Eclipse: Bump java source and target level to 7 2013-11-29 00:15:50 +01:00
contrib Fix documentation and add license header for reposize.sh 2014-04-29 13:26:43 +02:00
Documentation Merge "Add REST endpoint to create empty change" 2014-05-07 00:34:47 +00:00
gerrit-acceptance-tests ReceiveCommits: Add support for approvals 2014-05-08 17:08:44 -07:00
gerrit-antlr Remove unused .gitignore 2013-11-28 22:56:51 -08:00
gerrit-cache-h2 Apply "type inference for generic instance creation" Java 7 feature 2014-04-26 15:27:57 +02:00
gerrit-common Add 'My' > 'Groups' menu entry that shows list of own groups 2014-04-29 13:52:54 +02:00
gerrit-extension-api Merge "Update Buck" 2014-05-05 12:33:31 +00:00
gerrit-gwtdebug Prevent StackOverflowError in JettyTreeLogger 2014-02-07 12:54:18 +00:00
gerrit-gwtexpui Update Buck 2014-05-04 12:54:17 +02:00
gerrit-gwtui Merge branch 'stable-2.9' 2014-05-01 13:03:43 -07:00
gerrit-gwtui-common Update Buck 2014-05-04 12:54:17 +02:00
gerrit-httpd Update Buck 2014-05-04 12:54:17 +02:00
gerrit-launcher Apply "type inference for generic instance creation" Java 7 feature 2014-04-26 15:27:57 +02:00
gerrit-lucene Merge branch 'stable-2.9' 2014-04-14 12:11:12 -07:00
gerrit-main Build Main for Java 1.2 2013-11-30 01:53:00 -08:00
gerrit-openid Update Buck 2014-05-04 12:54:17 +02:00
gerrit-patch-commonsnet Replace 'for' loop with 'foreach' 2013-12-04 01:02:53 +04:00
gerrit-patch-jgit Apply "type inference for generic instance creation" Java 7 feature 2014-01-25 17:51:08 +01:00
gerrit-pgm Update Buck 2014-05-04 12:54:17 +02:00
gerrit-plugin-api Remove unnecessary reference to $SRCDIR in Buck genrules 2014-03-26 18:20:13 -07:00
gerrit-plugin-archetype Bump version to 2.8.4 in plugin API and archetypes 2014-03-26 18:01:33 -07:00
gerrit-plugin-gwt-archetype Apply "type inference for generic instance creation" Java 7 feature 2014-04-26 15:27:57 +02:00
gerrit-plugin-gwtui Update Buck 2014-05-04 12:54:17 +02:00
gerrit-plugin-js-archetype Bump version to 2.8.4 in plugin API and archetypes 2014-03-26 18:01:33 -07:00
gerrit-prettify Apply "type inference for generic instance creation" Java 7 feature 2014-04-26 15:27:57 +02:00
gerrit-reviewdb Merge "Add support for SAP MaxDB" 2014-05-02 17:44:07 +00:00
gerrit-server ReceiveCommits: Add support for approvals 2014-05-08 17:08:44 -07:00
gerrit-solr Merge changes Iac79af54,Ief41eccc,Iae52ade9,I0bd9eabb,I2ef5b9e1 2014-02-13 17:02:23 +00:00
gerrit-sshd Update Buck 2014-05-04 12:54:17 +02:00
gerrit-util-cli ReceiveCommits: Add support for approvals 2014-05-08 17:08:44 -07:00
gerrit-util-ssl Remove unused .gitignore 2013-11-28 22:56:51 -08:00
gerrit-war Update Buck 2014-05-04 12:54:17 +02:00
lib Update Apache Velocity to 1.7 2014-05-05 15:20:28 -07:00
plugins Update replication plugin to fix test build failure 2014-05-05 15:33:05 -07:00
ReleaseNotes Merge branch 'stable-2.8' into stable-2.9 2014-04-11 22:09:14 +09:00
tools Update Buck 2014-05-04 12:54:17 +02:00
website/releases Exclude gerrit-snapshot-* from releases page 2014-02-19 05:56:00 +00:00
.buckconfig Buck: Add aliases for popular browsers 2014-03-27 01:20:35 +00:00
.buckversion Update Buck 2014-05-04 12:54:17 +02:00
.gitignore Ignoring vi swap file 2014-04-25 18:40:35 +01:00
.gitmodules Add singleusergroup plugin 2013-11-09 07:45:00 +01:00
.pydevproject Set python version back to 2.6.5 in .pydevproject 2013-05-20 11:36:08 +09:00
BUCK Merge branch 'stable-2.9' 2014-05-01 13:48:59 -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 Bump VERSION to 2.10-SNAPSHOT 2014-03-18 14:45:46 +09:00