Releases: sorenlouv/backport
v8.3.1
v8.3.0
v8.1.0
v8.0.0
Fix formatting of github comment (#317)
New signature of backportRun
const result = await backportRun({
options: {
accessToken: '...',
repoOwner: 'elastic',
repoName: 'kibana',
pullNumber: 12
}
});
Other improvements
- Improved json output when running in CI
- Added
exitCodeOnFailure
to prevent the process from setting a non-zero exit code on failure - replace insecure
exec
with slightly more securespawn
- Lots of tests
v7.4.0
v7.3.0
v7.2.0
v7.0.0
Improve clone speed for big repos (#293)
When initiating the backport process from an existing repository, the clone process can be sped significantly by cloning the local repository instead of the remote repository. For big repositories this changed the clone time from 15 minutes to less than 1 minute.
Bug fix: Show commits in list regardless of merge method (#297)
A bug introduced previously caused some commits to not show up if the resulting pull request was merged or rebased, as opposed to squash merged.
With the fix all commits should again be displayed regardless of merge method.
v6.1.5
--until
and --since
flags (#286)
Ability to filter commits by date
backport --all --since "2020-02-03" --until "2020-02-04"
--dir
flag (#288)
By default the temporary repo will be checked out in ~/.backport/repositories/{project}
. This option allows the user to specify the location of the temporary repository for the project.
--publishStatusComment
(#288)
This setting makes it possible to disable posting of status comments on source pull requests
v6.1.1
username
is no longer required but instead inferred fromaccessToken
upstream
has been replaced byrepoOwner
andrepoName
--all
has been changed to a cli-only flag. It now simply setsauthor=null
.
Public API:
- Add
getCommits
API: Retrieve information about commits and whether they are backported - Rename
run
tobackportRun