Commit graph

3173 commits

Author SHA1 Message Date
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
Rhys Arkins
14b397a698 fix: double handlebars compile prBody 2018-09-02 18:17:36 +02:00
Renovate Bot
7015a34c89 build(deps): update dependency validator to v10.7.1 2018-09-02 13:52:34 +00:00
Rhys Arkins
0e84195262
chore: set Renovate semanticCommitScope to "deps" (#2460) 2018-09-01 07:59:23 +02:00
Renovate Bot
b335ec12d2 chore: update dependency eslint to v5.5.0 2018-09-01 07:54:23 +02:00
Rhys Arkins
c1fd79bac7 feat: cache github datasource results for 10 minutes 2018-09-01 07:18:28 +02:00
Erik Seliger
6cf6eab8fa fix: allow cli json lists (#2457)
Now supports `--endpoints=[........]` via CLI.

Closes #2455
2018-08-31 21:44:40 +02:00
Rhys Arkins
a7def6bb85
chore: set commit type to build for docker 2018-08-31 13:59:51 +02:00
Rhys Arkins
1f49d0fe8c feat: add in-memory github datasource caching 2018-08-31 13:05:22 +02:00
Rhys Arkins
790cd9de35
chore: use conventional type for deps (#2452) 2018-08-31 10:25:57 +02:00
Renovate Bot
68ff910558 deps: update dependency pnpm to v2.14.5 2018-08-31 10:00:04 +02:00
Renovate Bot
42152d6b52 deps: update dependency compare-versions to v3.4.0 2018-08-31 09:59:46 +02:00
Rhys Arkins
c333dac9db
chore: set Renovate commit type to "deps" (#2447)
chore: set Renovate commit type to "deps"
2018-08-30 18:10:26 +02:00
Renovate Bot
7aa0e41dcc fix: update dependency npm to v6.4.1 2018-08-29 21:49:19 +00:00
Rhys Arkins
f510a1999d refactor(gitlab): extra strength cleanup 2018-08-29 13:38:06 +02:00
Rhys Arkins
0e0d050884 refactor: include releases only if there’s an update 2018-08-29 11:13:45 +02:00
Rhys Arkins
4bd8ab5061 logs: reduce release notes logging 2018-08-29 11:13:24 +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
f99af76370 fix(circleci): support nested directories 2018-08-29 06:58:55 +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
Rhys Arkins
994284d2cb refactor(logs): special handling for module 2018-08-28 12:40:50 +02:00
Renovate Bot
d25376b546 fix: update dependency semantic-release to v15.9.12 2018-08-27 22:57:48 +00:00
Rhys Arkins
4ef12ff598 fix: check val before migrating 2018-08-27 17:05:24 +02:00
Maximilian Gaß
ff19fb4478 fix(kubernetes): Fix updating of image in YAML array (#2435)
Follow up to #2434, this lets Renovate actually update those image lines
2018-08-27 16:24:58 +02:00
Rhys Arkins
265f796ea6 fix: remove excess newlines from pr body 2018-08-27 13:56:53 +02:00