On 11 October 2011 13:40, Spencer Oliver <[email protected]> wrote:
> Hi,
>
> We are now testing Gerrit for use within OpenOCD.
> A Gerrit server has been setup at the following url:
> http://openocd.zylin.com/
>
> To keep loading down on the server clone as usual:
> git clone git://openocd.git.sourceforge.net/gitroot/openocd/openocd for 
> example
>
> The change happens we want to submit a patch for review.
> Create a account on the Gerrit server above - make sure email matches git 
> email.
> Add a new remote to git using Gerrit username
> git remote add review ssh://[email protected]:29418/openocd.git
> git config remote.review.push HEAD:refs/for/master
>
> It is advised to keep each patch in its own branch.
> Once you are happy with the usual git add git commit we are ready to
> commit to the review server
> git push review
>
> The patch will be reviewed and hopefully committed to git.
> I will try and put up a page on the website.
>
> Cheers
> Spen
>

One addition i forgot to mention.
Gerrit uses a Change-Id to track the change, thsi is generated client
side using a hook.

You will need to install this hook, we will look into a better solution
scp -p -P 29418 [email protected]:hooks/commit-msg .git/hooks/

I have also attached here, just place in .git/hooks dir.

Cheers
Spen

Attachment: commit-msg
Description: Binary data

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to