Skip to content

Commit 7d0ce9e

Browse files
committed
merge master
2 parents b6c7409 + 60fdb77 commit 7d0ce9e

5 files changed

Lines changed: 95 additions & 31 deletions

File tree

docs/docs/Contributor-Guide.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,37 @@ git commit
131131
git push
132132
```
133133

134+
## Hotfix Workflow
135+
136+
When an OpenMPF project administrator determines that a code change is urgently needed to fix a bug in previously released code, the pull request workflow is modified in the following ways.
137+
138+
- Create your feature branch off of the master branch, not develop. The convention is to include the prefix "hotfix/" in the name of the branch.
139+
- When creating your pull request on the web page for the repo you are modifying, leave the 'base:master' dropdown menu as is, and change the 'compare:' dropdown to the name of your hotfix branch.
140+
- After the PR has been reviewed and accepted, land the PR as described above.
141+
- Next, create a new branch off of the develop branch. The convention is to use the prefix "hf-merge/" in the name of the branch.
142+
- Merge the master branch into your hf-merge branch.
143+
```
144+
git checkout master
145+
git pull
146+
git checkout develop
147+
git pull
148+
git checkout -b hf-merge/<branch-name>
149+
git merge master
150+
git push -u
151+
```
152+
- Create a pull request for this branch as described above in the Contributor Instructions, using develop as the 'base:' branch, and your hf-merge branch as the 'compare:' branch.
153+
- The remainder of the process for reviewing and landing a PR to the develop branch must be followed at this point, with one exception. You should merge your branch to the develop branch on the command line, instead of through the GitHub UI, to preserve commits and not squash them into one.
154+
```
155+
git checkout develop
156+
git pull
157+
git merge hf-merge/<branch-name>
158+
```
159+
Make sure that the merge is a fast-forward merge.
160+
```
161+
git push
162+
```
163+
164+
134165
# Versioning a New Release
135166

136167
The decision to version a new release is based on the following factors:

docs/site/Contributor-Guide/index.html

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,8 @@
219219

220220
<li><a class="toctree-l4" href="#reviewer-instructions">Reviewer Instructions</a></li>
221221

222+
<li><a class="toctree-l4" href="#hotfix-workflow">Hotfix Workflow</a></li>
223+
222224

223225
<li class="toctree-l3"><a href="#versioning-a-new-release">Versioning a New Release</a></li>
224226

@@ -440,6 +442,37 @@ <h2 id="reviewer-instructions">Reviewer Instructions</h2>
440442
git push
441443
</code></pre>
442444

445+
<h2 id="hotfix-workflow">Hotfix Workflow</h2>
446+
<p>When an OpenMPF project administrator determines that a code change is urgently needed to fix a bug in previously released code, the pull request workflow is modified in the following ways.</p>
447+
<ul>
448+
<li>Create your feature branch off of the master branch, not develop. The convention is to include the prefix "hotfix/" in the name of the branch.</li>
449+
<li>When creating your pull request on the web page for the repo you are modifying, leave the 'base:master' dropdown menu as is, and change the 'compare:' dropdown to the name of your hotfix branch.</li>
450+
<li>After the PR has been reviewed and accepted, land the PR as described above.</li>
451+
<li>Next, create a new branch off of the develop branch. The convention is to use the prefix "hf-merge/" in the name of the branch.</li>
452+
<li>Merge the master branch into your hf-merge branch.</li>
453+
</ul>
454+
<pre><code>git checkout master
455+
git pull
456+
git checkout develop
457+
git pull
458+
git checkout -b hf-merge/&lt;branch-name&gt;
459+
git merge master
460+
git push -u
461+
</code></pre>
462+
463+
<ul>
464+
<li>Create a pull request for this branch as described above in the Contributor Instructions, using develop as the 'base:' branch, and your hf-merge branch as the 'compare:' branch.</li>
465+
<li>The remainder of the process for reviewing and landing a PR to the develop branch must be followed at this point, with one exception. You should merge your branch to the develop branch on the command line, instead of through the GitHub UI, to preserve commits and not squash them into one.</li>
466+
</ul>
467+
<pre><code>git checkout develop
468+
git pull
469+
git merge hf-merge/&lt;branch-name&gt;
470+
</code></pre>
471+
472+
<p>Make sure that the merge is a fast-forward merge.</p>
473+
<pre><code>git push
474+
</code></pre>
475+
443476
<h1 id="versioning-a-new-release">Versioning a New Release</h1>
444477
<p>The decision to version a new release is based on the following factors:</p>
445478
<ul>

docs/site/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,5 +456,5 @@ <h1 id="overview">Overview</h1>
456456

457457
<!--
458458
MkDocs version : 0.16.0
459-
Build Date UTC : 2021-07-28 17:15:10
459+
Build Date UTC : 2021-08-02 20:18:09
460460
-->

docs/site/mkdocs/search_index.json

Lines changed: 6 additions & 1 deletion
Large diffs are not rendered by default.

docs/site/sitemap.xml

Lines changed: 24 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<url>
66
<loc>/index.html</loc>
7-
<lastmod>2021-07-28</lastmod>
7+
<lastmod>2021-08-02</lastmod>
88
<changefreq>daily</changefreq>
99
</url>
1010

@@ -13,19 +13,19 @@
1313

1414
<url>
1515
<loc>/Release-Notes/index.html</loc>
16-
<lastmod>2021-07-28</lastmod>
16+
<lastmod>2021-08-02</lastmod>
1717
<changefreq>daily</changefreq>
1818
</url>
1919

2020
<url>
2121
<loc>/License-And-Distribution/index.html</loc>
22-
<lastmod>2021-07-28</lastmod>
22+
<lastmod>2021-08-02</lastmod>
2323
<changefreq>daily</changefreq>
2424
</url>
2525

2626
<url>
2727
<loc>/Acknowledgements/index.html</loc>
28-
<lastmod>2021-07-28</lastmod>
28+
<lastmod>2021-08-02</lastmod>
2929
<changefreq>daily</changefreq>
3030
</url>
3131

@@ -35,49 +35,49 @@
3535

3636
<url>
3737
<loc>/Install-Guide/index.html</loc>
38-
<lastmod>2021-07-28</lastmod>
38+
<lastmod>2021-08-02</lastmod>
3939
<changefreq>daily</changefreq>
4040
</url>
4141

4242
<url>
4343
<loc>/Admin-Guide/index.html</loc>
44-
<lastmod>2021-07-28</lastmod>
44+
<lastmod>2021-08-02</lastmod>
4545
<changefreq>daily</changefreq>
4646
</url>
4747

4848
<url>
4949
<loc>/User-Guide/index.html</loc>
50-
<lastmod>2021-07-28</lastmod>
50+
<lastmod>2021-08-02</lastmod>
5151
<changefreq>daily</changefreq>
5252
</url>
5353

5454
<url>
5555
<loc>/Media-Segmentation-Guide/index.html</loc>
56-
<lastmod>2021-07-28</lastmod>
56+
<lastmod>2021-08-02</lastmod>
5757
<changefreq>daily</changefreq>
5858
</url>
5959

6060
<url>
6161
<loc>/Feed-Forward-Guide/index.html</loc>
62-
<lastmod>2021-07-28</lastmod>
62+
<lastmod>2021-08-02</lastmod>
6363
<changefreq>daily</changefreq>
6464
</url>
6565

6666
<url>
6767
<loc>/Object-Storage-Guide/index.html</loc>
68-
<lastmod>2021-07-28</lastmod>
68+
<lastmod>2021-08-02</lastmod>
6969
<changefreq>daily</changefreq>
7070
</url>
7171

7272
<url>
7373
<loc>/Markup-Guide/index.html</loc>
74-
<lastmod>2021-07-28</lastmod>
74+
<lastmod>2021-08-02</lastmod>
7575
<changefreq>daily</changefreq>
7676
</url>
7777

7878
<url>
7979
<loc>/REST-API/index.html</loc>
80-
<lastmod>2021-07-28</lastmod>
80+
<lastmod>2021-08-02</lastmod>
8181
<changefreq>daily</changefreq>
8282
</url>
8383

@@ -87,37 +87,37 @@
8787

8888
<url>
8989
<loc>/Component-API-Overview/index.html</loc>
90-
<lastmod>2021-07-28</lastmod>
90+
<lastmod>2021-08-02</lastmod>
9191
<changefreq>daily</changefreq>
9292
</url>
9393

9494
<url>
9595
<loc>/Component-Descriptor-Reference/index.html</loc>
96-
<lastmod>2021-07-28</lastmod>
96+
<lastmod>2021-08-02</lastmod>
9797
<changefreq>daily</changefreq>
9898
</url>
9999

100100
<url>
101101
<loc>/CPP-Batch-Component-API/index.html</loc>
102-
<lastmod>2021-07-28</lastmod>
102+
<lastmod>2021-08-02</lastmod>
103103
<changefreq>daily</changefreq>
104104
</url>
105105

106106
<url>
107107
<loc>/Python-Batch-Component-API/index.html</loc>
108-
<lastmod>2021-07-28</lastmod>
108+
<lastmod>2021-08-02</lastmod>
109109
<changefreq>daily</changefreq>
110110
</url>
111111

112112
<url>
113113
<loc>/Java-Batch-Component-API/index.html</loc>
114-
<lastmod>2021-07-28</lastmod>
114+
<lastmod>2021-08-02</lastmod>
115115
<changefreq>daily</changefreq>
116116
</url>
117117

118118
<url>
119119
<loc>/GPU-Support-Guide/index.html</loc>
120-
<lastmod>2021-07-28</lastmod>
120+
<lastmod>2021-08-02</lastmod>
121121
<changefreq>daily</changefreq>
122122
</url>
123123

@@ -127,34 +127,29 @@
127127

128128
<url>
129129
<loc>/Contributor-Guide/index.html</loc>
130-
<lastmod>2021-07-28</lastmod>
130+
<lastmod>2021-08-02</lastmod>
131131
<changefreq>daily</changefreq>
132132
</url>
133133

134134
<url>
135135
<loc>/Development-Environment-Guide/index.html</loc>
136-
<lastmod>2021-07-28</lastmod>
136+
<lastmod>2021-08-02</lastmod>
137137
<changefreq>daily</changefreq>
138138
</url>
139139

140140
<url>
141141
<loc>/Node-Guide/index.html</loc>
142-
<lastmod>2021-07-28</lastmod>
142+
<lastmod>2021-08-02</lastmod>
143143
<changefreq>daily</changefreq>
144144
</url>
145145

146146
<url>
147147
<loc>/Workflow-Manager-Architecture/index.html</loc>
148-
<lastmod>2021-07-28</lastmod>
149-
<changefreq>daily</changefreq>
150-
</url>
151-
152-
<url>
153-
<loc>/CPP-Streaming-Component-API/index.html</loc>
154-
<lastmod>2021-07-28</lastmod>
148+
<lastmod>2021-08-02</lastmod>
149+
<lastmod>2021-08-02</lastmod>
155150
<changefreq>daily</changefreq>
156151
</url>
157152

158153

159154

160-
</urlset>
155+
</urlset>

0 commit comments

Comments
 (0)