[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [paho-dev] Paho and Gerrit
|
Dear all,
Gerrit is now enabled for the Paho Python module, so everything in
Al's email now applies to it as well.
Cheers,
Roger
On Fri, Dec 6, 2013 at 5:36 PM, Al Stockdill-Mander <asm@xxxxxxxx> wrote:
> As Ian Craggs mentioned a couple of days ago Gerrit has been enabled on the
> Java and C git repositories and while the eclipse web page has some great
> information I thought a mail about why we're doing this and some of the
> specifics for Paho would be useful.
>
> On the why, this makes it a lot easier for people to contribute their
> patches/idea/code. Having cloned the git repository you make your changes,
> git commit and git push them back (after having already signed up to eclipse
> and signed the CLA). That's it, no producing patch files and uploading them
> to bugs, and from the committers' side we get an easy to use web interface
> that allows us to review and accept the changes in context without having to
> try and apply the patch files to our local code (which may already have
> other changes in).
>
> The new git URLs for Gerrit access for the Java and C client respectively
> are;
>
> ssh://<username>@git.eclipse.org:29418/paho/org.eclipse.paho.mqtt.java
> https://<username>@git.eclipse.org/r/paho/org.eclipse.paho.mqtt.java
>
> ssh://<username>@git.eclipse.org:29418/paho/org.eclipse.paho.mqtt.c
> https://<username>@git.eclipse.org/r/paho/org.eclipse.paho.mqtt.c
>
> depending on your access preferences
>
> There is a section in the eclipse doc on adding a dedicated remote for
> review, I recommend doing this. As an example;
>
> git config remote.review.url
> ssh://<username>@git.eclipse.org:29418/paho/org.eclipse.paho.mqtt.java
> git config remote.review.push HEAD:refs/for/master
>
> would setup a remote called review which would be for changes to the master
> branch, if you were working on the develop branch instead you would run;
>
> git config remote.review.push HEAD:refs/for/develop
>
> Once your changes and made and committed running git push review will send
> them to Gerrit for review.
>
> There is a section in the eclipse document "Install the commit-msg hook in
> your repository" I recommend doing this as it automatically inserts
> Change-Ids into your commits which allows you amend commits and have Gerrit
> track them as the same change.
>
> Even if you're not sure that you have something to add now if you have a
> local git copy of either client please update your git URLs.
>
> Thanks,
>
> Al
> _______________________________________________
> paho-dev mailing list
> paho-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/paho-dev