diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2022-08-10 12:58:51 +0200 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2022-08-10 13:06:37 +0000 |
commit | 19c407da96d2b071990d3b1871b4581ecc72f414 (patch) | |
tree | 7c8324d4234b572ab7ad080f32567cf26fbbb45f /docs/6_How_To_Contribute | |
parent | b57d7980aa0a6cb33403520c47501fa93a3fe6fd (diff) |
Bulk documentation updates for needlefishneedlefish_14.0.1needlefish_14.0.0needlefish/14.0.1needlefish/14.0.014.0.114.0.0
Mostly just s/master/needlefish .
Little corrections where necessary.
Add a FIXME for the platform doc/Security Blueprint
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Ia54ba1a46f0575689268ff5999a1c953a6f8a54c
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/documentation/+/27894
Diffstat (limited to 'docs/6_How_To_Contribute')
-rw-r--r-- | docs/6_How_To_Contribute/6_Gerrit_Recommended_Practices.md | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/docs/6_How_To_Contribute/6_Gerrit_Recommended_Practices.md b/docs/6_How_To_Contribute/6_Gerrit_Recommended_Practices.md index 671c685..ec918cb 100644 --- a/docs/6_How_To_Contribute/6_Gerrit_Recommended_Practices.md +++ b/docs/6_How_To_Contribute/6_Gerrit_Recommended_Practices.md @@ -61,20 +61,20 @@ and help others ramp up. Topic branches are temporary branches that you push to commit a set of logically-grouped dependent commits: -To push changes from ``REMOTE/master`` tree to Gerrit for being reviewed as a +To push changes from ``REMOTE/needlefish`` tree to Gerrit for being reviewed as a topic in **TopicName** use the following command as an example: ```sh -$ git push REMOTE HEAD:refs/for/master/TopicName +$ git push REMOTE HEAD:refs/for/needlefish/TopicName ``` The topic will show up in the review ``UI`` and in the ``Open Changes List``. -Topic branches will disappear from the master tree when its content is merged. +Topic branches will disappear from the needlefish tree when its content is merged. ## Finding Available Topics ```sh -$ ssh -p 29418 <LFID>@gerrit.automotivelinux.org gerrit query \ status:open branch:master| grep topic: | sort -u +$ ssh -p 29418 <LFID>@gerrit.automotivelinux.org gerrit query \ status:open branch:needlefish| grep topic: | sort -u ``` - [gerrit.automotivelinux.org](https://gerrit.automotivelinux.org) is the @@ -159,13 +159,13 @@ list of commits, **c0...c7**, which were submitted as a topic branch: ```sh -$ git log REMOTE/master..master +$ git log REMOTE/needlefish..needlefish c0 ... c7 -$ git push REMOTE HEAD:refs/for/master/SOMETOPIC +$ git push REMOTE HEAD:refs/for/needlefish/SOMETOPIC ``` After you get reviewers' feedback, there are changes in **c3** and **c4** that @@ -175,7 +175,7 @@ for more information. However, you must keep the same Change-Id and push the changes again: ```sh -$ git push REMOTE HEAD:refs/for/master/SOMETOPIC +$ git push REMOTE HEAD:refs/for/needlefish/SOMETOPIC ``` This new push creates a patches revision, your local history is then cleared. @@ -193,18 +193,18 @@ you to make the necessary *Change-Ids*. The *Change-Ids* must be kept the same. - **reword:** changes the commit message. - **edit:** changes the commit content. - **reorder:** allows you to interchange the order of the commits. -- **rebase:** stacks the commits on top of the master. +- **rebase:** stacks the commits on top of the needlefish. ## Rebasing During a Pull -Before pushing a rebase to your master, ensure that the history has a +Before pushing a rebase to your needlefish, ensure that the history has a consecutive order. -For example, your ``REMOTE/master`` has the list of commits from **a0** to +For example, your ``REMOTE/needlefish`` has the list of commits from **a0** to **a4**; Then, your changes **c0...c7** are on top of **a4**; thus: ```sh -$ git log --oneline REMOTE/master..master +$ git log --oneline REMOTE/needlefish..needlefish a0 a1 @@ -217,17 +217,17 @@ $ git log --oneline REMOTE/master..master c7 ``` -If ``REMOTE/master`` receives commits **a5**, **a6** and **a7**. Pull with a +If ``REMOTE/needlefish`` receives commits **a5**, **a6** and **a7**. Pull with a rebase as follows: ```sh -$ git pull --rebase REMOTE master +$ git pull --rebase REMOTE needlefish ``` This pulls **a5-a7** and re-apply **c0-c7** on top of them: ```sh -$ git log --oneline REMOTE/master..master +$ git log --oneline REMOTE/needlefish..needlefish a0 ... a7 |