bareos: master 3846671c

Author Committer Branch Timestamp Parent
arogge arogge master 2023-12-20 11:04 master b3579af9 Pending
Changeset pr-tool: add backport subcommand

This patch adds the new subcommand "backport" to pr-tool which supports
the following operations:

pr-tool backport create <pr> [--into <branch>]
  create a new backport-branch based on <branch> (or the current branch)
  and cherry-pick commits from <pr>

pr-tool backport cherry-pick [--reset]
  Re-run the cherry-pick from the original PR, optionally automatically
  resetting the base-branch

pr-tool backport publish [--dry-run]
  create the backport PR on GitHub
add - .github/backport_pr_template.md Diff File
mod - devtools/pip-tools/Pipfile Diff File
add - devtools/pip-tools/pr_tool/backport.py Diff File
mod - devtools/pip-tools/pr_tool/main.py Diff File