Releases: sorenlouv/backport
4.6.6 Add `--reset-author` option
Adds --reset-author
flag which makes it possible to change the commit author to yourself.
This is useful when the original commit was made by a bot and a CLA check needs to be bypassed.
Example usage:
backport --reset-author
4.6.5 Add `--pr` option
Adds --pr
option which makes it possible to backport a commit by referencing the pull request that merged it.
Usage:
backport --pr 1337
Implemented in #145
4.6.4 Add `path` option
The --path
option makes it possible to only list commits that touches files under a specified path.
Example usage:
backport --all --path x-pack/legacy/plugins/apm
4.6.3 Adds `editor` option
PR: #142
This adds editor
option which allows the user to specify an editor of their choice that will be opened if a conflict occurs. Example usage:
{
"username": "sqren",
"accessToken": "very_secret_token",
"editor": "code"
}
or via cli:
backport --editor code
4.6.2 Disable fork mode with `fork=false`
Pull request: #141
Adds the ability to create backports in the origin repository instead of in a fork. Fork mode is still the default. To disable fork mode run backport --fork=false
or add it to the project config:
{
"upstream": "elastic/kibana",
"branches": [{ "name": "7.x", "checked": true }, "7.3", "7.2"],
"fork": false
}
4.6.0
- Show existing backports on commit list (Green is merged backports, and grey is pending backports)
- Add option to choose number of commits to be listed (
backport --commitsCount 20
) (Closes #76) - Add options to filter commits by username (
backport --author sqren
) - Show link to authorize sso on access token in error message
- do not track baseBranch when creating feature branch
- cleanup by removing local feature branch after push
- delete “origin” remote to avoid confusion
- Migrate some APIs to graphql (closes #63)
- Add integration test that run real git operations
v4.5.5
v4.5.4
v4.5.0 - 4.5.3
- More helpful message for handling conflict resolution (#120)
- Add ability to append text to PR description:
--prDescription
(#121) - Gracefully handle invalid access tokens (#128)
- Drop ssh keys requirement and use access token for everything (#115)
- Create an official Docker image, which allows users without Node.js and/or git to use Backport (#115)
4.4.2 - Update all dependencies to latest version
No user-facing changes.