Commit Graph

14403 Commits

Author SHA1 Message Date
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
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 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 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
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
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 1f49d0fe8c feat: add in-memory github datasource caching 2018-08-31 13:05:22 +02: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
Rhys Arkins 4ef12ff598 fix: check val before migrating 2018-08-27 17:05:24 +02:00