New issue
Advanced search Search tips

Issue 725839 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: ----
Type: ----



Sign in to add a comment

Credentials issue trying to upload CL

Project Member Reported by perezju@chromium.org, May 24 2017

Issue description

What steps will reproduce the problem?


$ cd $SCR/third_party/catapult/
$ git config gerrit.host true
$ git cl upload

What is the expected result?

cl uploaded!

What happens instead?

Credentials for the following hosts are required:
  
These are read from /usr/local/google/home/perezju/.gitcookies (or legacy /usr/local/google/home/perezju/.netrc)
You can (re)generate your credentials by visiting https://-review/new-password

---

Also the error message is not very helpful.
 

Comment 1 by aga...@chromium.org, May 25 2017

Status: WontFix (was: Unconfirmed)
I'm so glad that people are filing bugs about gerrit being unavailable for certain repos!

But remember that catapult is hosted on GitHub. GitHub and Gerrit are both code review systems *and* hosting providers, and they can't push reviewed changes into the other hosting system.

We'd like to be able to support gerrit review for catapult eventually (https://bugs.chromium.org/p/chromium/issues/detail?id=726410) but for now, GitHub repos are on their own.
Thanks, that's what I figured out after poking a bit around. Still:

1. "git cl upload" should probably _not_ suggest me to try gerrit on repositories that don't support it. (That's why I ended up trying this, and why I thought it might work.)

2. Even if for whatever reason I ended up trying this on an unsupported repo, the error message could have been a lot more clear!

Sign in to add a comment