-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'rc/1.9.2' into release
- Loading branch information
Showing
95 changed files
with
974 additions
and
634 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
![Filament branching strategy](art/diagrams/branching.png) | ||
|
||
## Which branch do I open my PR against? | ||
|
||
For normal development, open PRs against main. Once they're merged, no further action is necessary. | ||
|
||
If you discover a bug with the latest *release candidate*, open a bug fix PR against the release | ||
candidate branch (rc/1.9.0, for example). Once the PR is merged, decide whether it makes sense for | ||
the fix to also go into main. If it was a temporary fix, simply make the _correct_ fix in main as | ||
you would any other change. If the fix is good for main as well, use `git cherry-pick <sha>` to | ||
cherry-pick it into main. | ||
|
||
If an immediate hotfix is needed on the *release* branch, open a PR against the release branch. Once | ||
the PR is merged, decide whether the fix is temporary or permanent. If the fix was temporary, make | ||
the _correct_ fix in both the next release candidate branch _and_ main. If the fix is good, use `git | ||
cherry-pick <sha>` to cherry-pick it into the relase candidate branch and main. | ||
|
||
## What consitutes a bug? | ||
|
||
Only bug fix PRs should be opened against the *release candidate* branch. | ||
|
||
Bugs are defined as one of the following _introduced since the prior release_: | ||
|
||
- crashes | ||
- rendering issues | ||
- unintentional binary size increases | ||
- unintentional public API changes | ||
|
||
For example, a long-standing crash just recently discovered would not necessitate a bug fix PR. | ||
|
||
## Creating a GitHub Release | ||
|
||
Be sure to choose the *release* branch when drafting a GitHub release. | ||
|
||
## Git Commands | ||
|
||
These commands assume a release candidate branch called *rc/1.9.0*. | ||
|
||
### Creating a Release Candidate Branch | ||
|
||
``` | ||
$ git checkout main | ||
$ git pull | ||
$ git branch rc/1.9.0 | ||
$ git push origin rc/1.9.0 | ||
``` | ||
|
||
### Merging the Release Candidate Branch Into Release | ||
|
||
There may be temporary hotfixes in the release branch that should be overriden by the new release | ||
candidate. To accomplish this, we first merge release into rc using the _ours_ strategy. Then we | ||
merge rc into release. | ||
|
||
``` | ||
$ git checkout rc/1.9.0 | ||
$ git pull | ||
$ git fetch origin release:release | ||
$ git merge -s ours release | ||
$ git checkout release | ||
$ git merge --no-ff rc/1.9.0 | ||
$ git push origin release | ||
``` | ||
|
||
### Deleting the Release Candidate Branch | ||
|
||
``` | ||
$ git branch -d rc/1.9.0 | ||
$ git push origin --delete rc/1.9.0 | ||
``` | ||
|
||
### See a History of the Release Branch | ||
|
||
``` | ||
$ git log --oneline --first-parent | ||
442b061 (HEAD -> release) Merge branch 'rc/1.9.2' into release | ||
ac50d21 Hotfix | ||
94dc2f7 Hotfix | ||
b34ed5b Merge branch 'rc/1.9.1' into release | ||
aeef498 Merge branch 'rc/1.9.0' into release | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<mxfile host="app.diagrams.net" modified="2020-09-14T19:00:14.695Z" agent="5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36" etag="dN_ZQ720OjeZq7fcsGJR" version="13.6.6" type="device"><diagram id="0Au-6x1pa8pepmiu9SBl" name="Page-1">7V1tc6M4Ev41rr3dqqR4N/44yUxmt+7m6mozV7vzUQbZaAOIA9lO9tefJN4lYWMC2JNMqqbGNCBEq5+nW62WvTDvo+fPKUiCL9iH4cLQ/OeF+XFh0L+lQ/9jkpdcoi9LyTZFfiGrBY/ob1gItUK6Qz7MWhcSjEOCkrbQw3EMPdKSgTTFh/ZlGxy2n5qALZQEjx4IZekfyCdBLnVtrZb/CtE2KJ+sa8WZCJQXF4IsAD4+NETmp4V5n2JM8k/R8z0MmfZKveT3PXScrTqWwpj0uSH4/bDdfAn9P795Xx8f/vuETRvc2HkrexDuihcuOkteSg1AnyqkOMQpCfAWxyD8VEvvUryLfcgeo9Gj+pp/YZxQoU6Ff0FCXorRBTuCqSggUVichbH/gY0VPYxxDHPJAwrDosmMpPgJ3uMQp7xPpsb/6BlZCaWRgHQLyZE3t/Lr2Ns1bixU9xniCJL0hV6QwhAQtG+bAyisaltdV936H4xoVwytgMCNXppKgQBzZbfbyPAu9WBxWz1+9EOjH7WIj+oZI7x8qyOc6+30CJ+0BGdsS2gN4bnjZfUYrzCk9MeUeAgQgY8J4Ho4UApuax1kSc6JG/TMRu9uQzXeULJvQ9e3VOp3jbXpOMfUv4cpgc9HFVZCYCkgoDw+1IRagiRocGkpG13Fq3cLCacnJNyrgoSujzFgsw6Rt0v33Dj0WcarjJZG9mb05cFL44KEOams29l1+bqHvtdrtmAseQ9GdYjOmyNY58r4VR8l5mhBaFbwbnBMHkCEQqbQ3/Ea86aHo9jti+LrikTcNwcUw7o2pIwy/3o7SCn92GmojD59e904ajNiZbPZGJ6nGhffWTv2SFjRV22sGO6lsWJIOo4Aii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VS5heWuPl/G+HyxM3GedXlvs3reS5Plm2QukUFPtg7rjB8M1v2iNJqRVtm0aZP6f9bCqWO5T06Y1uqHqTl3hsMQgX9TpEZe2SIVeGrzTmCgAcMCA8cJJk23z4xh6+u48C1995BOH4JoXAZxdkMUgoXzCN8FK4WkO8Ai3EXEFFVRvgNbkyE8GchjyYZSB9uW30MBlVXVxHIMz4G+4x8jPOBxkO9/lAhsz3LJRlw42CujBkP/+k0HC+B0qpXq7VJwiTQpUeHQumVtongjvfeTRqyShXsFc0P9r10VceXLCMqppRMCWKTciDioAyD4x7sgyTFpGKbozDOnXVSINmLFX2QHeNqXhGLhr9pUJbBL0AxCiLGJRYx6lCOZwO8CfedGlS7QpQ/kL8vI8yD6R+hZIkhXuEd1kLJPeNhrkxHwKOKPJTxoGV0NARxMVGHx7kpFDhFZtu2qvsOrfegghg9l05tilMTheq4x2FCbqq1U0xou1hgfSw/sW2PCisf/jO/PR/</diagram></mxfile> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.