Commit Graph

14403 Commits

Author SHA1 Message Date
Rhys Arkins 41072f3d42 log: drop Found presets log 2018-03-28 09:25:22 +02:00
Rhys Arkins 39aa1fdf64 fix: pass through migratedConfig warnings 2018-03-28 09:24:54 +02:00
Rhys Arkins 171cdf372b fix: add option for unlimited pagination
Set env variable RENOVATE_PAGINATE_ALL to disable Renovate’s regular limiting of 1000 results (unlimited results will be returned).
2018-03-28 06:04:44 +02:00
Steven Hargrove 6b67ffa5ff fix: enforce valid git branch names (#1725)
Adds proper enforcement of branch name rules.

Fixes #1724
2018-03-28 05:18:42 +02:00
Rhys Arkins 9ab4e55bc5 chore: reduce logger.debug volume 2018-03-27 21:57:02 +02:00
Rhys Arkins 6623047177 fix: add npm retries for null versions or parseError 2018-03-27 20:57:11 +02:00
Rhys Arkins ccf0d4ad3d fix ensure pr error ordering 2018-03-27 17:44:05 +02:00
Rhys Arkins acb725beb9 fix: stringify currentVersion before trim 2018-03-27 16:25:06 +02:00
Rhys Arkins 08f1739e15 fix: ignore npmrc in repository if user has configured one manually 2018-03-27 16:22:26 +02:00
Rhys Arkins 0e658843a2 fix: don’t raise config warning issue when onboarding 2018-03-27 16:02:56 +02:00
Rhys Arkins df0dc74e22 fix: handle meteor package.js with trailing comma 2018-03-27 15:46:29 +02:00
Rhys Arkins 7379d7d1da logs: downgrade resolved config to trace 2018-03-27 15:37:09 +02:00
Rhys Arkins 223722ad4c fix: pass rate limit exceeded errors up from ensurePr 2018-03-27 15:33:05 +02:00
Rhys Arkins b110e22218 fix: filter out deps with no current version 2018-03-27 15:13:16 +02:00
Rhys Arkins 6b7077a3ef fix: filter and debug failed meteor extraction 2018-03-27 14:00:29 +02:00
Rhys Arkins 94892db991 fix: config warn issue only if using yarn
It seems that npm is able to update a lock file even if some of the non-updated deps can not be found. So the renovate halt and warning is only needed if a yarnLock file is present.
2018-03-27 13:41:45 +02:00
Rhys Arkins e03c2c267f fix: add commit signing to onboarding PR 2018-03-27 06:22:58 +02:00
Rhys Arkins 259312bb97 fix: catch Host key verification error for all lock file types 2018-03-26 13:19:06 +02:00
Rhys Arkins 4c3581caf0 fix: prune “renovate” branch if branchPrefix is “renovate/“
Otherwise it blocks us from branch creation
2018-03-26 12:10:00 +02:00
Rhys Arkins d5c8c300d6 fix: sklp branch creation for “Host key verification failed” install error 2018-03-26 11:21:06 +02:00
Rhys Arkins 02da88e350 fix(pr validation): skip branch status when it’s a fork 2018-03-26 07:11:11 +02:00
Rhys Arkins a9b99e779a fix: write npmrc for lerna subdirs too 2018-03-25 22:53:45 +02:00
Rhys Arkins 9e44b33f27 chore: log decryptConfig 2018-03-25 22:47:47 +02:00
Rhys Arkins 09c7980566 fix: improve debugging of npmrc 2018-03-25 22:14:40 +02:00
Rhys Arkins fb230a7b29 fix: perform additional decrypt after preset resolve
To catch the use case where encrypted npmToken or npmrc is in the preset itself
2018-03-25 21:29:37 +02:00
Rhys Arkins ddca468cc7 fix: github branch warm 2018-03-25 21:25:02 +02:00
Rhys Arkins cc180018be fix: fetch branch commit early
Fetches the base branch commit SHA during initRepo so that it can be cached. This should prevent us creating branches off a commit later than the one we fetched files for.

Fixes #1712
2018-03-24 06:33:05 +01:00
Rhys Arkins ee6c6bda2c chore: lighten debug logging 2018-03-24 06:31:01 +01:00
Rhys Arkins cc4df96fe2 fix: return early if docker token acquisition fails 2018-03-23 15:56:44 +01:00
Rhys Arkins a302b11a26 feat: custom docker registries (#1707)
Adds support for custom docker registries. To work (for now), registries must support anonymous public access to their v2 API. Tested against quay.io and gcr.io, including tags pagination for quay. Also needed to add a 10s timeout for registry queries to catch private/firewalled registries that we can't access.

Closes #797
2018-03-23 14:48:36 +01:00
Rhys Arkins 83e7b5f0ef fix: pass up rate limit exceeded error when ensuring PR 2018-03-23 07:56:21 +01:00
Steven Hargrove 52721b8c14 fix: use only one yarn mutex type (#1706)
Closes #1705
2018-03-23 05:36:02 +01:00
Rhys Arkins 2fce3220e7 chore: downgrade duplicate lerna failure warn 2018-03-22 20:49:15 +01:00
Rhys Arkins fc4d5fc08d fix: add check if lerna npmClient=yarn 2018-03-22 20:35:25 +01:00
Rhys Arkins 3acda0e524 chore: log massageConfig as config 2018-03-22 13:14:28 +01:00
Rhys Arkins 445cdbe3eb fix: loosen branch delete not exist check 2018-03-22 12:20:07 +01:00
Rhys Arkins f0cd0cb8b8 feat: raise config action issue if failing to look up locked dependency (#1704)
If an npm dependency can’t be found, and the package.json has a lock file, then Renovate will encounter lock file errors every time *any* dependency in that package.json has an update. Instead of raising PRs with an error, we instead now stop raising PRs and instead raise a config warning issue. Users can “dismiss” this by setting config option `updateLockFiles` to false.

Closes #1697
2018-03-22 11:55:58 +01:00
Rhys Arkins 3a4a0cb029 feat: updateLockFiles (#1703)
Adds an option “updateLockFiles” which defaults to true. Setting to false means that updating lock files (e.g. package-lock.json, yarn.lock and shrinkwrap.yaml) will be skipped. The main reason for doing this is for repositories that use a dependency we can’t resolve, so that they can keep updating the package.json without lock file.
2018-03-22 10:41:26 +01:00
Rhys Arkins aa56c049b4 chore: remove err from dep not found info log 2018-03-22 10:21:19 +01:00
Rhys Arkins 0462f91e7a fix: expand github errors for better debugging
Try to get message and body in all errors we log
2018-03-22 09:51:19 +01:00
Rhys Arkins c1a7bff4a1 refactor: allow 10 loops instead of 5 2018-03-22 09:34:00 +01:00
Rhys Arkins 363a2cc2e5 fix: abort renovation if rate limit exceeded (github) 2018-03-22 09:26:20 +01:00
Rhys Arkins 5e898467d2 tests: fix coverage 2018-03-22 09:24:59 +01:00
Rhys Arkins f0a61c8b26 chore: log custom docker host better 2018-03-22 08:58:59 +01:00
Rhys Arkins d83164691b fix: adjust onboarding PR based on requireConfig setting 2018-03-22 05:33:09 +01:00
Rhys Arkins 6354f3d07a fix: try delete lock file maintenance branch only if it exists 2018-03-21 15:53:48 +01:00
Rhys Arkins 967529104d fix: add try/catch to branch delete (github) 2018-03-21 13:46:58 +01:00
Rhys Arkins 27ee7687d9 fix: skip branch creation if unpublishable pr not ready for creating
Don’t create a branch until its unpublishable.

Fixes #1580
2018-03-21 11:40:28 +01:00
Rhys Arkins 52ad9d8277 fix: skip branch creation if the updated dependency fails to lock (#1696)
There are times when an npm dependency has an update available yet the “npm/yarn/pnpm install” fails to find it, and the lock file can’t be generated. We check for this any time there’s a lock file error and abort the branch creation, hoping it fixes itself on the next run.

Closes #1666
2018-03-21 11:17:54 +01:00
Rhys Arkins ee3240908b feat: requireConfig (#1695)
Adds option to bot owners to require a renovate config be in place.

Closes #1694
2018-03-21 10:08:55 +01:00