-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve hotfix documentation #322
base: master
Are you sure you want to change the base?
Changes from 4 commits
f6855df
74ac7eb
72bfe10
312b9f0
bfd14cc
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,10 +12,58 @@ Not following this procedure/policy will result in disiplinary action being take | |
|
||
- Balancing changes are usually not bug fixes. A balancing change adjusts tuning values on a gameplay system/mechanic to change gameplay to be more in line with the intended experience. If the experience before the change is still playable then the balancing change is not a bug fix, however if the gameplay is *causing major issues for players/admins* then a balancing change can be considered as a bugfix in this case. | ||
## Creating and applying a hotfix | ||
A hotfix needs to be based on the branch the bug appears in. | ||
A hotfix needs to be created based on the branch the bug appears in. | ||
During the release phase bugs on staging need to be fixed using hotfixes based on staging and vice versa. | ||
The hotfix branch needs to be merged into the affected branch (staging/live) and then into master. | ||
A PR needs to be made for the newly created hotfix branch for the branch the bug appeared on (staging/stable) and for master. | ||
|
||
If a bug needs to be fixed on live during the release cycle the hotfix branch needs to be based on live and then merged into staging and master. | ||
If a bug needs to be fixed on stable during the release phase the hotfix branch needs to be based on stable and then a PR needs to be made for staging and master. | ||
|
||
This will eventually be done by a github action or a bot automatically. | ||
When a bug needs to be hotfixed on stable outside of the release phase the hotfix needs to be based on stable and then a PR needs to be made for stable and master | ||
|
||
This will eventually be done by a github action or a bot automatically. | ||
|
||
### Bug appears on staging during release cycle | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Branch off of |
||
- Branch of off the staging branch | ||
```shell | ||
git checkout staging | ||
git branch -b "<hotfix branch name>" | ||
``` | ||
- Implement the hotfix | ||
- Push the hotfix branch | ||
```shell | ||
git push <remote name> HEAD | ||
``` | ||
- Create and merge a PR for the staging branch | ||
- Create and merge a PR for the master branch | ||
- Delete the hotfix branch | ||
|
||
### Bug appears on stable during release cycle | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Branch off of |
||
- Branch of off the stable branch | ||
```shell | ||
git checkout stable | ||
git branch -b "<hotfix branch name>" | ||
``` | ||
- Implement the hotfix | ||
- Push the hotfix branch | ||
```shell | ||
git push <remote name> HEAD | ||
``` | ||
- Create and merge a PR for the stable branch | ||
- Create and merge a PR for the staging branch | ||
- Create and merge a PR for the master branch | ||
- Delete the hotfix branch | ||
|
||
### Bug appears on stable outside release cycle | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Branch off of |
||
- Branch of off the stable branch | ||
```shell | ||
git checkout stable | ||
juliangiebel marked this conversation as resolved.
Show resolved
Hide resolved
|
||
git branch -b "<hotfix branch name>" | ||
``` | ||
- Implement the hotfix | ||
- Push the hotfix branch | ||
```shell | ||
git push <remote name> HEAD | ||
``` | ||
- Create and merge a PR for the stable branch | ||
Errant-4 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- Create and merge a PR for the master branch | ||
- Delete the hotfix branch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please add some commas to all these sentences where appropriate, to make them easier to parse
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A single comma could be added after the qualifying phrase like so:
However, I believe that the underling issue that is the sentence is too verbose. From this point on @juliangiebel, please take all this with a grain of salt as it is purely my opinion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 19 and potentially 17 are also rather runaway