Commit Graph

14403 Commits

Author SHA1 Message Date
Rhys Arkins 598d57c315 feat: binarySource
Defaulting to ‘bundled’ (default behaviour), this option can be changed to ‘global’ if you wish Renovate to use globally installed npm, yarn, pnpm and lerna binaries. Note: composer always uses global regardless.
2018-09-14 20:38:52 +02:00
Rhys Arkins 788d96e5e9 refactor: rename isUnmergeable to isConflicted 2018-09-14 20:02:51 +02:00
Rhys Arkins 1e48508079 fix(onboarding): correct merge conflict detection
Use isUnmergeable and not canMerge

Closes #2524
2018-09-14 19:52:04 +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 58d5483e7b feat: changelogUrl
Allows static configuration of custom changelog URLs per npm package, which will then be displayed in PR bodies.

Closes #2520
2018-09-14 06:55:38 +02:00
Rhys Arkins 6feda1fd25 fix(lerna): detect changed lock files properly
Closes #2519
2018-09-14 06:07:53 +02:00
Rhys Arkins f6d9fb620b refactor(logs): log configs after log file created
Closes #2515
2018-09-13 21:13:52 +02:00
Rhys Arkins d19b15b83d fix: don’t update lock file maintenance or create PR out of schedule
Do no lock file maintenance work even if branch exists.

Closes #2503
2018-09-13 09:08:25 +02:00
Rhys Arkins e47b8e7df4 tests: fix lint 2018-09-13 06:50:31 +02:00
Rhys Arkins ba1544800f fix(docker): hostRules exception 2018-09-13 06:48:08 +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 6f0ceaecc5 fix(ghe): use full path for github datasource
This prevents accidentally querying GHE for things such as Node.js tags.

Closes #2518
2018-09-13 05:50:16 +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 c92ba52766 fix(docker): don’t crash DOCKER_USERNAME DOCKER_PASSWORD
Definitely fixes the crash, hopefully the auth is fully working now too.

Closes #2512
2018-09-13 05:31:18 +02:00
Rhys Arkins b8f76ee230 fix(ghe): strip /v3 suffix for graphql
Closes #2507
2018-09-12 19:58:21 +02:00
Rhys Arkins a038177c6f fix: use full URL for changelog retrieval
This should fix the problem with fetching changelogs when using GHE.
2018-09-12 19:27:20 +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 9c93f04c4a tests: fix tests 2018-09-12 07:02:09 +02:00
Rhys Arkins a0e41b669c refactor: env not process.env 2018-09-12 06:51:56 +02:00
Rhys Arkins 805cd837dd refactor: GITHUB_COM_TOKEN after GITHUB_TOKEN 2018-09-12 06:51:56 +02:00
Rhys Arkins ca72f49c3e refactor: move env deletion into env parsing 2018-09-12 06:51:55 +02:00
Rhys Arkins dda0bade29 refactor: use single localDir per repo (#2505) 2018-09-12 06:30:01 +02:00
Rhys Arkins bf7bb5a845 fix(npm): default lockfile value 2018-09-12 06:09:32 +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 96164f6fea refactor: don’t use repository for docker logs 2018-09-11 15:55:00 +02:00
Rhys Arkins 0252ad4d08 fix(docker): platform-failure only if docker.io 2018-09-11 15:40:37 +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 a411b11982 feat(docker): cache docker tags 2018-09-11 14:20:41 +02:00
Rhys Arkins b6cd9878e4 refactor(docker): tags/releases 2018-09-11 14:13:53 +02:00
Rhys Arkins 133505da09 feat(docker): cache digests for 30 minutes 2018-09-11 14:02:06 +02:00
Rhys Arkins d4706f9c2e fix(docker): catch 429 errors 2018-09-11 13:07:40 +02:00
Rhys Arkins cc611a7985 refactor(docker): log purl when failing to get docker tags 2018-09-11 12:29:48 +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