Michael Kriese
cd0a3bd675
feat(gitlab): convert to typescript ( #3824 )
2019-05-29 14:00:56 +02:00
Ciprian Mandache
8a19ee2bf6
feat(github): use graphql instead of rest api for issue list ( #3808 )
2019-05-28 14:17:09 +02:00
Michael Kriese
0b063aeaa1
feat(build): use babel ( #3825 )
2019-05-28 11:21:17 +02:00
Rhys Arkins
73f953ca94
refactor(gitlab): use util/got/auth
2019-05-27 09:29:22 +02:00
Rhys Arkins
7a1703372b
refactor(github): better retry logic
2019-05-27 09:07:52 +02:00
Rhys Arkins
e16487b824
fix(github): don’t unnecessarily retry
2019-05-27 08:57:40 +02:00
Rhys Arkins
4b907eb70d
refactor(github): use util/got ( #3816 )
2019-05-27 07:39:01 +02:00
Rhys Arkins
35f1f83371
chore: fix lint
2019-05-26 21:37:27 +02:00
Rhys Arkins
5d4e66144c
fix(github): useCache
2019-05-26 21:17:00 +02:00
Rhys Arkins
ec301b1c48
refactor(bitbucket-server): use util/got ( #3815 )
2019-05-26 20:51:27 +02:00
Rhys Arkins
02b5f2e4be
refactor(gitlab): use util/got ( #3814 )
2019-05-26 19:05:05 +02:00
Rhys Arkins
e0766fa5ee
refactor: bitbucket got ( #3813 )
2019-05-26 11:25:24 +02:00
Rhys Arkins
47edd88755
refactor(bitbucket): simplify auth ( #3810 )
2019-05-25 08:13:55 +02:00
Rhys Arkins
5b0ef9409f
refactor: bitbucket useCache
2019-05-25 07:58:57 +02:00
Rhys Arkins
439e19d78c
chore: remove all gitFs references ( #3807 )
2019-05-25 06:23:44 +02:00
Rhys Arkins
5f11c5e8d9
feat: hostRules rewrite ( #3801 )
...
Rewrites hostRules for increased flexibility. Includes renames of existing fields within a hostRule:
- `endpoint` -> `baseUrl`
- `host` -> `hostName`
Additionally, `domainName` has been added. Migration scripts should take care of these for users but it's recommended to update configs to match the new fields anyway.
2019-05-24 17:40:39 +02:00
Rhys Arkins
2426a5239f
feat(github): use git for all file operations ( #3806 )
...
With Renovate’s github platform code now using git for all file system operations, we need to tell Renovate which gitAuthor to use.
If you had already configured a gitAuthor in your bot config, you do not need to make any change.
Otherwise, to keep functionality as before, you should either:
(1) configure `gitAuthor` to match the bot’s account, or
(2) recreate your bot’s personal access token to include the “user:email” permission so that the bot can retrieve the email itself
BREAKING CHANGE: GitHub bot admins should either configure gitAuthor in their config or generate a new token with “user:email” permissions.
2019-05-24 16:34:52 +02:00
Michael Kriese
5f213255d0
test: fix coverage ( #3794 )
2019-05-24 15:01:07 +02:00
Rhys Arkins
b53c4c09cb
Revert "feat(github): gitFs-only ( #3736 )"
...
This reverts commit acb493be95
.
2019-05-24 12:08:55 +02:00
Rhys Arkins
acb493be95
feat(github): gitFs-only ( #3736 )
...
The github platform code will now use git "under the hood" instead of plucking files one by one from GitHub's API.
2019-05-24 11:50:11 +02:00
Rhys Arkins
1f6d18fcd6
fix(github): use defaults.endpoint
...
Closes #3787
2019-05-21 17:16:27 +02:00
Rhys Arkins
c02abf0976
feat: rename hostRules.platform to hostRules.hostType ( #3768 )
...
Refactors hostRules to use field “hostType” instead of “platform”. hostType can include datasources like npm, maven, pypi, etc.
2019-05-21 13:20:09 +02:00
Michael Kriese
0ecc16baf0
chore(build): fix linting ( #3769 )
2019-05-21 11:15:50 +02:00
Michael Kriese
314889031e
feat(bitbucket): convert to typescript ( #3767 )
2019-05-21 10:34:28 +02:00
Rhys Arkins
3b69de91e1
chore: remove debugger statements
2019-05-21 09:57:57 +02:00
Rhys Arkins
73a2b42ac2
fix: clear and apply hostRules before each repo
2019-05-21 08:45:30 +02:00
Ciprian Mandache
05ec931f36
fix: remove checkbox hints + checkbox formatting for bitbucket via readOnlyIssueBody() transformer ( #3765 )
2019-05-21 08:21:44 +02:00
Michael Kriese
cc52c20533
feat(bitbucket-server): convert to typescript ( #3756 )
2019-05-20 15:08:18 +02:00
Rhys Arkins
ee218097dc
feat: refactor platform authentication ( #3758 )
2019-05-20 10:59:30 +02:00
Michael Kriese
61bdb3e14b
fix(bitbucket-server): wrong stale pr check ( #3754 )
2019-05-20 05:44:14 +02:00
Rhys Arkins
a9674a5485
fix(bitbucket-server): determine gitFs type automatically
2019-05-19 09:44:57 +02:00
Rhys Arkins
9c9161d36c
fix(github): autodiscover 100 per page
2019-05-18 18:58:32 +02:00
Rhys Arkins
a1a7b307a3
fix(gitlab): don’t warn if more than one MR assignee
2019-05-18 06:45:57 +02:00
Rhys Arkins
cbde6ca387
fix(gitFs): set branchExists=true after create
2019-05-17 19:47:10 +02:00
Rhys Arkins
6f7ac2c173
fix: Revert "fix(gitFs): better branch fetch"
...
This reverts commit 7324e4cdd9
.
2019-05-17 17:56:57 +02:00
Rhys Arkins
7324e4cdd9
fix(gitFs): better branch fetch
2019-05-17 16:59:48 +02:00
Rhys Arkins
c59233819b
fix(gitFs): post-commit fetch
2019-05-17 16:56:08 +02:00
Rhys Arkins
b701e15870
fix(gitFs): fetch branch after creating
2019-05-17 14:12:28 +02:00
Michael Kriese
ab5a531ada
fix(gitFs): force update diverged branches ( #3737 )
2019-05-17 13:43:00 +02:00
Rhys Arkins
8f6e124998
fix(semantic-commits): fix lazy git semantic commit detection ( #3735 )
2019-05-17 10:24:29 +02:00
Rhys Arkins
3215d2966a
feat(gitFs): lazy fetching ( #3638 )
...
Instead of shallow cloning every branch (using —no-single-branch), we now clone only the default branch and lazy fetch the others as needed.
2019-05-17 08:10:40 +02:00
Michael Kriese
affc0116f0
fix(gitFs): fix fetch args ( #3723 )
...
fix(gitfs): fix wrong fetch arguments
2019-05-16 17:01:25 +02:00
Rhys Arkins
ca6320d95d
fix(gitFs): catch missing baseBranch
2019-05-16 13:38:21 +02:00
Michael Kriese
0189dd8c4b
feat: convert storage to typescript (part2) ( #3690 )
2019-05-16 13:00:40 +02:00
Rhys Arkins
2ff1dedb85
fix(gitFs): use force checkout between branches
2019-05-15 18:51:29 +02:00
Michael Kriese
966e7c41cc
feat: convert storage to typescript ( #3686 )
2019-05-15 15:40:29 +02:00
Rhys Arkins
6ec1aac9ad
fix(platform): always set baseBranch
2019-05-15 13:04:16 +02:00
Rhys Arkins
0569e9e40a
fix(gitFs): run git checkout/reset when setting base branch
2019-05-15 13:00:01 +02:00
Michael Kriese
e8814be71b
feat(gitFs): small refactorings ( #3701 )
2019-05-15 12:03:28 +02:00
Michael Kriese
90bcbedb0b
fix(gitFs): fix fetch arguments ( #3696 )
2019-05-15 09:22:47 +02:00
Michael Kriese
5c4e53498a
fix(platform): check branch exists before retrieving status ( #3695 )
2019-05-15 08:22:33 +02:00
Michael Kriese
6b00f2928d
fix(gitfs): fix fetch args again ( #3684 )
2019-05-14 13:05:10 +02:00
Michael Kriese
5b81a330ab
fix(git): wrong fetch args ( #3663 )
2019-05-14 12:22:17 +02:00
Rhys Arkins
982a8edcb7
test: fix tslint
2019-05-14 12:00:50 +02:00
Johan Hillerström
88b1f0f0c1
feat(devops): Add azureAutoComplete config option ( #3661 )
2019-05-13 16:19:31 +02:00
Rhys Arkins
2ccfff5e66
fix(gitlab): detect forks
...
Closes #3679
2019-05-13 12:20:22 +02:00
Michael Kriese
0143c20c08
feat(bitbucket-server): use default reviewers ( #3647 )
2019-05-10 13:28:35 +02:00
Michael Kriese
1d474e409f
feat: add 60s timeout to all requests ( #3641 )
2019-05-10 11:54:01 +02:00
Rhys Arkins
f2b48c8383
feat: gitFs-only for GitLab
...
The gitlab platform is now implemented using gitFs over http/https. Ensure you are using a Personal Access Token with “api” scope. Remove any custom “gitFs” config option now - it will be autodetected based on the endpoint value. For most - maybe all - users, there should not be any change required at all.
Closes #3478
BREAKING CHANGE: gitlab platform is now gitFs only and requires a Personal Access Token with api scope.
2019-05-09 12:37:11 +02:00
Matt Lavin
44f8f328d1
fix(bitbucket): Close PRs when deleting branches ( #3646 )
2019-05-09 06:43:54 +02:00
Rhys Arkins
55829d0156
feat(gitFs): cache branchExists results
2019-05-05 06:00:03 +02:00
Michael Kriese
c6b4e70324
fix(bitbucket-server): add canRebase check ( #3626 )
2019-05-03 08:53:48 +02:00
Michael Kriese
45dba15b74
fix(bitbucket-server): check for stale pr ( #3625 )
2019-05-03 07:03:38 +02:00
Rhys Arkins
d3dbd937c4
fix(gitlab): better debugging of pr.canRebase
2019-05-02 23:34:52 +02:00
mohd hassaan
e4f8566f54
fix(azure-devops):Sanitize azure devops repoName ( #3620 )
...
fix(azure-devops): Sanitize azure devops repo name
2019-05-01 16:55:17 +02:00
Rhys Arkins
7e7b6ab782
tests: fix coverage
2019-05-01 10:41:50 +02:00
Rhys Arkins
bab94337eb
fix(gitFs): try/catch deletes
2019-05-01 09:33:44 +02:00
Rhys Arkins
af00e9fc25
logs: debug more gitFs
2019-05-01 09:32:44 +02:00
mohd hassaan
eb936b4236
fix: autoclose resolved deprecated issues ( #3611 )
2019-05-01 09:28:30 +02:00
Rhys Arkins
fca98414e9
refactor: use git.raw
2019-04-30 11:02:23 +02:00
Rhys Arkins
5e0c788349
logs: log closed issue title
2019-04-30 10:09:15 +02:00
Rhys Arkins
ee0c6fb388
fix(gitFs): clean branches
2019-04-30 10:04:16 +02:00
Rhys Arkins
7fdf6e8652
fix(github): log full err if failing a 5xx response
2019-04-28 22:11:02 +02:00
Rhys Arkins
5aed5026c6
fix: pass platform-failure up when updating PR
2019-04-28 21:43:25 +02:00
Rhys Arkins
0c9e412ea0
feat(gitFs): support deleted files
2019-04-25 23:13:59 +02:00
Rhys Arkins
34fbb7c5a7
fix(github): try/catch getCommitStatus check
2019-04-25 18:18:18 +02:00
Michael Kriese
5306e6bdf2
fix(bitbucket-server): fix race condition ( #3592 )
2019-04-25 14:43:21 +02:00
Rhys Arkins
788215af99
fix(gitlab): Revert "feat(gitlab): try merging PR on creation ( #3308 )"
...
This reverts commit 8bd75923bb
.
Reverting until https://gitlab.com/gitlab-org/gitlab-ce/issues/56698 is fixed by GitLab
2019-04-25 10:47:29 +02:00
Johan Hillerström
16eca4ec4e
fix(azure-devops): Sanitize azure devops project name ( #3582 )
2019-04-23 16:03:58 +02:00
Jamie Magee
4b9a18ff66
fix(azure): update add reviewers to use up-to-date API ( #3532 )
...
Also support adding teams as reviewers
Fixes #3183
2019-04-16 10:54:56 +02:00
Jamie Magee
6ca8991c3a
feat(azure-devops): link to an existing work item when creating PRs ( #3542 )
...
Looks like I was (happily) wrong about this. There is currently no API to add a work item to a PR as an individual action. Instead you have to link the work item when creating the PR, or by using the `updatePullRequest` API.
I've tested with the default (0), a non-existent work item ID, and a real work item ID, and they all work with this implementation.
Fixes #3395
2019-04-15 14:57:54 +02:00
Rhys Arkins
7e8b5497d2
fix(gitFs): disable signing if gitPrivateKey is missing
2019-04-12 12:44:28 +02:00
Rhys Arkins
e9c8367032
fix(gitFs): detect empty when checking latest commit
2019-04-12 10:18:10 +02:00
Rhys Arkins
f8b6eefb3a
logs: log latest commit time
2019-04-11 09:35:32 +02:00
Rhys Arkins
672c3c62ca
fix(github): warn if PR cannot be updated
2019-04-11 09:20:39 +02:00
Rhys Arkins
468f1ddb4c
fix(gitFs): unshift
2019-04-10 20:13:45 +02:00
Rhys Arkins
5a8bcffb68
fix(gitFs): force renovate.json add
2019-04-10 17:12:57 +02:00
Matt Lavin
47e8dd9ac2
feat(bitbucket): Enable bitbucket reviewers ( #3509 )
...
feat(bitbucket): Enable bitbucket reviewers
2019-04-09 15:46:40 +02:00
Rhys Arkins
56ea312970
fix(bitbucket): createPr return number, not id
2019-04-09 14:51:56 +02:00
Nick Oliver
ec16c8b2b8
fix(bitbucket-server): revert encode auth in URL ( #3511 )
...
This reverts commit 3e66e019e4
.
2019-04-09 08:32:05 +02:00
Rhys Arkins
5da2aa7946
feat: gitFs signed commits
...
Document how to sign gitFs commits, remove the disabling of gpg signing.
Closes #3053 , Closes #3472
2019-04-07 18:53:52 +02:00
Nick Oliver
2c3207cf45
fix(bitbucket-server): use endpoint path in repo URL ( #3494 )
...
The path in the endpoint configuration, if present, needs to be used in the URL generated for the git clone.
2019-04-07 08:00:50 +03:00
Rhys Arkins
ca77ce951d
docs: update bitbucket server status
2019-04-06 08:38:48 +02:00
Nick Oliver
dbada62dc0
fix(bitbucket-server): encode auth in URL ( #3493 )
2019-04-06 09:26:10 +03:00
Rhys Arkins
7157d0a149
test: fix lint
2019-03-28 11:16:13 -04:00
Rhys Arkins
110df54e70
fix(bitbucket-server): better massaging of retry checkbox
2019-03-28 11:14:05 -04:00
Jamie Magee
80f8687f3e
feat: azure devops support for labels ( #3396 )
2019-03-28 09:07:29 -04:00
Michael Kriese
8de1b6d1c1
feat(bitbucket-server): add getPrFiles ( #3457 )
2019-03-28 09:04:25 -04:00
Michael Kriese
fbce5f16cf
fix(bitbucket-server): fix comment version ( #3456 )
...
fix(bitbucket-server): fix comment version
2019-03-27 06:48:55 -04:00
Rhys Arkins
c26458f8f4
refactor: throw disable-gitfs error
...
Handle actions/gitfs conflict gracefully
2019-03-21 09:25:14 +01:00
Rhys Arkins
5ca91ee9f6
refactor: warn if github actions / gitfs bug found
2019-03-21 07:19:43 +01:00
Rhys Arkins
07598efa37
fix: move git author logic to global worker and validate ( #3410 )
2019-03-19 17:21:19 +01:00
Rhys Arkins
6eec81fc49
refactor(github): log gitAuthor
2019-03-18 19:15:47 +01:00
Rhys Arkins
75608e9f6d
refactor: simpler gitAuthor log
2019-03-17 21:54:39 +01:00
Rhys Arkins
aac87e26f0
refactor(gitFs): log git author
2019-03-17 18:51:57 +01:00
Rhys Arkins
e3cd9c475b
fix(gitFs): use origin base branch for branches list
2019-03-17 10:30:28 +01:00
Rhys Arkins
0576d4831b
fix(github): don’t throw empty for every fileList 404
2019-03-17 08:17:43 +01:00
Rhys Arkins
61ce454d35
fix(github): limit pagination concurrency to 5
2019-03-17 07:22:18 +01:00
Rhys Arkins
d8614aa785
fix(gitFs): gracefully handle git config failure
2019-03-16 07:55:39 +01:00
Rhys Arkins
c8bc40e0ae
fix(github): catch empty repository in getFileList
2019-03-16 07:10:41 +01:00
Jamie Magee
ec4328e8d6
fix: Azure fetch all PRs, not just open ( #3380 )
...
Requesting PRs without setting status, limits the PRs returned to those that are open only. See https://github.com/Microsoft/azure-devops-node-api/blob/master/api/interfaces/GitInterfaces.ts#L2812-L2833
Fixes #3367
2019-03-13 20:54:33 +01:00
Jamie Magee
9005f30ae3
fix(azure-devops): findPr ( #3366 )
...
Azure DevOps Node API expects search criteria not null or undefined
https://github.com/Microsoft/azure-devops-node-api/blob/master/api/GitApi.ts#L4128-L4130
2019-03-12 20:22:14 +01:00
Rhys Arkins
941169c40f
fix(github): throw if getFileList fails
2019-03-12 20:01:57 +01:00
Rhys Arkins
cb79338984
fix(github): forkMode + gitFs
...
Closes #3355
2019-03-11 23:29:50 +01:00
Florian Greinacher
8bd75923bb
feat(gitlab): try merging PR on creation ( #3308 )
2019-03-11 10:07:54 +01:00
Rhys Arkins
9cd81a0b6d
feat(github): include vulnerability descriptions
2019-03-10 08:40:28 +01:00
Rhys Arkins
eb5ccffdcd
fix: update GitHub vulnerability alerts parsing
...
Closes #3340
2019-03-09 07:16:12 +01:00
Rhys Arkins
37bac1e30c
fix(bitbucket-server): detect empty repos
...
Closes #2831
2019-03-08 11:49:47 +01:00
renovate[bot]
3a7afd768f
chore(deps): update dependency jest to v24 ( #3316 )
2019-03-07 12:38:59 +01:00
Rhys Arkins
524be026a6
fix(gitlab): branch status failed/failure
2019-03-01 10:39:09 +01:00
Michael Kriese
2a6caa9469
fix(bitbucket-server): wrong version number. ( #3264 )
...
fix(bitbucket-server): wrong version number.
2019-02-25 16:03:10 +01:00
Michael Kriese
9fc632da03
fix(bitbucket-server): refresh pr after update /merge /delete. ( #3261 )
2019-02-25 12:27:43 +01:00
Michael Kriese
0e8111a330
feat(bitbucket-server): caching ( #3258 )
2019-02-24 17:07:16 +01:00
Rhys Arkins
b66ed9add0
fix(gitFs): clean before changing branch
2019-02-24 08:39:44 +01:00
Michael Kriese
ccc5473188
fix(bitbucket-server): get only writable repos. ( #3256 )
...
fix(bitbucket-server): get only writable repos.
2019-02-23 11:58:07 +01:00
Michael Kriese
fdff32eecd
fix(bitbucket-server): fix missing reviewers. ( #3253 )
...
fix(bitbucket-server): fix missing reviewers.
2019-02-21 19:51:57 +01:00
Michael Kriese
f37ac61a72
fix(bitbucket-server): Fix caching errors. ( #3252 )
...
fix(bitbucket-server): Fix caching errors.
2019-02-21 18:18:56 +01:00
Michael Kriese
70232a31b2
fix(bitbucket-server): Fix status handling ( #3250 )
...
fix(bitbucket-server): Fix status handling
2019-02-21 17:10:56 +01:00
Michael Kriese
dff1472451
feat(bitbucket-server): add pr comments ( #3251 )
...
This pr add comment handling for bitbucket server pull requests.
2019-02-21 16:30:01 +01:00
Michael Kriese
3feb3e3ee4
feat(bitbucket-server): add branch status handling.
2019-02-21 13:12:17 +01:00
Michael Kriese
af00dbe850
fix(bitbucket-server): catch failed PR merges ( #3245 )
2019-02-20 18:56:19 +01:00
Michael Kriese
73b67ba756
fix(bitbucket-server): fix missing git author and key. ( #3244 )
...
fix(bitbucket-server): fix missing git author and key.
2019-02-20 12:03:41 +01:00
Michael Kriese
1f8e25cdf6
fix(bitbucket-server): fix pr createdAt mapping. ( #3243 )
...
fix(bitbucket-server): fix pr createdAt mapping.
2019-02-20 11:40:39 +01:00
Michael Kriese
cf3182d380
fix(bitbucket-server): do not recreate pr if closed /declined ( #3237 )
2019-02-19 16:54:43 +01:00
N Oliver
4fded73b62
fix(bitbucket-server): honor the path portion of the endpoint config
...
fixes #3225
2019-02-19 10:26:56 +01:00
N Oliver
972bc555d5
fix(bitbucket-server): get the PR version before auto-merging
2019-02-19 10:26:56 +01:00
Rhys Arkins
dc96e15e5e
docs: bb server reviewers
2019-02-18 16:29:58 +01:00
Rhys Arkins
e50d3dcd12
logs: branchName with file tree error
2019-02-18 16:13:37 +01:00
Michael Kriese
29ccbf4512
feat(bitbucket-server): reviewers ( #3230 )
2019-02-18 14:11:44 +00:00
Rhys Arkins
de6b1c4566
refactor(github): log err with file list error
2019-02-18 13:22:01 +01:00
Michael Kriese
bb15977e39
fix(gitFs): set explicit remote branch ( #3229 )
...
This pr fixes the windows specific git bug by setting the remove branch name explicitly when pushing.
Closes #3204
2019-02-18 11:52:10 +00:00
Rhys Arkins
5b0f801eec
fix(bitbucket-server): catch empty pull requests
2019-02-18 10:39:55 +01:00
Rhys Arkins
48bd25dbda
fix(bitbucket-server): pr check after deleting branch
...
Closes #3228
2019-02-18 10:36:03 +01:00
Rhys Arkins
9f3bc53e1c
logs: better gitFs branch deletion debug
2019-02-18 10:35:36 +01:00
Rhys Arkins
268c86b0ff
fix(gitlab): err.message typo
2019-02-15 10:39:40 +00:00
Rhys Arkins
d35b673323
refactor(github): don’t warn deleting protected branch
2019-02-13 12:46:26 -05:00
Rhys Arkins
9507062e85
refactor(gitlab): don’t warn for status transition errors
2019-02-13 11:47:07 -05:00
Rhys Arkins
fb891c9796
refactor: debug log unauthorized integration
2019-02-13 10:08:06 -05:00
Rhys Arkins
047245260e
Update README.md
2019-02-09 07:07:44 +01:00
Rhys Arkins
647f9d1d48
Update README.md
2019-02-09 07:07:44 +01:00
Rhys Arkins
e91809c3fa
feat(azure): gitFs support ( #3186 )
...
Closes #2811
2019-02-08 11:20:04 +01:00
Vladimir Starkov
8a841a7c81
feat(bitbucket): Bitbucket Server platform support ( #2774 )
...
Closes #2482
2019-02-07 20:04:23 +01:00
Rhys Arkins
dcabf4132e
docs: update bitbucket cloud readme
2019-02-07 13:57:53 +01:00
Rhys Arkins
b1cc20d891
refactor(github): don’t warn if failing to comment on locked issue
2019-02-05 06:41:51 +01:00
Rhys Arkins
7fb7b93ef7
feat(bitbucket): git fs ( #3168 )
...
Adds gitFs support to Bitbucket Cloud. It is now mandatory to configure Bitbucket with username/password instead of token.
Closes #2550 , Closes #3024
2019-02-04 16:03:02 +01:00
Rhys Arkins
1ac01f1d13
refactor(bitbucket): no token initRepo
2019-02-04 12:42:38 +01:00
Rhys Arkins
f6d8eb7a68
Revert "refactor(gitlab): always debug merge err"
...
This reverts commit 6237a7f4a3
.
2019-02-03 06:00:14 +01:00
Rhys Arkins
6237a7f4a3
refactor(gitlab): always debug merge err
2019-02-02 16:01:22 +01:00
Rhys Arkins
47305e6031
fix(github): catch 404 when committing files
2019-02-02 03:02:12 +01:00
Rhys Arkins
7f47d45784
fix(gitlab): do extra branchPrefix filter
...
Closes #3129
2019-01-29 11:55:13 +01:00
Lukas Eipert
5aa73a16c9
perf(gitlab): Use gitlab's API to find renovate branches ( #3115 )
...
Instead of retrieving all branches and filtering later on, we make use
of GitLab's search: https://docs.gitlab.com/ee/api/branches.html
2019-01-28 02:39:44 +01:00
Rhys Arkins
66062d946e
fix(github): handle comment failure
2019-01-24 06:30:17 +01:00
Rhys Arkins
e8a487a90f
refactor: drop mirrorMode
2019-01-23 00:05:56 +01:00
Ilya Savchuk
f6ed2256f7
refactor: changed all VSTS to Azure DevOps ( #3022 )
...
Rename all VSTS references to be Azure DevOps.
Closes #2810
BREAKING CHANGE: 'vsts' platform is now renamed to 'azure'
2019-01-22 09:41:06 +01:00
Rhys Arkins
b9d19e6738
fix(github): delinkify markdown references
...
Closes #3082
2019-01-18 10:35:21 +01:00
Rhys Arkins
525fed3069
fix(github): throw if GitHub Pro limitation
2019-01-15 11:15:23 +01:00
Rhys Arkins
c02323ca5a
fix(github): check username after hostRules update
2019-01-13 07:16:57 +01:00
Rhys Arkins
bd1785558a
refactor: appSlug for rebase
2019-01-10 12:40:56 +01:00
Rhys Arkins
f7f0d8750f
feat: togithub.com redirect
...
Change github redirect links from renovatebot.com/gh/ to togithub.com
2019-01-08 05:44:42 +01:00
Rhys Arkins
76b9db414d
fix: Revert "feat(github): allow positive PR reviews to override changes requested ( #3037 )"
...
This reverts commit 9af3ef2ee1
.
2019-01-07 07:37:10 +01:00
Fedor Lukyanov
1a7326efeb
refactor: Extract mask token function from npm datasource to utils ( #3040 )
...
Helps with https://github.com/renovatebot/renovate/pull/3039 😄
2019-01-07 06:38:24 +01:00
rtaum
9af3ef2ee1
feat(github): allow positive PR reviews to override changes requested ( #3037 )
...
Closes #3012
2019-01-06 17:56:30 +01:00
Rhys Arkins
55257fff26
feat: centralise app strings ( #3032 )
2019-01-06 14:47:42 +01:00
Rhys Arkins
e19294e894
feat: centralise config file list ( #3031 )
2019-01-06 06:03:26 +01:00
Rhys Arkins
67e3825f42
refactor: renovateFork -> includeForks
2018-12-31 07:46:00 +02:00
rtaum
9bee58143f
feat(github): Block automerging if negative reviews exist ( #3007 )
...
If an automerging PR has negative/disapproving reviews, then do not automerge it until they are approved or dismissed.
Closes #2949
2018-12-28 06:40:48 +02:00
Sarun Intaralawan
0fffecb636
fix(gitlab): close and reopen MR while rebasing to prevent errorneous GitLab CI message ( #2994 )
2018-12-25 06:54:15 +02:00
Rhys Arkins
10d0f58c88
fix(gitFs): allow admin renovateFork override
2018-12-23 08:47:22 +02:00
Rhys Arkins
5b43931aab
fix(gitFs): use sha for non-master branches
2018-12-23 08:46:09 +02:00
Rhys Arkins
e0d7784ddb
fix: issue pagination/filtering
2018-12-19 15:31:20 +01:00
Rhys Arkins
d5a82a16f4
fix(github): don’t aggressively close issues once
2018-12-19 06:28:12 +01:00
Rhys Arkins
08b7752027
feat(github): ensure issue once
2018-12-19 06:05:43 +01:00
Rhys Arkins
7e7abb60e1
tests: fix renovate user tests
2018-12-17 15:08:43 +01:00
Rhys Arkins
99faf6fe0d
feat(github): detect/print Renovate user
2018-12-17 12:52:06 +01:00
Rhys Arkins
861cce0123
feat: detect/print renovate version
2018-12-17 12:43:15 +01:00
Rhys Arkins
4cf202d5b9
fix(github): paginate issues
2018-12-16 18:45:11 +01:00
Rhys Arkins
6ef61c8608
Revert "feat: ensureIssue once"
...
This reverts commit 3988fb808a
.
2018-12-16 17:18:00 +01:00
Rhys Arkins
0956c058d0
Revert "fix: ensureIssue logic ( #2957 )"
...
This reverts commit 83b4bead48
.
2018-12-16 17:17:33 +01:00
Rhys Arkins
83b4bead48
fix: ensureIssue logic ( #2957 )
...
if ensureIssue once, and the first matching issue was closed, then any other matching open ones are also closed.
If ensureIssue regular, and all are closed, then reopen the latest one.
2018-12-16 13:47:05 +01:00
Rhys Arkins
3988fb808a
feat: ensureIssue once
...
Closes #2936
2018-12-14 11:47:52 +01:00
Rhys Arkins
a61dd82bbc
fix(github): better branch automerge status check
...
Closes #2948
2018-12-13 05:41:32 +01:00
Rhys Arkins
eb1c65277e
refactor: use renamed azure devops dependency ( #2925 )
2018-12-10 04:24:42 +01:00
Rhys Arkins
32554a9db6
fix(bitbucket): check if branch exists before isStale
2018-12-08 08:44:55 +01:00
Rhys Arkins
79bbb0ebf4
fix(bitbucket): findPr matches all states
...
Closes #2859
2018-12-08 06:48:05 +01:00
Rhys Arkins
ba114c393f
fix(bitbucket): getPrList fetch all
2018-12-08 06:38:22 +01:00
Rhys Arkins
6ba13f9132
feat(pr): support rebasing checkbox
...
Adds a “rebase this PR” checkbox for github and gitlab. Suppressed for Bitbucket and VSTS because not currently supported.
Closes #2766
2018-12-05 07:22:38 +01:00
Rhys Arkins
392d7a8893
refactor(github): log raw check runs if empty
2018-12-05 04:24:16 +01:00
Rhys Arkins
195b882916
refactor(github): don’t warn check runs unauthorized
2018-12-03 14:33:26 +01:00
Rhys Arkins
fd6398ef69
fix(github): gracefully handle integration unauthorized
2018-12-03 12:03:46 +01:00
Grigorij Eleskin
400272f68e
fix(github): handle ParseError ( #2885 )
2018-12-03 10:49:07 +01:00
Rhys Arkins
606e526f1c
fix(gitlab): gracefully handle 404 repos
2018-12-01 18:43:00 +01:00
Rhys Arkins
bdc73fc192
fix(bitbucket): decline PR after deleting branch
...
This fixes autoclose.
Closes #2856
2018-11-21 23:18:06 +01:00
Rhys Arkins
a0cb599f03
fix(github): getIssueList get last 100 sorted by updated
...
filter=created does not seem to work for apps.
Fixes #2747
2018-11-17 11:00:32 +01:00
Rhys Arkins
b2c581bb33
chore: eslint
2018-11-16 22:16:48 +01:00
Rhys Arkins
78288fa7ac
refactor(github): improve debug logging of issues
2018-11-16 22:07:25 +01:00
Rhys Arkins
603f21d9bc
logs: drop dupe Branch created message
2018-11-11 07:33:26 +01:00
Rhys Arkins
e4a73c2320
fix(github): detect status checks automerge failure
...
.. and don’t create PRs.
Closes #2786
2018-11-11 07:09:39 +01:00
Rhys Arkins
265d375f6a
fix(gitlab): detect empty repo earlier in initRepo
2018-11-10 23:19:20 +01:00
Rhys Arkins
fe4827af5e
refactor(github): drop header logging
2018-11-09 22:33:11 +01:00
Rhys Arkins
b0ec1a1f09
refactor(github): don’t warn for pr merge failure
2018-11-09 21:53:47 +01:00
Rhys Arkins
221b2fe21a
fix(gitlab): catch/throw ‘empty’ error
2018-11-09 13:19:45 +01:00
renovate[bot]
dff1fb137b
feat(deps): update got packages (major) ( #2433 )
2018-11-09 12:50:21 +01:00
Rhys Arkins
e04dbc38b6
fix(gitlab): check MR branch status only if opened
...
Fixes #2771
2018-11-08 23:41:52 +01:00
Ayoub Kaanich
c1f6eb38c3
feat: delete gitlab labels ( #2772 )
...
Closes #2764
2018-11-08 20:01:10 +01:00
Rhys Arkins
cd185ab3b0
fix: revert gitlab oauth ( #2770 )
2018-11-08 14:59:04 +01:00
Ayoub Kaanich
164b9af513
feat: gitFs over SSH ( #2768 )
...
Support setting git clone protocol `http`, `https` or `ssh`.
Config name: `gitFsProtocol`.
Platform independent.
Closes #2708
2018-11-08 13:21:36 +01:00
Rhys Arkins
be8473c5d1
refactor: log err with label deletion failure
2018-11-08 07:29:14 +01:00
Rhys Arkins
a5531b8713
fix(gitlab): check branch status for MR mergeability
...
Adds a call to getBranchStatus() from getPr() so that we are correctly calculating pr.canMerge status.
Closes #2735
2018-11-07 13:19:20 +01:00
Guillaume Dedrie
3428b4b183
fix(gitlab): getPrFiles throw TypeError: files.map is not a function
. ( #2761 )
...
In `getPrFiles` function, when requesting MR changes to GitLab API
(in order to return files modified by the MR), we should iterate over
`changes` property in the HTTP body response, and return `new_path` as
the filename.
See: https://docs.gitlab.com/ee/api/merge_requests.html#get-single-mr-changes
2018-11-07 13:17:32 +01:00
Rhys Arkins
6a3836faf0
fix(gitlab): Gracefully handle 403 during init
2018-11-07 10:52:33 +01:00
Rhys Arkins
4675a81714
fix(gitFs): throw repository-changed
...
Closes #2713
2018-11-02 07:10:53 +01:00
Ayoub Kaanich
278b892cb9
feat(gitlab): Implement pr.isStale ( #2716 )
...
feat(gitlab): Implement pr.isStale
2018-10-31 15:05:25 +01:00
Rhys Arkins
a518c13498
fix(gitlab): cache-bust branch status checks
...
Closes #2709
2018-10-29 20:03:35 +01:00
Rhys Arkins
8381389fbb
refactor(gitlab): don’t use leading / in url
2018-10-29 20:01:21 +01:00
Ayoub Kaanich
975ee2b79b
feat: GitFs for GitLab ( #2692 )
...
Since Gitlab does not support using tokens to write to repo, `commitFilesToBranch` will always use the API. This could be changed once GitFS over SSH is implemented.
Closes #2549
2018-10-29 18:25:11 +01:00
Ayoub Kaanich
554f305a82
feat(bitbucket): Issues Support ( #2705 )
...
Closes #2439
2018-10-29 17:07:50 +01:00
Rhys Arkins
84cbeea66f
fix(gitlab): try/catch branch status set
2018-10-29 06:53:03 +01:00
Rhys Arkins
00bc05704e
fix(github): accept neutral check runs
2018-10-29 05:26:28 +01:00
Rhys Arkins
99014ff973
refactor(github): retry abuse detection ony once
2018-10-28 14:46:52 +01:00
Rhys Arkins
e335744ce5
fix(gitlab): gracefully handle PR merge rejections ( #2701 )
...
Currently any GitLab PR merge rejection results in a Renovate ERROR being thrown. This includes 401 which is due to permissions:
![image](https://user-images.githubusercontent.com/6311784/47613176-25d72980-da8a-11e8-84cf-7441a50312ef.png )
Although it's unideal for someone to configure automerge but not grant Renovate adequate permissions to merge to master, it definitely should be gracefully handled and not throwing errors to logs.
2018-10-28 08:29:55 +01:00
Rhys Arkins
d728b4ac26
fix(gitFs): try/catch/throw on clone error ( #2700 )
2018-10-28 08:13:27 +01:00
Guillaume Dedrie
23c3caf268
fix(gitlab): s/PATCH/PUT on MR note modification API call. ( #2690 )
...
When trying to modifying an existing note for a merge request,
RenovateBot ended up with an `Error updating branch`, the API call
returning a `404 Not Found`.
After taking a look at the GitLab API documentation
(https://docs.gitlab.com/ee/api/notes.html#modify-existing-merge-request-note ),
the right call for modifying a MR notes should be perform using the
`PUT` HTTP Method.
This has been discovered because I observed errors after commit
6577651f74
that modify all occurences of
`Pull request` (or `PR`) to `Merge Request` (or `MR`) of notes bodies
before updated it.
2018-10-25 19:01:39 +02:00
Rhys Arkins
6577651f74
fix(gitlab): ensure comments once
2018-10-23 18:46:45 +02:00
Rhys Arkins
77d6a29b74
chore: fix getClosedPrs log message
2018-10-19 07:29:32 +02:00
Rhys Arkins
cb32fed7a1
refactor: return true from ensureComment
2018-10-19 07:29:19 +02:00
Rhys Arkins
068c2d4938
fix(github): check for parent edges
2018-10-19 07:15:55 +02:00
Rhys Arkins
058289e8bd
fix(githhub): handle empty file
2018-10-18 04:59:07 +02:00
Rhys Arkins
6a48c03b3d
fix: massage empty renovate config to {} ( #2663 )
2018-10-17 12:19:34 +02:00
Rhys Arkins
453f936d07
fix(gitFs): throw if remote branch missing ( #2664 )
2018-10-17 12:19:21 +02:00
Rhys Arkins
56cfa3affb
fix(github): don’t retry resource not accessible by integration
2018-10-16 16:40:13 +02:00
Rhys Arkins
3ed9d36a27
refactor(gitfs): throw error if branch no longer exists
2018-10-16 16:32:45 +02:00
Rhys Arkins
72a54d3664
fix(github): don’t warn for check runs permissions
2018-10-16 14:50:35 +02:00
Rhys Arkins
d19a4ba709
feat(github): support check-runs for branch status ( #2659 )
...
Closes #2571 , Closes #2616
2018-10-16 12:43:27 +02:00
Rhys Arkins
50ba8473f7
refactor: lower debug logging
2018-10-15 09:21:57 +02:00
Sarun Intaralawan
f9fabd70fd
fix(gitlab): ensure that comments in GitLab uses MR, not PR ( #2652 )
2018-10-15 06:38:34 +02:00
Rhys Arkins
13dde6eeff
feat(gitlab): oauth token support
...
Adds ability to use a GitLab OAuth2 token by settings oauth=true in admin config.
2018-10-13 15:54:58 +02:00
Rhys Arkins
bf1be75077
fix(gitlab): massage issue bodies
...
Closes #2643
2018-10-12 10:36:09 +02:00
Rhys Arkins
8f8cffbd6f
fix(github): force fork updates
2018-10-09 09:52:12 +02:00
James King
a0dfa3fddc
fix(gitlab): issues API is description
not body
( #2620 )
...
Fixes a crash with GitLab due to the API Issue body being called `description` and not `body`:
https://docs.gitlab.com/ee/api/issues.html#single-issue
Closes #2619
2018-10-09 05:05:20 +02:00
Rhys Arkins
36070ca43a
fix(gitlab): getPrBody massage master issue links
...
Closes #2615 , Closes #2621
2018-10-09 05:02:58 +02:00
Rhys Arkins
44d84e56f5
fix(gitlab): don’t warn for closed MRs with 404 branch
...
Closes #2614
2018-10-08 14:29:02 +02:00
Rhys Arkins
2cabefef83
fix(github): gracefully handle fork error
2018-10-08 10:42:17 +02:00
Rhys Arkins
3b387e92db
fix: skip gitFs if unrenovated fork
2018-10-05 09:35:40 +02:00
Rhys Arkins
9bfa8e120b
fix(pr): don’t truncate configuration and footer
2018-10-05 07:37:15 +02:00
Rhys Arkins
6481c74905
feat: add platform.findIssue()
2018-10-03 15:47:03 +02:00
Rhys Arkins
8f013b5401
fix: update branch/pr lists after creation
2018-10-03 15:17:01 +02:00
Rhys Arkins
860ee49496
chore: fix label deletion typo
2018-09-27 15:16:16 +02:00
Rhys Arkins
6503a2dab5
fix(gitfs): handle null file list ( #2564 )
2018-09-27 06:48:44 +02:00
Rhys Arkins
ffc04a0203
fix(github): catch 409 empty
2018-09-24 20:02:57 +02:00
Rhys Arkins
08cf55e81f
logs: branch/branchName
2018-09-24 11:47:49 +02:00
JYC
56ee66381b
feat(vsts): abandon pr after delete branch ( #2086 )
2018-09-23 16:36:37 +02:00
JYC
d68f780987
fix(vsts): check body in updatePr
2018-09-23 14:32:01 +02:00
JYC
ec042e87f1
fix(vsts): check str before length
2018-09-23 14:28:52 +02:00
JYC
11556676b7
fix(vsts): state not status
2018-09-23 14:27:37 +02:00
Rhys Arkins
9d46ca6dbd
refactor: lower log levels
2018-09-23 07:26:06 +02:00
Rhys Arkins
5c4dc4a063
refactor(github): use markdown not html for PR body ( #2555 )
2018-09-23 06:05:43 +02:00
Rhys Arkins
9ec32e26f3
refactor(gitlab): use markdown not html
2018-09-22 20:01:18 +02:00
Rhys Arkins
8a6e5fddfa
fix: Revert "refactor(changelog): use markdown not html"
...
This reverts commit 0340f42d84
.
2018-09-22 18:41:32 +02:00
Rhys Arkins
0340f42d84
refactor(changelog): use markdown not html
...
Closes #2553
2018-09-22 17:49:56 +02:00
Rhys Arkins
555fd33207
fix(bitbucket): limit pr body to 50k chars
2018-09-21 11:48:13 +02:00
Rhys Arkins
2fd1c47485
fix(github): catch fork patch errors and throw
2018-09-18 20:41:54 +02:00
Rhys Arkins
fd5b265716
fix(github): catch branch deletion and throw
2018-09-18 09:57:28 +02:00
Rhys Arkins
788d96e5e9
refactor: rename isUnmergeable to isConflicted
2018-09-14 20:02:51 +02:00
Rhys Arkins
b817db10a3
feat: rebase on demand ( #2522 )
...
Adds functionality to force rebase a PR if the label "rebase" is added. Also, the label is configurable via a new `rebaseLabel` config option.
Closes #1406
2018-09-14 12:51:33 +02:00
Rhys Arkins
400b2f9929
logs: don’t warn for graphql failure
2018-09-14 12:50:24 +02:00
Rhys Arkins
e47b8e7df4
tests: fix lint
2018-09-13 06:50:31 +02:00
Rhys Arkins
fc12a0f78a
logs: no add reviewers debug body
2018-09-13 06:19:35 +02:00
Rhys Arkins
9add135b00
fix(ghe): skip unsupported graphql queries if GHE
...
Closes #2516
2018-09-13 05:54:48 +02:00
Rhys Arkins
f91d064d14
logs: lower graphql warn to info
2018-09-13 05:54:21 +02:00
Rhys Arkins
e66ededcfd
fix(ghe): don’t escape PR bodies if using non-github.com endpoint
2018-09-13 05:44:27 +02:00
Rhys Arkins
b8f76ee230
fix(ghe): strip /v3 suffix for graphql
...
Closes #2507
2018-09-12 19:58:21 +02:00
Rhys Arkins
ee869f5e61
refactor: log full path for requests array
2018-09-12 19:17:02 +02:00
Rhys Arkins
f8cf83380f
refactor: endpoints -> hostRules ( #2509 )
...
Renames `endpoints` to `hostRules`
2018-09-12 12:16:17 +02:00
Rhys Arkins
b455e5183f
logs: drop cwd initRepo
2018-09-12 06:09:17 +02:00
Rhys Arkins
88400b4106
refactor(github): reduce graphql retry to 25
2018-09-11 17:44:30 +02:00
Rhys Arkins
7e026ed49f
refactor(github): retry graphql with 50 instead of 100
2018-09-11 16:21:26 +02:00
Rhys Arkins
9675bd6d0d
fix(github): graphql parsing
2018-09-11 15:31:59 +02:00
Rhys Arkins
d907bd4b2f
Revert "fix(github): parse graphql json in wrapper"
...
This reverts commit da7b4e6899
.
2018-09-11 15:22:05 +02:00
Rhys Arkins
0ea28afe29
logs: fix closed pr message
2018-09-11 14:57:26 +02:00
Rhys Arkins
da7b4e6899
fix(github): parse graphql json in wrapper
2018-09-11 14:41:35 +02:00
Rhys Arkins
227d1d4cb7
refactor(github): improve graphql logging and retries
2018-09-11 11:05:35 +02:00
Rhys Arkins
c56362f63b
refactor(github): better log query during error
2018-09-11 10:32:08 +02:00
Rhys Arkins
1ab9b09d41
fix(github): catch empty graphql data
2018-09-11 10:14:29 +02:00
Rhys Arkins
15d6d3502e
fix(github): parseInt rate limit values
2018-09-11 09:57:11 +02:00
Rhys Arkins
9e38d021a6
refactor(github): use graphql to fetch closed PRs
2018-09-11 09:49:01 +02:00
Rhys Arkins
f3c8534e6c
logs: improve github log levels
2018-09-11 09:15:24 +02:00
Rhys Arkins
5ab5a44f4d
fix(github): clean openPrList between runs
2018-09-11 07:11:32 +02:00
Rhys Arkins
b4fe18dbbd
refactor(github): log graphql pr numbers
2018-09-11 06:33:39 +02:00
Rhys Arkins
dc038b3962
refactor(github): use graphql to retrieve open pr list
2018-09-11 06:07:50 +02:00
Rhys Arkins
3e9cc03bd1
fix(gitfs): avoid divide by zero
2018-09-10 21:19:07 +02:00
Rhys Arkins
0d87166919
refactor: measure git seconds with one decimal place
2018-09-10 21:04:54 +02:00
Rhys Arkins
bf23922b5c
refactor(gitfs): use localDir
2018-09-10 16:25:55 +02:00
Rhys Arkins
9fb98db3f5
tests: fix coverage
2018-09-10 15:32:03 +02:00
Rhys Arkins
8f5fb582cb
feat: platform.getRepoStatus
2018-09-10 14:01:56 +02:00
Rhys Arkins
f679e79565
refactor(gitfs): rename repoDir to cwd
2018-09-10 13:55:44 +02:00
Rhys Arkins
7109efd0aa
fix(gitfs): restore remote prune origin during fetch
2018-09-10 12:19:25 +02:00
Rhys Arkins
9354b5e36c
fix(gitfs): add try/catch around deleteBranch
2018-09-10 12:04:27 +02:00
Rhys Arkins
a4107b44c6
fix(gitfs): reset local branches after fetch
2018-09-10 11:59:17 +02:00
Rhys Arkins
085ce43a47
refactor(gitfs): determineBaseBranch
2018-09-10 11:49:26 +02:00
Rhys Arkins
34bb649b39
fix(gitfs): force delete local branch
2018-09-10 11:26:58 +02:00
Rhys Arkins
69ddb156c2
fix(gitfs): prune local branches after fetch
...
Closes #2490
2018-09-08 17:02:02 +02:00
Rhys Arkins
2e01d4247c
fix(gitfs): fetch prune
...
Closes #2489
2018-09-08 10:09:51 +02:00
Rhys Arkins
55ded1cae1
fix(gitfs): better git dir detection
2018-09-07 21:46:31 +02:00
Rhys Arkins
832706f0d4
tests: skip gitfs.fetch
2018-09-07 13:52:23 +02:00
Rhys Arkins
6190d990c2
fix(gitfs): set new remote before fetching
2018-09-07 13:31:04 +02:00
Rhys Arkins
9fa3ea4e90
refactor: appMode
2018-09-07 06:28:07 +02:00
Rhys Arkins
280c98e243
fix(gitfs): appMode x-access-token
2018-09-06 19:44:36 +02:00
Rhys Arkins
eb61280fe8
fix(github): throw platform error for ETIMEDOUT
2018-09-06 11:30:08 +02:00
Rhys Arkins
73df75d0c0
feat(gitfs): reuse cloned git directory
...
Closes #2430
2018-09-05 21:51:39 +02:00
Rhys Arkins
bdd30bb2a5
logs: less info
2018-09-05 20:50:13 +02:00
Rhys Arkins
c4f67cf077
refactor: measure git clone time
2018-09-05 16:03:14 +02:00
Rhys Arkins
88c6a48b2a
logs: less debug
2018-09-05 15:04:18 +02:00
Rhys Arkins
e2b8cef040
refactor: gitFs configuration option
...
Adds configuration option gitFs for git-based file operations.
2018-09-05 14:46:36 +02:00
Rhys Arkins
bf3f086240
refactor: clear stats only if more than one request
2018-09-05 14:19:03 +02:00
Rhys Arkins
4539487d26
refactor: less logging
2018-09-05 14:18:31 +02:00
Rhys Arkins
d6b1040de2
refactor: improve get stats
2018-09-05 11:03:47 +02:00
Rhys Arkins
80463651ca
feat: logger err serializer
...
Include body, message and stack with every error if present
2018-09-05 10:32:53 +02:00
Rhys Arkins
8c613a6149
refactor(gitfs): clone depth 2
2018-09-05 06:41:23 +02:00
Rhys Arkins
b54ffa5661
logs: log git fs mode
2018-09-05 06:40:30 +02:00
Rhys Arkins
58b731798e
refactor(github): don’t prefetch prList and fileList
2018-09-05 06:34:39 +02:00
Rhys Arkins
f5b93de82d
refactor(github): simplify getAllRenovateBranches
2018-09-05 06:23:55 +02:00
Rhys Arkins
a548837b7b
fix: maintainer_can_modify for forked PRs
...
Closes #2476
2018-09-04 18:35:42 +02:00
Rhys Arkins
31a1c11660
feat(github): dump request stats per-repo
...
Closes #1516
2018-09-04 17:56:28 +02:00
Rhys Arkins
c13c49863e
logs: drop retries debug from gh wrapper
2018-09-04 17:45:21 +02:00
Rhys Arkins
9867ac3dc8
refactor: print masked Token when Bad credentials
2018-09-04 14:51:58 +02:00
Rhys Arkins
9572eaa6f9
refactor(github): getBranchList
2018-09-04 06:40:47 +02:00
Rhys Arkins
6f0b477777
fix: revert pagination cache
2018-09-03 18:57:20 +02:00
Rhys Arkins
63f062b13a
refactor: better debug cached pagination
2018-09-03 18:32:35 +02:00
Rhys Arkins
6e494d11aa
fix: try/catch all cache attempts
2018-09-03 17:52:19 +02:00
Rhys Arkins
1e1cdf8b6d
feat(github): cache pagination results ( #2458 )
...
Renovate will cache the results body of any paginated results from GitHub, such as list of Pull Requests or release tags. Then, after receiving the first page of results in future, Renovate will compare the received eTag with the cached eTag and if they match then it will return the cached results instead of querying them again via the GitHub API.
The benefits should be two-fold:
- Reduce the number of API calls required to GitHub
- Reduce the time taken to retrieve such results
2018-09-03 17:35:48 +02:00
Rhys Arkins
8bfe3897de
fix(github): platform-error if ENOTFOUND
2018-09-03 10:58:20 +02:00
Hutson Betts
e469cf1a6a
feat(gitlab): ignore archived repositories ( #2461 )
...
Ignore archived GitLab repositories.
Closes #2437
2018-09-02 21:13:23 +02:00
Rhys Arkins
f510a1999d
refactor(gitlab): extra strength cleanup
2018-08-29 13:38:06 +02:00
Rhys Arkins
a88463de05
docs: Bitbucket beta
2018-08-29 07:32:34 +02:00
Vladimir Starkov
608d8c5be0
feat: Bitbucket Cloud support
...
Adds platform support for Bitbucket cloud.
Closes #136 , Closes #2238
2018-08-29 07:30:23 +02:00
Rhys Arkins
e2f51b51ce
refactor: RENOVATE_USER_AGENT
2018-08-28 17:07:00 +02:00
Rhys Arkins
d19ac8b666
refactor: log err.headers when rate limit exceeded
2018-08-28 16:10:33 +02:00
Ayoub Kaanich
ce5f434b56
feat: Git FS ( #2323 )
...
Methods to support performing Git operation using filesystem instead of web API. GitHub only and experimental only. Usage: define env variable `RENOVATE_GIT_FS`.
Closes #1925
2018-08-25 15:50:49 +02:00
Rhys Arkins
6b6d1bf859
refactor(logs): return logs to app layer
2018-08-23 20:35:25 +02:00
Rhys Arkins
1be6c9f713
refactor(logs): adjust log levels for branch and pr events
2018-08-23 20:11:38 +02:00