Ratchanan Srirattanamet
9bcd6e6b55
fix: --auth when --git-user contains space ( #95 )
...
Since --git-user is a user-facing name, it's common to include a space
in it. As such, it's not suitable to use as a username in a Git remote
URL.
GitLab documented that it doesn't (yet?) check for username [1], and
from my testing GitHub doesn't seem to care either. So just use an
arbitrary name as a username.
[1] https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html
2024-02-23 10:30:18 +01:00
Ratchanan Srirattanamet
300fa91a8a
fix: --no-squash on single-commit GitLab MR ( #93 )
...
Due to off-by-one error in GitLabMapper, --no-squash was not effective
on an MR containing single commit. Fix by using the same condition as
GitHubMapper.
2024-02-20 14:24:08 +01:00
Andrea Lamparelli
70da575afc
feat(gh-85): take git tokens from environment ( #88 )
2023-12-10 22:05:53 +01:00
Shyim
ed32d2275b
fix: namespace parsing in gitlab ( #84 )
...
* fix: namespace parsing in gitlab
* test: add test for nested namespace
---------
Co-authored-by: Andrea Lamparelli <a.lamparelli95@gmail.com>
2023-12-05 16:08:49 +01:00
Andrea Lamparelli
9f0fbc0b2f
feat: integrate with codeberg ( #80 )
2023-08-18 13:15:38 +02:00
Andrea Lamparelli
5fc72e127b
feat(issue-77): handle multiple target branches ( #78 )
...
fix: https://github.com/kiegroup/git-backporting/issues/77
This enhancement allow users to backport the same change to multiple
branches with one single tool invocation
2023-08-03 21:57:11 +02:00
Andrea Lamparelli
bed7e29ddc
feat(issue-70): additional pr comments
2023-07-27 12:36:42 +02:00
Andrea Lamparelli
10a46551ee
refactor: move backport data generation to configs parser
2023-07-27 11:26:39 +02:00
Andrea Lamparelli
a8db0755a8
refactor: updated logging messages ( #65 )
2023-07-20 10:05:07 +02:00
Andrea Lamparelli
265955dda7
feat(issue-62): make cherry-pick strategy configurable ( #63 )
...
fix https://github.com/kiegroup/git-backporting/issues/62
2023-07-12 13:50:59 +02:00
Shubh Bapna
49a7350406
perf: use concurrent promises instead of awaiting them one by one ( #59 )
2023-07-11 22:15:52 +02:00
Andrea Lamparelli
c4dbb26c1d
feat(issue-54): backport pr commits without squash ( #55 )
...
* feat(issue-54): backport pr commits without squash
fix https://github.com/kiegroup/git-backporting/issues/54
* feat(issue-54): fixed readme
2023-07-11 11:22:01 +02:00
Andrea Lamparelli
a737aa7c4c
fix(issue-52): use pull request github api url as source ( #53 )
...
fix https://github.com/kiegroup/git-backporting/issues/52
2023-07-10 15:18:51 +02:00
Andrea Lamparelli
fcc01673f4
feat(issue-41): set and inherit labels ( #48 )
...
fix https://github.com/kiegroup/git-backporting/issues/41
2023-07-10 08:49:11 +02:00
Andrea Lamparelli
15b6dd63ec
refactor: transfer to kiegroup organization ( #46 )
...
* refactor: moved to @kiegroup organization
Starting from v4 the package/project has been moved under @kiegroup
organization.
* chore: release v4.0.0
* refactor: bper renamed to git-backporting
2023-07-06 14:19:04 +02:00
Andrea Lamparelli
5ead31f606
feat: config file as option ( #42 )
...
Fix https://github.com/lampajr/backporting/issues/37
This enhancement required a huge refactoring where all arguments
defaults have been centralized in one single place ArgsParser#parse
2023-07-05 22:11:23 +02:00
Andrea Lamparelli
107f5e52d6
feat: integrate tool with gitlab service ( #39 )
...
* feat: integrate tool with gitlab service
Fix https://github.com/lampajr/backporting/issues/30
2023-07-02 00:05:17 +02:00
Andrea Lamparelli
a30b6d6290
refactor: changed method name and removed useless data
2023-06-22 17:57:49 +02:00
Andrea Lamparelli
a32e8cd34c
feat: override backporting pr fields ( #38 )
...
* feat: override local git user config
* feat(issue-32): override reviewers and assignees
2023-06-22 17:44:14 +02:00
Andrea Lamparelli
7f9276f15b
chore: update readme
2023-06-20 23:24:29 +02:00
Andrea Lamparelli
941beda208
feat(issue-17): override backporting pr data ( #29 )
2023-06-20 22:29:52 +02:00
Andrea Lamparelli
b3936e019a
feat: pull request backporting
...
feat: backport still open pull requests
2023-01-05 11:41:14 +01:00