Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] Unable to contribute to Mars... very frustrated

Yeah, that caught me for a while the first time too.

If you push directly to the master branch, it goes straight in without going through the Gerrit review part. In that case Gerrit is just an over-engineered git server.

You only see it in Gerrit if you push to gerrit, I.e. refs/for/master, in which case, it’ll show up in your list of Changes on gerrit.eclipse.org.

Doug.

From: Konstantin Komissarchik <konstantin.komissarchik@xxxxxxxxxx>
Reply-To: Cross project issues <cross-project-issues-dev@xxxxxxxxxxx>
Date: Tuesday, May 5, 2015 at 4:21 PM
To: 'Cross project issues' <cross-project-issues-dev@xxxxxxxxxxx>
Subject: Re: [cross-project-issues-dev] Unable to contribute to Mars... very frustrated

Thanks, Doug! The “save private key” button was the magic step that I was missing.

 

Now I am able to fetch the repo and push my change, but I am not done yet, am I? I need to go somewhere to monitor and approve it now?

 

- Konstantin

 

 

From: cross-project-issues-dev-bounces@xxxxxxxxxxx [mailto:cross-project-issues-dev-bounces@xxxxxxxxxxx] On Behalf Of Doug Schaefer
Sent: Tuesday, May 05, 2015 1:08 PM
To: Cross project issues
Subject: Re: [cross-project-issues-dev] Unable to contribute to Mars... very frustrated

 

Yeah, the key on Windows is to make sure the SSH2 home on the General tab points to some where useful, like C:\Users\dschaefer\.ssh, and that you click the Save Private Key button to save it there.

 

From: Mickael Istria <mistria@xxxxxxxxxx>
Reply-To: Cross project issues <cross-project-issues-dev@xxxxxxxxxxx>
Date: Tuesday, May 5, 2015 at 4:00 PM
To: "cross-project-issues-dev@xxxxxxxxxxx" <cross-project-issues-dev@xxxxxxxxxxx>
Subject: Re: [cross-project-issues-dev] Unable to contribute to Mars... very frustrated

 

On 05/05/2015 09:48 PM, Konstantin Komissarchik wrote:

> Have you uploaded your SSH key to Gerrit ? https://wiki.eclipse.org/Gerrit#SSH_Keys

 

It would require having such a key in the first place. I understand the theory of it and I’ve seen tools to gen key pairs, but I don’t know where I am supposed to stash the private key, for instance so that it will hookup with the public key on Gerrit.

If you have your keys generated with openssh, they are put in the regular ~/.ssh folder, which Eclipse and EGit will use. So just generating the keys should be enough.


> Did you try to use HTTPS instead ? https://wiki.eclipse.org/Gerrit#Git_over_HTTPS

 

Yep. Tried this URL:

https://kkomissarchik@xxxxxxxxxxxxxxx/r/p/simrel/org.eclipse.simrel.build.git

Getting “not authorized” when trying to push.

Ok, that's not a very helpful error message.
Is this URL the same as the one you see in https://git.eclipse.org/r/#/admin/projects/simrel/org.eclipse.simrel.build when selecting HTTP ?  Gerrit had an issue with some users in the past, creating different Gerrit users for the same account.

--
Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets


Back to the top