Rhys Arkins
a0e8cdcbf0
refactor: combine package and dep-type workers into package-file ( #1819 )
...
* refactor: move workers/package to workers/dep-type
* refactor: move dep-type to package-file
2018-04-10 06:47:38 +02:00
Rhys Arkins
523b02fbc8
refactor: npm and semver ( #1817 )
2018-04-10 05:20:46 +02:00
Rhys Arkins
ea447cfa0d
feat: depTypeList in packageRules ( #1815 )
...
Adds a field `depTypeList` to `packageRules`, enabling rules for packages to be applied for any `depType`. Config objects `dependencies`, `devDependencies` and `peerDependencies` will be deprecated in favour of this new approach.
Closes #1807
2018-04-09 16:10:34 +02:00
Rhys Arkins
a81da6edf7
refactor: simplify packageRules var names
2018-04-09 06:21:15 +02:00
Ayoub Kaanich
eb3c55b125
refactor: set token in config before renovation
2018-04-09 06:08:43 +02:00
Rhys Arkins
79bdfbea3e
fix: don’t skip lockfilemaintenance branch creation due to unpublishsafe
...
Closes #1809
2018-04-08 06:59:34 +02:00
Rhys Arkins
990767fa38
fix: await handleError
2018-04-05 07:37:26 +02:00
Rhys Arkins
d0af557ade
fix: no warn when deleting lock file maintenance branch
...
Closes #1797
2018-04-05 07:04:02 +02:00
Rhys Arkins
0dd604f53d
tests: fix automerge tests
2018-04-04 19:35:01 +02:00
Rhys Arkins
27db9cfbf8
refactor: remove automerge recursion
2018-04-04 19:23:45 +02:00
Rhys Arkins
b6cf7360e2
fix: clean repo at end of every repo run ( #1787 )
...
Closes #1786
2018-04-04 14:16:36 +02:00
Rhys Arkins
394bc931bd
refactor: simply global mergeconfig
2018-04-04 13:47:56 +02:00
Țurcanu Dragomir
101226db97
fix: add 5s sleep after automerge or restart ( #1761 )
...
This hopefully gives a better chance of GitHub being able to finish computing the new mergeability status, and reduces the chance of a race condition.
Closes #1617
2018-04-03 11:28:51 +02:00
Ayoub Kaanich
3b8f3c5c16
fix: use sha instead of ref for PRs when possible. ( #1772 )
...
Resolves #1658
2018-04-02 22:49:34 +02:00
Rhys Arkins
d9bfa0cd28
fix: await platform.ensureIssueClosing
2018-04-02 18:47:04 +02:00
Ayoub Kaanich
57ffec14cb
feat: autodetect changelog file name ( #1770 )
...
Improves changelog detection algorithm to look for different upper/lower case options as well as alternative filenames like `History.md`.
Resolves #1754
2018-04-01 21:41:26 +02:00
Ayoub Kaanich
74dde919f1
fix: use markdown-it to sectionize changelog files ( #1767 )
...
Resolves #1709
2018-04-01 15:51:20 +02:00
Rhys Arkins
ffbf332a32
fix: prune past latest versions earlier
2018-03-30 09:38:17 +02:00
Rhys Arkins
70ae736988
fix: abort if renovate config returns null
2018-03-28 21:01:38 +02:00
Rhys Arkins
94a5240858
feat: CircleCI docker image support ( #1732 )
...
Adds support for renovating docker image definitions in CircleCI 2 config files (`.circleci/config.yml`).
Closes #1714
2018-03-28 20:12:56 +02:00
Rhys Arkins
3b2d8d2dd4
fix: consider newFrom when evaluating group logic
2018-03-28 19:54:42 +02:00
Rhys Arkins
b89f448946
feat: validate packageRule selectors ( #1728 )
...
Validates that each packageRule must contain at least one selector. Resolves the rule first to allow for presets.
Closes #1345 , Closes #1693
2018-03-28 10:04:07 +02:00
Rhys Arkins
797c35edf9
fix: packageRule match anything only if there is a negating config
2018-03-28 09:29:27 +02:00
Rhys Arkins
39aa1fdf64
fix: pass through migratedConfig warnings
2018-03-28 09:24:54 +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
ccf0d4ad3d
fix ensure pr error ordering
2018-03-27 17:44:05 +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
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
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
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
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
ee6c6bda2c
chore: lighten debug logging
2018-03-24 06:31:01 +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
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
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
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
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