Commit graph

2626 commits

Author SHA1 Message Date
Renovate Bot
5330788c9e fix: update dependency npm to v5.8.0 2018-03-23 23:36:09 +00: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
Renovate Bot
95af0a3da4 chore: update dependency semantic-release to v15.1.4 2018-03-22 03:14:11 +00:00
Renovate Bot
5e7bd23ccb chore: update dependency eslint to v4.19.1 2018-03-22 01:54:41 +00:00
Renovate Bot
050e55b5e5 chore: update dependency jest to v22.4.3 2018-03-21 18:32:53 +00: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
Rhys Arkins
2ba360f6b3 chore: add sourceRepo to prList (github) 2018-03-21 09:14:48 +01:00
Rhys Arkins
60c997f180 chore: refactor delete to null 2018-03-21 09:10:53 +01:00
Rhys Arkins
fa523846ab fix: make nvm config mergeable 2018-03-21 06:03:06 +01:00
Rhys Arkins
5fa5793c3a chore: add logging to package file detection 2018-03-21 06:02:54 +01:00
Rhys Arkins
9bc232d960 fix: log 401/404 responses from Docker Hub 2018-03-21 05:51:55 +01:00
Rhys Arkins
42ea27a926 fix: skip looking up scratch base image (docker) 2018-03-21 05:16:03 +01:00
Renovate Bot
aea7978c1b chore: update dependency semantic-release to v15.1.3 2018-03-20 22:14:52 +00:00
Rhys Arkins
78f5b35442 fix: skip named multistage docker builds 2018-03-20 21:42:34 +01:00
Rhys Arkins
85d697c649 chore: remove unused json-stringify-safe 2018-03-20 21:15:24 +01:00
Rhys Arkins
d77a3b2b92 fix: log error response body if present 2018-03-20 18:03:14 +01:00
Rhys Arkins
db1c33bb00 fix: throw registry-failure exception if docker has internal errors 2018-03-20 17:12:11 +01:00
Rhys Arkins
c9f2d387fa fix: use github tags not releases to determine node versions
Closes #1691
2018-03-20 15:51:37 +01:00
Rhys Arkins
b02e170b11 fix: export semverSort from github datasource 2018-03-20 15:51:12 +01:00
Rhys Arkins
6c677cbc92 fix: use onboarding status to determine mirror mode config branch 2018-03-20 13:29:08 +01:00
Rhys Arkins
dd93c1c194 fix: search changelogs down to fourth heading deep
Closes #1687
2018-03-20 10:07:50 +01:00
Rhys Arkins
3eaa75f3e4 fix: use looser changelog heading matching 2018-03-20 10:07:21 +01:00
Rhys Arkins
203930d2d6 fix: unescape issue number inside backticks 2018-03-20 09:59:58 +01:00
Rhys Arkins
a913a50715 fix: hard code public github api for release lookups 2018-03-20 09:24:22 +01:00
Rhys Arkins
e8fdf130c9 fix: handle unstable releases with upgradeInRange
Fixes when a ranged version had a semver release part (e.g. 1.2.3-rc.5).

Closes #1689
2018-03-20 07:20:14 +01:00
Rhys Arkins
b4bfb35418 chore: lower debug to trace for packagePatterns 2018-03-20 07:11:56 +01:00
Rhys Arkins
2364efdb39 fix: improve lockfile maintenance deletion logic
Set lock file branches to always rebase stale, and delete if there’s no work to do.
2018-03-20 06:48:27 +01:00
Rhys Arkins
0cfba9d014 chore: lessen debugging - move to trace 2018-03-20 06:39:37 +01:00
Renovate Bot
f304d17f55 fix: update dependency commander to v2.15.1 2018-03-20 02:10:57 +00:00
Elan Ruusamäe
b155b9b6bb docs: self-hosting: spelling (#1688) 2018-03-19 22:29:50 +01:00