My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 2420: Replication fails to create new repository on remote during replication
1 person starred this issue and may be notified of changes. Back to list
Status:  Released
Owner:  ----
Closed:  Jan 2014
Cc:  edwin.ke...@gmail.com


Sign in to add a comment
 
Project Member Reported by david.pu...@sonymobile.com, Jan 23, 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: 2.8.1

What steps will reproduce the problem?
1. New project is created on master.
2. New remote is added to replication config, the 'create new projects option' is enabled.  The new remote does not have the project.
3. Replication fails to create the new project.

What is the expected output? What do you see instead?

If a new project is created while remotes are available, the new project is created on the remote as expected.

When replicating refs to a remote where the project does not exist, replication fails to create it on the remote.

RemoteRepositoryException is raised with 'access denied or repository not exported', instead of NoRemoteRepositoryException.  This means that the repository is never created on the remote.

Jan 24, 2014
Project Member #1 david.pu...@sonymobile.com
It fails when the remote is configured with an anonymous git://  url.  If the remote repository does not exist, the push fails with RemoteRepositoryError and therefore it does not reach the code where the new repository is created on the remote.

It works as expected when ssh:// is used.

We have prototyped a fix that seems to work.  Will upload for review on Monday after more testing.
Jan 26, 2014
Project Member #2 david.pu...@sonymobile.com
https://gerrit-review.googlesource.com/54050
Status: ChangeUnderReview
Jan 28, 2014
Project Member #3 edwin.ke...@gmail.com
(No comment was entered for this change.)
Status: Submitted
Labels: FixedIn-2.8.2
Mar 11, 2014
Project Member #4 david.pu...@sonymobile.com
(No comment was entered for this change.)
Status: Released
Sign in to add a comment

Powered by Google Project Hosting