Rhys Arkins
d6b1040de2
refactor: improve get stats
2018-09-05 11:03:47 +02:00
Rhys Arkins
c3a4b90411
chore: fix clean-cache paths
2018-09-05 11:03:06 +02:00
Rhys Arkins
8e81a647a2
refactor: lazy load branch status to reduce requests
2018-09-05 10:52:00 +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
b054c63ffb
tests: fix github platform tests
2018-09-05 07:00:30 +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
4a0b3cf83e
fix: move cleanRepo to finally
2018-09-05 06:31:25 +02:00
Rhys Arkins
f5b93de82d
refactor(github): simplify getAllRenovateBranches
2018-09-05 06:23:55 +02:00
Renovate Bot
11a347543e
chore(deps): update dependency codecov to v3.1.0
2018-09-05 00:01:50 +00:00
Renovate Bot
44314366cd
build(deps): update dependency handlebars to v4.0.12
2018-09-04 20:22:53 +00:00
Rhys Arkins
a548837b7b
fix: maintainer_can_modify for forked PRs
...
Closes #2476
2018-09-04 18:35:42 +02:00
Rhys Arkins
ed0bb8760e
fix(yarn): throw errors when registry down
...
Detect strings in `yarn` `stderr` that indicate a registry problem and if found then throw a `registry-failure` error instead of continuing with a PR creation or update. This way they should be retried on each run until the registry is available again.
Closes #2474 , Closes #2475
2018-09-04 18:06:07 +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
f0e53028b0
fix: set endpoint for GITHUB_COM_TOKEN
2018-09-04 15:56:37 +02:00
Rhys Arkins
3ac7f7923d
logs: simplify config file missing error
2018-09-04 15:34:08 +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
ef70c48d4b
fix: sort dependencies by name in PRs
...
Remove randomness
2018-09-04 06:30:47 +02:00
Rhys Arkins
28902d78eb
refactor: increase release notes caching to 55 min
2018-09-03 22:54:20 +02:00
Rhys Arkins
167049502a
fix: don’t look up release notes compare URLs by date
2018-09-03 22:39:35 +02:00
Rhys Arkins
5e38150154
fix: skip changelog lookup for @types
...
There’s never anything there
2018-09-03 22:20:01 +02:00
Rhys Arkins
df8bebe10d
refactor: log pr body change only if branch didn’t change
2018-09-03 21:29:23 +02:00
Rhys Arkins
bdaff7b64d
refactor: fix oldPrBody log
2018-09-03 21:23:09 +02:00
Rhys Arkins
6f0b477777
fix: revert pagination cache
2018-09-03 18:57:20 +02:00
Rhys Arkins
f239df8025
logs: stop logging scoped headers
2018-09-03 18:50:05 +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
0d2e3bd451
chore: update snapshot
2018-09-03 17:11:13 +02:00
Rhys Arkins
358070cb15
fix: releases cache on prev and next
2018-09-03 17:09:10 +02:00
Rhys Arkins
1f7b25e51c
fix: cache changelog on from/to
2018-09-03 16:19:02 +02:00
Rhys Arkins
562ca43859
tests: fix lint
2018-09-03 16:01:47 +02:00
Rhys Arkins
a505376c12
tests: fix github datasource cache test
2018-09-03 15:52:06 +02:00
Rhys Arkins
0d767c598d
fix(cache): lazy fetch tags for changelog
2018-09-03 15:36:04 +02:00
Rhys Arkins
af54869555
chore: rename changelog params->args
2018-09-03 15:35:41 +02:00
Rhys Arkins
8bfe3897de
fix(github): platform-error if ENOTFOUND
2018-09-03 10:58:20 +02:00
Rhys Arkins
4d48ba1395
refactor: cache changelog per-release
...
Closes #2473
2018-09-03 10:25:30 +02:00
Rhys Arkins
737485f69b
refactor: cache default 5 minutes
2018-09-03 09:59:27 +02:00
Rhys Arkins
933672fd01
refactor: simplify changelog cache key
2018-09-03 09:19:48 +02:00
Rhys Arkins
7c3b6f1054
refactor: add release notes in one place
2018-09-03 09:17:11 +02:00
Rhys Arkins
934adfdffe
refactor: move release notes into changelog
2018-09-03 08:39:30 +02:00
Rhys Arkins
35b2ce8b42
feat: centralised cache ( #2472 )
...
Closes #2466
2018-09-03 07:27:22 +02:00
Renovate Bot
c09c08af54
build(deps): update dependency delay to v4
2018-09-03 07:11:38 +02:00
Renovate Bot
0b617a8ecd
build(deps): update dependency pnpm to v2.15.0
2018-09-02 20:39:37 +00: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
61466b7114
fix: remove prBody double compile
2018-09-02 19:18:44 +02:00
Rhys Arkins
d660c57a19
feat: add prBanner to default prBody template
2018-09-02 18:21:48 +02:00