jruesga / rview

A Gerrit client application for Android
Apache License 2.0
66 stars 21 forks source link

repositories: Add fuchsia-review #3

Closed SferaDev closed 8 years ago

SferaDev commented 8 years ago

DO NOT MERGE

There're some issues in the Wizard when logging in. Seems the fuchsia gerrit instance doesn't have an authenticated check of the version (/a/config/server/version) and it provides a 403. I imagine a failcheck to an alternative auth method would be necessary for it to work.

jruesga commented 8 years ago

SferaDev, it's just an "invalid user or password" problem. I'm able to login into Fuchsia gerrit server.

In the Configure Git instructions that Google presents to you on the Obtain Password option, localize the and values:

touch ~/.gitcookies
chmod 0600 ~/.gitcookies

git config --global http.cookiefile ~/.gitcookies

tr , \\t <<\__END__ >>~/.gitcookies
.googlesource.com,TRUE,/,TRUE,2147483647,o,git-<USER>.gmail.com=<PASSWORD>
__END__

Now, looks like the user is the full "git-USER.gmail.com" (previously when i tested it just was ). I'm not sure if they chaged this recently.

Try with both. One of those "userid" should work :)

Let me know if you want still to merge the fuchsia url into the predefined list (seems ok to me).