[Dev] How to set up gerrit? The instructions are NOT helpful

Lv, RuiX ruix.lv at intel.com
Fri Feb 28 05:32:57 GMT 2014


I'm impressed by your thoroughness!

Added link to the embedded version of Gerrit documentation already.
Please follow the link below to check it out:
https://source.tizen.org/documentation/developer-guide/submitting-and-reviewing-on-gerrit-and-obs

Thanks
Rui

-----Original Message-----
From: dev-bounces at lists.tizen.org [mailto:dev-bounces at lists.tizen.org] On Behalf Of Kanevskiy, Alexander
Sent: Thursday, February 27, 2014 7:13 PM
To: Kanavin, Alexander; dev at lists.tizen.org
Subject: Re: [Dev] How to set up gerrit? The instructions are NOT helpful

On 27/02/14 13:06 , "Alexander Kanavin" <alexander.kanavin at intel.com>
wrote:

>Yes, it looks good now.
>
>You can also add a link to the gerrit homepage:
>
>https://code.google.com/p/gerrit/
>
>The direct link to the gerrit documentation contains a version number, 
>so it should not be added (because it will go out of date quickly):
>
>https://gerrit-documentation.storage.googleapis.com/Documentation/2.8.1
>/in
>dex.html


Each running gerrit instance also has embedded documentation.
Example: https://review.tizen.org/gerrit/Documentation/index.html

>
>Alex
>
>
>On 02/27/2014 06:19 AM, Lv, RuiX wrote:
>> Hi All,
>>
>> Thanks a lot for your opinions.
>> We appreciate your feedback towards our documentation very much.
>>
>> We've updated the corresponding document, as shown below, after 
>>absorbing opinions from all of you.
>> 
>>https://source.tizen.org/documentation/developer-guide/submitting-and-
>>rev
>>iewing-on-gerrit-and-obs
>>
>> Hope the new version could eliminate all possible confusion and 
>>misleading.
>> If any questions, please feel free to raise it.
>>
>> Thanks
>> Rui
>>
>> -----Original Message-----
>> From: dev-bounces at lists.tizen.org 
>>[mailto:dev-bounces at lists.tizen.org]
>>On Behalf Of Thiago Macieira
>> Sent: Thursday, February 27, 2014 12:47 AM
>> To: dev at lists.tizen.org
>> Subject: Re: [Dev] How to set up gerrit? The instructions are NOT 
>>helpful
>>
>> Em qua 26 fev 2014, às 16:04:53, Kanevskiy, Alexander escreveu:
>>> Let me explain few additions that might be useful:
>>>
>>> 1. in remote “origin” section:
>>>
>>>      push = HEAD:refs/for/devel
>>>
>>> this helps to simplify operation with submitting patches.
>>>
>>> without it, it’s better to do “git push origin HEAD:refs/for/tizen”
>>> (if you’re submitting patches from your HEAD towards tizen branch 
>>>for review).
>>> line above just makes it simpler for developer to type “git push 
>>>origin”.
>>> the rest, HEAD and target branch it would take from config.
>>>
>>>
>>> 2. in remote “origin” section:
>>>      receivepack = git receive-pack --reviewer=<E-mail_Address> …
>>>
>>>
>>> this helps to add automatically some specific reviewers for that 
>>> project, if you’d like to specify them manually. (e.g. you want 2-3 
>>> of your colleagues explicitly reviewing your patches).
>>> You don’t need to do that explicitly, as domain maintainers would 
>>> would be added automatically to change.
>>
>> Hint: use the git-gpush script that you can find here:
>>
>> 	https://qt.gitorious.org/qt/qtrepotools/source/master:bin/git-gpush
>>
>> You just need to make sure that the gerrit remote is called "gerrit".
>>If you cloned from Gerrit, you can do:
>>
>> 	git remote rename origin gerrit
>>
>> Then you can do:
>>
>> 	git gpush :devel
>> 	git gpush :devel +someone at example.com		# adds as reviewer
>> 	git gpush :devel =someone at example.com		# adds as Cc
>> 	git gpush SHA-1:devel				# pushes SHA-1 instead of HEAD
>>
>> Instead of email addresses, you can also use Gerrit account names.
>> --
>> Thiago Macieira - thiago.macieira (AT) intel.com
>>    Software Architect - Intel Open Source Technology Center
>>
>> _______________________________________________
>> Dev mailing list
>> Dev at lists.tizen.org
>> https://lists.tizen.org/listinfo/dev
>> _______________________________________________
>> Dev mailing list
>> Dev at lists.tizen.org
>> https://lists.tizen.org/listinfo/dev
>>
>
>_______________________________________________
>Dev mailing list
>Dev at lists.tizen.org
>https://lists.tizen.org/listinfo/dev
>


--
Best regards, Alexander Kanevskiy.



---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
_______________________________________________
Dev mailing list
Dev at lists.tizen.org
https://lists.tizen.org/listinfo/dev


More information about the Dev mailing list