Here is the set of documentation on how to backport a change into a 0.XX-stable
branch.
0.XX-stable
branch you wish to backport to:
0.XX-stable
branch in your fork of react-native-windows, run git fetch --recurse-submodules upstream && git checkout 0.XX-stable && git merge upstream/0.XX-stable && git push
.0.XX-stable
branch in your fork of react-native-windows, checkout the branch and rebase by running git pull upstream 0.XX-stable --rebase
.0.XX-stable
branch, checkout a fresh branch which will the branch that holds your backport changes: git checkout -b backport<commit>
git cherry-pick <commit>
.
yarn change
at the root of the repo, in case the change type options are different on the 0.XX-stable
branch you want to backport to (i.e. if the 0.XX-stable branch is no longer in preview, the types will change and not adjusting the change file type will break the publish pipeline).git push -u origin
.0.XX-stable
as the branch you want to compare your changes against (it will default to main
).Typically, we will accept backports up to the n-1 branch, where n is the version marked latest
.
The answer to this depends on the branch you are attempting to backport to. If the branch is in preview (i.e. it is the most recent 0.XX-stable
branch that has only been release in preview, but not as 0.XX.0
yet), most changes are fair game, with the caveat that they must be thoroughly tested; we don't want to break a stable branch.
If the branch has already been released (i.e. it's version structure matches 0.XX.0
), we will not accept changes to the app/module templates. This is because we don't want developers who are making minor version updates to see changes to their app/module templates. This source should stay consistent across a particular 0.XX
.
In general, smaller scope changes are more likely to be taken than larger changes, as they hold less risk for breaking the platform.
In general, it is always good to ask yourself "Is this change needed in 0.XX
, or can it be pushed to the next version of RNW?", "What users are on 0.XX
that need this change?"
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4