Add slide #14 of upstream training
Change-Id: Idd8f6ea324013225efd03ecc016f2d9d19b69a3a
134
doc/upstream-training/14-gerrit.rst
Normal file
@ -0,0 +1,134 @@
|
||||
review.openstack.org
|
||||
====================
|
||||
|
||||
.. image:: ./_assets/14-01-review.png
|
||||
:width: 100%
|
||||
|
||||
----
|
||||
|
||||
gerrit workflow
|
||||
===============
|
||||
|
||||
.. image:: ./_assets/14-02-gerrit-workflow.png
|
||||
:width: 100%
|
||||
|
||||
----
|
||||
|
||||
upload an ssh key
|
||||
=================
|
||||
|
||||
- https://review.openstack.org/#/settings/ssh-keys
|
||||
|
||||
.. image:: ./_assets/14-03-upload-ssh-key.png
|
||||
|
||||
----
|
||||
|
||||
git config
|
||||
==========
|
||||
|
||||
- git config --global user.name "Firstname Lastname"
|
||||
- git config --global user.email "your_email@youremail.com"
|
||||
|
||||
.. image:: ./_assets/14-04-git-config.png
|
||||
|
||||
----
|
||||
|
||||
Install git review
|
||||
==================
|
||||
|
||||
- apt-get / yum / … git review
|
||||
|
||||
.. image:: ./_assets/14-05-install.png
|
||||
|
||||
----
|
||||
|
||||
git clone
|
||||
=========
|
||||
|
||||
.. image:: ./_assets/14-06-git-clone.png
|
||||
|
||||
----
|
||||
|
||||
git review -s
|
||||
=============
|
||||
|
||||
.. image:: ./_assets/14-07-git-review-s.png
|
||||
|
||||
----
|
||||
|
||||
git checkout -b TOPIC-BRANCH
|
||||
============================
|
||||
|
||||
.. image:: ./_assets/14-08-git-checkout.png
|
||||
|
||||
----
|
||||
|
||||
running unit tests
|
||||
==================
|
||||
|
||||
.. image:: ./_assets/14-09-unit-tests.png
|
||||
|
||||
----
|
||||
|
||||
git review -D
|
||||
=============
|
||||
|
||||
.. image:: ./_assets/14-10-git-review.png
|
||||
|
||||
----
|
||||
|
||||
invite reviewers
|
||||
================
|
||||
|
||||
.. image:: ./_assets/14-11-invite-reviewers.png
|
||||
:width: 100%
|
||||
|
||||
----
|
||||
|
||||
New interface: invite reviewers
|
||||
===============================
|
||||
|
||||
.. image:: ./_assets/14-12-new-invite-reviewers.png
|
||||
|
||||
----
|
||||
|
||||
git commit --amend
|
||||
==================
|
||||
|
||||
.. image:: ./_assets/14-13-git-commit-amend.png
|
||||
|
||||
----
|
||||
|
||||
git review -D ( repush )
|
||||
========================
|
||||
|
||||
.. image:: ./_assets/14-14-git-repush.png
|
||||
|
||||
----
|
||||
|
||||
gerrit patchset history
|
||||
=======================
|
||||
|
||||
.. image:: ./_assets/14-15-patchset-history.png
|
||||
|
||||
----
|
||||
|
||||
New interface: gerrit patchset history
|
||||
=======================================
|
||||
|
||||
.. image:: ./_assets/14-16-new-patchset-history.png
|
||||
|
||||
----
|
||||
|
||||
patchset diffs
|
||||
==============
|
||||
|
||||
.. image:: ./_assets/14-17-patchset-diffs.png
|
||||
|
||||
----
|
||||
|
||||
Exercise
|
||||
========
|
||||
|
||||
push a wip or draft and invite reviewers
|
||||
|
BIN
doc/upstream-training/_assets/14-01-review.png
Normal file
After ![]() (image error) Size: 184 KiB |
BIN
doc/upstream-training/_assets/14-02-gerrit-workflow.png
Normal file
After ![]() (image error) Size: 75 KiB |
BIN
doc/upstream-training/_assets/14-03-upload-ssh-key.png
Normal file
After ![]() (image error) Size: 78 KiB |
BIN
doc/upstream-training/_assets/14-04-git-config.png
Normal file
After ![]() (image error) Size: 44 KiB |
BIN
doc/upstream-training/_assets/14-05-install.png
Normal file
After ![]() (image error) Size: 42 KiB |
BIN
doc/upstream-training/_assets/14-06-git-clone.png
Normal file
After ![]() (image error) Size: 39 KiB |
BIN
doc/upstream-training/_assets/14-07-git-review-s.png
Normal file
After ![]() (image error) Size: 57 KiB |
BIN
doc/upstream-training/_assets/14-08-git-checkout.png
Normal file
After ![]() (image error) Size: 34 KiB |
BIN
doc/upstream-training/_assets/14-09-unit-tests.png
Normal file
After ![]() (image error) Size: 83 KiB |
BIN
doc/upstream-training/_assets/14-10-git-review.png
Normal file
After ![]() (image error) Size: 65 KiB |
BIN
doc/upstream-training/_assets/14-11-invite-reviewers.png
Normal file
After ![]() (image error) Size: 117 KiB |
BIN
doc/upstream-training/_assets/14-12-new-invite-reviewers.png
Normal file
After ![]() (image error) Size: 96 KiB |
BIN
doc/upstream-training/_assets/14-13-git-commit-amend.png
Normal file
After ![]() (image error) Size: 84 KiB |
BIN
doc/upstream-training/_assets/14-14-git-repush.png
Normal file
After ![]() (image error) Size: 54 KiB |
BIN
doc/upstream-training/_assets/14-15-patchset-history.png
Normal file
After ![]() (image error) Size: 88 KiB |
BIN
doc/upstream-training/_assets/14-16-new-patchset-history.png
Normal file
After ![]() (image error) Size: 126 KiB |
BIN
doc/upstream-training/_assets/14-17-patchset-diffs.png
Normal file
After ![]() (image error) Size: 28 KiB |