My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 2400: Replication: Existing tags not replicated after adding refs/tags/* in replication config and reloading the plugin
2 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


Sign in to add a comment
 
Project Member Reported by david.pu...@sonymobile.com, Jan 16, 2014
************************************************************
***** NOTE: THIS BUG TRACKER IS FOR GERRIT CODE REVIEW *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, INTERNAL *****
***** ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.    *****
***** THOSE ISSUE BELONG IN DIFFERENT ISSUE TRACKERS!  *****
************************************************************

Affected Version: master

What steps will reproduce the problem?
1. Setup replication of a project with only replication of the master branch, i.e.

  push = +refs/heads/master:refs/heads/master

2. Push a tag v0.0.1 to the project.  This tag will not be replicated, since we have not configured replication of tags.

3. Add configuration to replicate tags:

  push = +refs/tags/*:refs/tags/*

4. Restart the replication plugin with `ssh -p 29418 user@review gerrit plugin reload replication`

5. Push another tag v0.0.2 to the project.
What is the expected output? What do you see instead?

Actual:  Tag v0.0.2 is replicated after is is pushed.  Tag v0.0.1 is not replicated until Gerrit is restarted.

Expected: Tag v0.0.1 replicated when the plugin reloads, and then v0.0.2 replicated after it is pushed.

Please provide any additional information below.

Sign in to add a comment

Powered by Google Project Hosting