feature request: use source PR labels to pick branches to backport to
See original GitHub issueFirst off: awesome project! Thank you for your work.
I have a feature request, and would love to hear your thoughts. It would be really nice if it were possible to create some feature PR that will later need to be backported. Often you know beforehand where it should be backported to. One could use GitHub labels to mark that all PRs with label backport-v1
should later be backported to the v1
branch. If a label system like that is applied, running backport --pr 123
could read those labels and preselect all the right branches.
Being able to determine ahead of time where we backport to would really improve our workflow. I’m guessing we may not be alone in that.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
From zero to hero on backporting pull requests - Quarkus
The number of pull requests to backport is enormous and doing it via ... (click PR, copy/paste commit hashes to cherry-pick, remove label, ......
Read more >Kata Containers stable backport workflow - GitHub
Creating a new local branch from the stable tree you are targeting. · Selecting (or "cherry picking") the commits from your main branch...
Read more >Preparing a Pull Request - garage - Read the Docs
On the next page, select rlworkgroup/garage as the base repository and your feature branch as the head repository. This will submit a PR...
Read more >Accepting Pull Requests - Python Developer's Guide
This page is a step-by-step guide for core developers who need to assess, merge, and possibly backport a pull request on the main...
Read more >The Ansible Development Process
Backport Pull Request Process¶ · Prepare your devel, stable, and feature branches: · Cherry pick the relevant commit SHA from the devel branch...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I like it 👍
For the initial implementation I’ll enable this behaviour when running
backport --pr
andbackport --sha
and leave it out forbackport --multiple
until I have a better idea of how it should behave.@spalger I think you had a suggestion similar to this a long time ago. Would the hybrid approach work for your use case?
@sqren Flippin’ awesome! 😃 I will let you know if anything comes up (although tbh, it may take a while before I get my hands on it).