question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

feature request: use source PR labels to pick branches to backport to

See original GitHub issue

First 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:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
sqrencommented, Apr 14, 2020

How about a hybrid (example adapted to my scenario):

I like it 👍

Running backport

For the initial implementation I’ll enable this behaviour when running backport --pr and backport --sha and leave it out for backport --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?

1reaction
ronkorvingcommented, Apr 16, 2020

@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).

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found