Difference between revisions of "How to use Gerrit review tool"

From ETSI Forge
Jump to: navigation, search
Line 1: Line 1:
= Links to documentation =
+
== Upload content with the web interface ==
 +
 
 +
== Step 2: Contribute the specification to the ETSI Forge ==
 +
<big>
 +
 
 +
The example is taken from the [[NFV Specfest Wiki]].
 +
Proceed withe the points below:
 +
 
 +
# <span class="ext">Navigate to the project page where you want to upload your contribution, e.g. [https://forge.etsi.org/gerrit/#/admin/projects/nfv-specfest nfv-specfest]</span>
 +
#* If required, click on the <code>Sign in</code> link on the top right and the page to log in with your EOL or Forge credentials.
 +
# Click <code>Create Change</code> button
 +
#* Enter Branch, e.g. ''master''
 +
#* Enter Change topic. Topics are used to gather sets of Changes which are about the same feature. E.g. "specfest"
 +
#* Enter the description of  the Change.
 +
#* Click on <code>Create</code>
 +
#* [[File:Gerrit-online-change-guide.png|700px|thumb|center|How to create a new Change in the Gerrit web UI]]
 +
# Click <code>Edit</code> in the File list at the bottom of the page
 +
#* [[File:Gerrit-online-change-add-new-file1.png|700px|thumb|center|Click edit at the bottom]]
 +
# Click <code>Add</code> to insert a new modification in a file
 +
#* Type a file path (folder and filename, e.g. "upload/jon_snow.yaml") and click <code>Open</code> button.
 +
#* [[File:Gerrit-online-change-add-new-file2.png|700px|thumb|center|Click Add and insert filename]]
 +
# Copy the content you want to submit and paste the content in the newly created file.
 +
# Click <code>Save</code> and then click <code>Close</code>
 +
#* [[File:Gerrit-online-edit-guide.png|700px|thumb|center|Editing a file in the gerrit web UI]]
 +
# Click the blue <code>Publish edit</code> button and then the <code>Publish</code> button on the top right of the page.
 +
#* [[File:Gerrit-online-change-add-new-file2.png|700px|thumb|center|Click Add and insert filename]]
 +
 
 +
</big>
 +
 
 +
== Upload content using git ==
 +
 
 +
See [https://forge.etsi.org/wiki/index.php/How_to_contribute#Push_your_contribution_to_Gerrit Contribute via git]
 +
 
 +
== Links to documentation ==
  
 
* [https://www.slideshare.net/dluksza/introduction-to-gerrit Introduction to Gerrit]
 
* [https://www.slideshare.net/dluksza/introduction-to-gerrit Introduction to Gerrit]

Revision as of 12:01, 21 September 2017

Upload content with the web interface

Step 2: Contribute the specification to the ETSI Forge

The example is taken from the NFV Specfest Wiki. Proceed withe the points below:

  1. Navigate to the project page where you want to upload your contribution, e.g. nfv-specfest
    • If required, click on the Sign in link on the top right and the page to log in with your EOL or Forge credentials.
  2. Click Create Change button
    • Enter Branch, e.g. master
    • Enter Change topic. Topics are used to gather sets of Changes which are about the same feature. E.g. "specfest"
    • Enter the description of the Change.
    • Click on Create
    • How to create a new Change in the Gerrit web UI
  3. Click Edit in the File list at the bottom of the page
    • Click edit at the bottom
  4. Click Add to insert a new modification in a file
    • Type a file path (folder and filename, e.g. "upload/jon_snow.yaml") and click Open button.
    • Click Add and insert filename
  5. Copy the content you want to submit and paste the content in the newly created file.
  6. Click Save and then click Close
    • Editing a file in the gerrit web UI
  7. Click the blue Publish edit button and then the Publish button on the top right of the page.
    • Click Add and insert filename

Upload content using git

See Contribute via git

Links to documentation