New issue
Advanced search Search tips
Starred by 3 users

Issue metadata

Status: Released
Owner: ----
Closed: Feb 2015



Sign in to add a comment

gerrit's create-project ssh command returns "Project Not Found" even if the project is created

Reported by jla...@gmail.com, Jan 30 2015

Issue description

*****************************************************************
*****                                                       *****
***** !!!! THIS BUG TRACKER IS FOR GERRIT CODE REVIEW !!!!  *****
*****                                                       *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, CYANOGENMOD,  *****
***** INTERNAL ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.*****
*****                                                       *****
*****   THOSE ISSUES BELONG IN DIFFERENT ISSUE TRACKERS     *****
*****                                                       *****
*****************************************************************

Affected Version: 2.10 and 2.10-rc2, works fine in 2.9.*

What steps will reproduce the problem?

$ ssh gerrit-server gerrit create-project android/vendor/abc/common.git

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

Expected output - No error
What I see - fatal: Cannot create project: Project Not Found: android/vendor/abc/common.git, but the project is created.

Please provide any additional information below.

Create a project on gerrit server using ssh command:
$ ssh gerrit-server gerrit create-project android/vendor/abc/common.git
fatal: Cannot create project: Project Not Found: android/vendor/abc/common.git
$ git clone ssh://gerrit-server/android/vendor/abc/common.git
Cloning into 'common'...
Checking connectivity... done.
warning: remote HEAD refers to nonexistent ref, unable to checkout.
$
 
Status: Accepted
Reproduced on master.
It only happens if the ".git" suffix is added on the name of the project.

Status: ChangeUnderReview
https://gerrit-review.googlesource.com/#/c/64012/
Project Member

Comment 4 by edwin.ke...@gmail.com, Feb 3 2015

Labels: FixedIn-2.11
Status: Submitted
Status: Released

Sign in to add a comment