Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orion-dev] Contributing

When submitting a patch, it doesn't matter where the repo was cloned from -- whether you used git.eclipse.org, or forked it on Github, both are fine. The important thing is the remote URL you push to. Assuming you're submitting a patch for orion.client, the remote URL should be this:

ssh://yourGerritUsername@xxxxxxxxxxxxxxx:29418/orion/org.eclipse.orion.client.git

I have used that URL as my `origin`, so to submit a patch for review, I run this:

git push origin HEAD:refs/for/master

If your `origin` remote has a different URL -- because you cloned from Github, for example -- then you would just add your Gerrit URL as another remote:

… and then push to that remote when submitting a patch for review:

git push orion_gerrit HEAD:refs/for/master

Mark


On Mon, May 4, 2015 at 1:00 PM, Joshua Wilson <javajoshw@xxxxxxxxx> wrote:
I have a question about contributing to Orion.

At first I read https://wiki.eclipse.org/Development_Resources/Contributing_via_Git#Contributing_a_patch which says to use git.eclipse.org and "Then you can simply push new patches to Gerrit using git push gerrit HEAD:refs/for/master."

Then I read at https://wiki.eclipse.org/Orion/Contributing_Code#Commit_your_changes to use Github. Then to push to gerrit.

So my question is this. As a non-committer can I use git.eclipse.org as my origin and push to gerrit or do I need to use github and fork/clone then push to gerrit?

Thanks,
Joshua Wilson

_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/orion-dev


Back to the top