-
Notifications
You must be signed in to change notification settings - Fork 75
Backporting
We only backport bug-fixes. New features will not be backported. There is a 'needs backport' label which can be applied to a PR against master. Usually backports are created once the origin PR is merged. The reason for this is that you'd have to adjust your backport everytime something changes in the origin PR which is error-prone and can get confusing very quickly.
If you want to open a 'backport' for a given PR, you should follow some conventions
Example PR:
"fix a bug in module_x"
ID = 1000
Create a branch:
(wip)backport-$pulrequest_id
Find the sha of your commits in the original pull request and perform:
$ git cherry-pick -x $sha
After pushing the branch etc, please open a pullrequest against the target branch.
Github will autofill the subject and the body of the PR when you select the target PR in the dropdown menu.
Please make sure you follow the naming conventions. The backport should be named like that:
[backport][$target_branch] Name_of_the_original_PR
To the prefilled body, please add a reference to the original PR:
backport of #$ID
When the backport pullrequest is merged, the 'needs backport' label can be removed from the original pullrequest.
When the bug has any other mentions in a different bug tracking system, please add a small reference to the body.
Tracker A: bug_number
You don't need to assign any milestone to the backport.
When there is no master pullrequest to cherry-pick from, please add a proper description in the PR body.
- Prerequisites
- Manual Installation
- Custom Profiles
- Alternate Installations
- Automated Installation
- Purging
- Reinstallation
- Replacing an OSD
- Inspecting the Configuration
- Understanding Pathnames and Arguments
- Overriding Default Settings
- Overriding Default Steps
- Man Pages
- deepsea.1
- deepsea.7
- deepsea-commands.7
- deepsea-minions.7
- deepsea-monitor.1
- deepsea-policy.cfg.5
- deepsea-stage.1
- deepsea-stage-dry-run.1
- deepsea-stage-run.1
- deepsea-stages.7
- Backporting
- Testing
- Branches & Releases