Commit graph

27 commits

Author SHA1 Message Date
Gabriel Melillo
defac5d831 feat(gitlab) multiple assignees support (#4851) 2019-11-25 17:13:39 +01:00
Rhys Arkins
d46bd277c7 fix(gitlab): handle authentication-error retrieving PRs 2019-11-24 21:43:46 +01:00
Rhys Arkins
473b7e1f4b refactor(eslint): enable @typescript-eslint/no-use-before-define 2019-11-24 05:09:13 +01:00
Rhys Arkins
da1f608588 fix(gitlab): Ignore setBranchStatus error 2019-10-13 07:46:12 +02:00
Florian Greinacher
53fc7d8a3e feat(gitlab): add support for 'merge when pipeline succeeds' (#4558)
This commit adds (back) support for GitLab's 'merge when pipeline succeeds'
feature. This feature needs to be enabled by bot owners explicitely because
of an possible race condition in current GitLab versions.

Closes #3265
2019-10-05 10:00:32 +02:00
Michael Kriese
77a0291d4d fix(platform): smart truncate pr body (#4527) 2019-09-25 12:42:11 +02:00
Michael Kriese
49325143bd feat(sanitize): refactor (#4479) 2019-09-12 12:48:31 +02:00
Rhys Arkins
95d54baf83
feat: centralized sanitation (#4446)
Adds a sanitize function to host-rules that redacts tokens and passwords from issues and PRs.

Closes #4444
2019-09-07 14:51:00 +02:00
Rhys Arkins
9ab4b5d4e9
feat: refactor pr.canRebase => !pr.isModified (#4385) 2019-08-29 10:30:17 +02:00
Edd Armitage
e10f590c9a fix(gitlab): follow pagination in getbranchstatus for gitlab (#4342)
There are cases where the first page of results is not representative of the entire branch's status, so we need to follow all pages in the result.

Closes #4340
2019-08-22 19:34:50 +02:00
Rhys Arkins
72404706ab feat(platform): return PR targetBranch 2019-08-14 11:48:56 +02:00
Rhys Arkins
1864d4ebf3 refactor(platform): return baseBranch from initRepo 2019-08-14 11:38:13 +02:00
Rhys Arkins
e602c4553d refactor(platform): use RepoConfig strictly 2019-08-14 10:51:12 +02:00
Rhys Arkins
f041d7d409
refactor: consolidate platform ts (#4283) 2019-08-14 06:04:09 +02:00
Sergio Zharinov
495e2f6217 fix: Allow for auto-merge of new PRs (#4236) 2019-08-02 15:10:26 +02:00
Jamie Magee
f334c568a5 feat(typescript): convert logger to typescript (#3671) 2019-07-15 11:04:05 +02:00
praveshtora
530e8cb036 feat: check for disabled renovate.json before cloning in platfo… (#3965) 2019-07-14 07:45:39 +02:00
Rhys Arkins
e3c46bb9a0
feat: gitlab optimization with caching fix (#4033)
Restores GitLab optimization but with caching and pagination fixes.

Co-authored-by: Lukas Eipert <leipert@users.noreply.github.com>
2019-07-10 13:18:51 +02:00
Michael Kriese
3ef1c95a66 chore(lint): optimize linting (#4041) 2019-07-10 10:41:12 +02:00
Rhys Arkins
cbf695bb39 fix: Revert "feat(gitlab): Improve performance for projects with a lot of branches (#3936)"
This reverts commit 9779d77eb1.
2019-07-09 07:55:01 +02:00
Lukas Eipert
9779d77eb1 feat(gitlab): Improve performance for projects with a lot of branches (#3936)
1. `findPr` also includes the `source_branch` API parameter which
shortens execution time considerably
2. `getPrList` also filters `author_id` for the renovate's user
2019-07-08 16:43:39 +02:00
Rhys Arkins
4ea03ac0b4 feat(gitlab): detect gitAuthor as part of initPlatform
GitLab self-hosted users now no longer need to manually configure gitAuthor if it matches with the bot account they’re using.
2019-06-13 07:25:39 +02:00
Rhys Arkins
df0d79f7de fix(gitlab): skip mirrored repositories 2019-06-13 06:05:58 +02:00
renovate[bot]
dab7b1c314 chore(deps): update dependency prettier to v1.18.0 (#3905) 2019-06-07 06:34:57 +02:00
Markus Heberling
c830f45484 feat(gitlab): use repository URL from API (#3900)
This allows to access gitlab servers running with a relative url root
* https://docs.gitlab.com/omnibus/settings/configuration.html#configuring-a-relative-url-for-gitlab
2019-06-06 17:06:04 +02:00
Rhys Arkins
08ea666bd5 fix(gitlab): log initRepo err 2019-06-05 18:45:40 +02:00
Michael Kriese
cd0a3bd675 feat(gitlab): convert to typescript (#3824) 2019-05-29 14:00:56 +02:00
Renamed from lib/platform/gitlab/index.js (Browse further)