Rhys Arkins
0e83d471fe
feat(github): pagination page limit
2018-07-03 11:53:09 +02:00
Rhys Arkins
c99c74b8e4
logs: additional logs for abuse detection rejection
2018-07-02 21:31:37 +02:00
Rhys Arkins
068ff16ec4
fix: Revert "feat: endpoint credentials handling ( #2146 )"
...
This reverts commit 04e0ca1f80
.
2018-07-02 13:18:37 +02:00
Dragomir Țurcanu
3e19a4708e
feat(gitlab): mergeBranch ( #2178 )
2018-07-02 11:27:08 +02:00
Ayoub Kaanich
04e0ca1f80
feat: endpoint credentials handling ( #2146 )
...
Refactors credentials/token handling to rely less on env variables and instead use an endpoints middleware for credentials handling.
First step towards #2105
2018-07-02 10:01:42 +02:00
Rhys Arkins
d2eb44ea04
fix(gitlab): massage state opened -> open
...
Closes #2200
2018-06-30 23:07:37 +02:00
Marvin Altemeier
a29228398a
fix(gitlab): correct prFiles gitlab api ( #2192 )
...
Fixes call to Gitlab API.
Settings require direct path to API, the fixed string doubled it
2018-06-29 12:09:11 +02:00
Rhys Arkins
b4f7ed2e0d
refactor: simplify mergeBranch
2018-06-28 13:56:08 +02:00
Rhys Arkins
aa4aee0e56
feat: check pr commit author against gitAuthor ( #2170 )
...
If gitAuthor is configured, checks that a PR’s commit matches. If not, it is assumed that someone else force pushed to the repo and we should not rebase it.
Closes #2169
2018-06-28 08:45:28 +02:00
Rhys Arkins
57249e105b
feat: pass gitAuthor to platform during init ( #2183 )
...
Refactors platforms to take the admin-only `gitAuthor` and `gitPrivateKey` values during repository initialisation instead of during file commits.
2018-06-27 18:40:54 +02:00
Dragomir Țurcanu
eec196b8b8
fix: Update GitLab wrapper and snapshots ( #2185 )
2018-06-27 10:35:33 +02:00
Dragomir Țurcanu
17005fa3e8
fix: Shortened the URLs in the GitLab wrapper ( #2184 )
...
fix: Shortened the URLs in the GitLab wrapper
2018-06-27 10:15:15 +02:00
Rhys Arkins
8da5888ef6
feat: combine branch automergeTypes
...
This deprecates branch-push and branch-merge-commit automergeTypes and replaces with “branch”, which has the same behaviour as the previous branch-push.
BREAKING CHANGE: branch-merge-commit automergeType behaviour is no longer supported, all branch automerges now use branch push approach.
2018-06-26 14:01:13 +02:00
Rhys Arkins
1362d980b9
logs: info not warn when branch automerge fails
2018-06-26 12:54:57 +02:00
Rhys Arkins
e51f152eaf
feat: gitlab recursive file list disabling
...
For very large repositories, recursing through the entire repo can be very time consuming. Bot admins can now disable file list recursion by setting the env `RENOVATE_DISABLE_FILE_RECURSION=true`. Then only files within the root directory of repositories will be found.
Closes #2172
2018-06-26 12:28:43 +02:00
Rhys Arkins
25ecbb8a18
fix: correct/update all urls
...
Updates renovateapp -> renovatebot
2018-06-26 11:31:18 +02:00
Rhys Arkins
1b935db8ad
fix: skip setBranchStatus when in forkMode
2018-06-26 10:51:27 +02:00
Dragomir Țurcanu
12519bbf8f
feat: Add GitLab issue functions ( #2150 )
...
This PR adds issue handling functions to the GitLab platform. The implemented functions are `getIssueList`, `ensureIssue` and `ensureIssueClosing` (migrated from GitHub).
Closes #1587
2018-06-21 08:39:24 +02:00
Rhys Arkins
65122fc3ba
fix: throw err for bad credentials when fetching commit messages
2018-06-20 07:38:02 +02:00
Rhys Arkins
6916d924c5
refactor(github): log rate limit when receiving bad-credentials
2018-06-19 19:18:01 +02:00
Dragomir Țurcanu
e82e5d0d7b
feat: GitLab getPrFiles
function ( #2131 )
...
This PR integrates the `getPrFiles` function into the GitLab's wrapper.
2018-06-19 13:39:25 +02:00
Rhys Arkins
67c7d9a6cf
fix(gitlab): remove absolute gitlab.com api endpoints
2018-06-15 07:20:48 +02:00
Dragomir Țurcanu
188005c91e
feat: GitLab wrapper commenting functionality ( #2091 )
...
Adds a series of functions related to the commenting aspect of GitLab for the API wrapper. These functions are: `getComments`, `addComment`, `editComment`, `deleteComment`, `ensureComment` and `ensureCommentRemoval`.
2018-06-12 07:18:28 +02:00
Rhys Arkins
801bfbef11
fix(github): don’t check branch protection if fork mode
...
Closes #2073
2018-06-08 11:33:46 +02:00
Rhys Arkins
98e9198c8e
refactor: replace indexOfs
2018-06-04 20:44:32 +02:00
Connor Brathwaite
398303235b
(refactor): delegate generic predicate checking to @sindresorhus/is ( #2021 )
...
Closes #1764
2018-06-04 20:07:22 +02:00
Rhys Arkins
b6ee52e74d
fix(github): do not retry blog size 403s
2018-06-03 09:44:35 +02:00
Dragomir Țurcanu
89978d4ebe
fix: GitLab MR rebasing logic ( #2006 )
...
Fixed the 404 error on branch rebasing. (GitLab)
Closes #1992
2018-05-23 19:26:56 +02:00
Rhys Arkins
2f1e1a979a
fix: Revert "feat: permission check in initRepo ( #1983 )"
...
This reverts commit 09978ae8dd
.
2018-05-19 09:15:10 +02:00
Dragomir Țurcanu
09978ae8dd
feat: permission check in initRepo ( #1983 )
...
Added permission checking on `initRepo` which, in case of an error, throws a clear message (`The token doesn't have the write permissions to the repository`)
Closes #509
2018-05-19 08:33:41 +02:00
Ayoub Kaanich
70252b0513
feat(github): parallel paginate ( #1973 )
...
Fetch pages 2..10 in parallel
Closes #1944
2018-05-16 07:23:59 +02:00
Rhys Arkins
f63a882cc7
logs: trace getFile
2018-05-16 06:37:01 +02:00
Rhys Arkins
fc203bcc89
refactor(github): do not retry 401 Bad Credentials
2018-05-16 06:04:55 +02:00
Rhys Arkins
0fa499cd66
fix: getPr canRebase calculation
...
Closes #1961
2018-05-13 14:36:56 +02:00
Rhys Arkins
37874127db
fix: return null for large files off master
2018-05-12 06:32:30 +02:00
Rhys Arkins
a8a3197629
fix(github): check pull request reviews before merging
2018-05-12 06:17:24 +02:00
Rhys Arkins
5dfe14b71c
logs: less getPrList
2018-05-09 18:44:41 +02:00
Rhys Arkins
9e47738e8e
fix: don’t attempt automerge if push protection enabled (github)
2018-05-09 08:53:57 +02:00
Rhys Arkins
ecdcd9df4f
feat: refactor dependency extraction ( #1912 )
...
Rewrite of dependency extraction, particularly for npm. Paves way for easier addition of new package managers.
Closes #1882
2018-05-09 08:03:59 +02:00
Rhys Arkins
1762ee68a0
feat: automergeComment ( #1906 )
...
Adds new option “pr-comment” for `automergeType` and a new option `automergeComment` to use in such a case.
2018-05-04 06:55:01 +02:00
Rhys Arkins
45dc236e40
fix: log request options with when errored
2018-05-03 19:18:53 +02:00
Rhys Arkins
6415833a4b
refactor: renovateapp.com -> renovatebot.com
2018-04-24 13:59:42 +02:00
Rhys Arkins
6eb5fe787b
fix: typo in large file tree url
2018-04-19 09:09:27 +02:00
Rhys Arkins
1564150d9f
refactor: streamline debug logging
2018-04-18 21:19:00 +02:00
renovate[bot]
106375295e
chore: update dependency prettier to v1.12.1 ( #1841 )
2018-04-17 08:29:55 +02:00
Sarun Intaralawan
776e516e83
feat: implement isBranchStale for GitLab ( #1833 )
...
Closes #1626
2018-04-14 21:47:22 +02:00
Rhys Arkins
5a6be0f9b2
fix: keep trying automerge if receiving a 405
...
GitHub forbids rebase merging if signed commits branch protection is enabled. We still want to try rebase first though, so will keep trying.
2018-04-11 10:39:12 +02:00
Rhys Arkins
f634812636
logs: improve merge status/result debug
2018-04-11 09:39:35 +02:00
Rhys Arkins
2dd588df06
fix: branch status check typo
2018-04-11 09:39:08 +02:00
Ayoub Kaanich
ec7f75cfe9
refactor: use delay for gh-got wrapper
2018-04-09 06:07:48 +02:00