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