Commit graph

686 commits

Author SHA1 Message Date
Rhys Arkins
39ef96e7d2 refactor(gomod): log line to change if not containing depName 2019-02-27 09:48:45 +01:00
Rhys Arkins
06a1cf5665 fix(gomod): match update against unversioned depName 2019-02-27 09:18:13 +01:00
FidoX
53fb84878a fix(gradle): collect deps (#3270) 2019-02-26 21:46:32 +01:00
Rhys Arkins
79b01de1b2 feat(composer): parse/store lockedVersion
This will be used when deciding what to pin dependencies to.
2019-02-26 08:14:01 +01:00
Rhys Arkins
805ed25d8e fix(gomod): another rethinkdb/rethinkdb-go.v5 exception 2019-02-26 07:19:17 +01:00
Rhys Arkins
d20f64ad2a feat(bazel): update git_repository commit hashes
Closes https://github.com/renovatebot/config-help/issues/173
2019-02-25 22:35:25 +01:00
Rhys Arkins
ab45c544bb fix(gomod): rename gorethink rethinkdb 2019-02-25 12:22:58 +01:00
Rhys Arkins
0c4cea4b45 tests: fix coverage 2019-02-24 07:58:10 +01:00
FidoX
ee06ad2ed1 feat(gradle): use maven datasource (#3223) 2019-02-23 22:24:44 +01:00
Rhys Arkins
20a53ba7be fix(pip_setup): suppress imp deprecation warning
Closes #3174
2019-02-18 12:20:55 +01:00
Rhys Arkins
eb782e12f9 refactor(pip_setup): add try/catch and log error 2019-02-18 11:24:25 +01:00
Rhys Arkins
8b761f5a6d fix(gradle): throw registry failure if lookup fails 2019-02-15 10:39:16 +00:00
Rhys Arkins
ff6115fb15 fix(npm): add back line return when massaging npmrc 2019-02-14 11:01:07 -05:00
Christian Murphy
7b16533c4d docs: add readme for python poetry package manager (#3195) 2019-02-14 06:31:43 -05:00
Rhys Arkins
bf9c4a84c7 fix(bundler): catch authentication requirement 2019-02-13 14:26:13 -05:00
Paul Tyng
8f79b660b0 feat(gomod): Run go mod tidy if configured (#3201)
Adds a configurable option to run `go mod tidy` on a repo between the `go get...` and the `go mod vendor`.

Closes #2594
2019-02-13 13:05:52 -05:00
Rhys Arkins
3edd582b64 logs: don’t warn for lock file maintenance lerna 2019-02-13 10:50:17 -05:00
Sergio Zharinov
302bfb7eb6 feat(maven): support dependencies defined via properties (#3199) 2019-02-13 06:36:56 -05:00
Rhys Arkins
c87a153823
feat: go module vendoring support (#3191)
Detects if a `vendor/modules.txt` is present and runs `go mod vendor` if so. Requires gitFs to work.

Closes #2580
2019-02-11 10:19:25 +01:00
Sergio Zharinov
279f632b26 fix(maven): parse additional Maven repositories from pomfiles (#3198) 2019-02-11 09:58:49 +01:00
Rhys Arkins
2705172376
feat: GitHub Actions docker image support (#3197)
Detect GitHub Actions workflow files and pin/update any Docker image references found within.

Closes #2750
2019-02-11 09:42:54 +01:00
Rhys Arkins
c711fb4cea refactor: getArtifacts returns an array 2019-02-09 07:08:15 +01:00
Rhys Arkins
13cc5b5b0e refactor: rename lock files -> artifacts 2019-02-09 07:08:15 +01:00
rtaum
fe40f1ef48 feat(python): add simple endpoint support (#3125)
Closes #2970
2019-02-07 08:56:02 +01:00
Sergio Zharinov
4c26d593b9 refactor(maven): unify depName between Maven and Gradle (#3179)
Closes #3173
2019-02-06 17:40:29 +01:00
Rhys Arkins
67cbbba80b fix: Revert "feat(gradle): use maven datasource (#3062)"
This reverts commit 0a2b212c76.
2019-02-04 21:31:04 +01:00
FidoX
0a2b212c76 feat(gradle): use maven datasource (#3062) 2019-02-04 16:05:04 +01:00
Rhys Arkins
a9332a8db0
feat: replace purl with datasource (#3154)
This deprecates the (internal) use of package URLs and instead replaces with `datasource`/`lookupName`.

Closes #3005
2019-02-04 09:41:22 +01:00
Rhys Arkins
392f67ad16 fix(orbs): use npm versionScheme for ranges 2019-02-03 19:27:01 +01:00
Sergio Zharinov
59eebe3ce9 feat(maven): Add support for Maven (#3147)
Alpha version of Maven support

Closes #3029
2019-02-02 18:27:02 +01:00
Ben
59b1b747d7 fix(tests): sort setup.py dependencies by lineNumber (#3141)
Closes #3131, Closes #3136
2019-01-30 21:32:38 +01:00
Rhys Arkins
371003fabb refactor: purl use subpath for lookupType 2019-01-30 10:23:44 +01:00
Rhys Arkins
8ee4a68e6d refactor: terraform registryUrls 2019-01-30 09:55:57 +01:00
Rhys Arkins
70dc1c4292
feat(docker): preserve registry in depName (#3133) 2019-01-30 09:27:53 +01:00
Rhys Arkins
ba59a21505 refactor: terraform registryUrls 2019-01-30 06:46:41 +01:00
Rhys Arkins
debc75f3f4 refactor: move lookupType out of qualifiers 2019-01-30 06:46:41 +01:00
Rhys Arkins
bf57bb8071 refactor: github ref => lookupType 2019-01-30 06:46:41 +01:00
Rhys Arkins
d0018cbd2d refactor: purl.fullname -> lookupName 2019-01-30 06:46:41 +01:00
Rhys Arkins
0246f6c201 refactor: getPkgReleases 2019-01-28 06:40:37 +01:00
Rhys Arkins
ddb78f637f fix(yarn): use latest yarn by default 2019-01-28 03:54:17 +01:00
Rhys Arkins
7be86204ad fix(npm): check for invalid names 2019-01-27 08:40:43 +01:00
Rhys Arkins
cbc29acb61 fix(pipenv): map cache dir into artifacts container 2019-01-27 06:52:23 +01:00
Rhys Arkins
db4dc1a3ba fix(bundler): don’t attempt failed lock files generation repeatedly 2019-01-26 15:33:12 +01:00
Rhys Arkins
f5b3fe1a75 fix(bazel): try archive update if download fails 2019-01-26 06:41:16 +01:00
Rhys Arkins
05ce6de1d3 fix(bundler): catch and warn about missing credentials 2019-01-25 14:51:55 +01:00
Rhys Arkins
d499cb0cd5 fix(docker): skip sources containing variables 2019-01-25 07:02:13 +01:00
Rhys Arkins
10b52cf93b refactor: log lockfileUpdate 2019-01-24 08:46:28 +01:00
Rhys Arkins
62d92660b2
feat: new 'lockfile-update' rangeStrategy (#3108)
Adds a new `rangeStrategy` value `lockfile-update'. Enabling this means you will get PRs that contain updates for the versions in your lock file (currently npm and yarn only) even if the range in the `package.json` file hasn't changed because the update is "in range".

Closes #1382
2019-01-24 06:23:08 +01:00
Rhys Arkins
1ee546b0ea feat(bundler): use ruby and bundler versions to update lock files 2019-01-21 14:50:30 +01:00
Rhys Arkins
8dfca59c04 feat(bundler): extract bundler compatibility from Gemfile.lock 2019-01-21 13:10:58 +01:00
Rhys Arkins
e02ffbdc60 feat(bunder): extract ruby compatibiity version 2019-01-21 13:10:56 +01:00
Rhys Arkins
00ff3d6385 tests: fix lint 2019-01-15 09:46:01 +01:00
Rhys Arkins
3a515cd467 fix(logs): don’t debug whole configs 2019-01-15 09:33:24 +01:00
Rhys Arkins
ba77d4a0e7
feat(bundler): extract, update, artifacts (#3058)
This completes the work of adding basic Ruby/Bundler support to Renovate. It will now find all Gemfiles in a repository, extract dependencies from them, look up results on Rubygems, and raise PRs if updates are found.

Closes #932
2019-01-14 06:52:13 +01:00
Rhys Arkins
76b34ac42e fix(nvm): node versioning, not semver 2019-01-11 10:21:27 +01:00
Rhys Arkins
37998efb16 fix(gradle-wrapper): don’t insert distributionSha256Sum
Fixes https://github.com/renovatebot/config-help/issues/139
2019-01-10 06:33:37 +01:00
Jan Sauer
1fb755c89c feat: gradle-wrapper (#3038)
Adds support for updating the gradle version used in a project via the gradle-wrapper.
See https://docs.gradle.org/current/userguide/gradle_wrapper.html
2019-01-09 12:50:53 +01:00
Rhys Arkins
983f38b26c chore: alphabetize 2019-01-08 05:04:20 +01:00
Rhys Arkins
6d09535c9f
feat: split out npm versioning from semver (#3023)
Closes #2069
2019-01-07 05:49:47 +01:00
Fedorets Alex
ef24694dc8 docs: add maven readme (#2999) 2019-01-06 20:44:39 +01:00
Rhys Arkins
55257fff26
feat: centralise app strings (#3032) 2019-01-06 14:47:42 +01:00
Rhys Arkins
c84417ddf1 fix(terraform): extract registry 2019-01-05 18:57:40 +01:00
Rhys Arkins
9202056f1f fix(pipenv): exposeEnv -> trustLevel 2019-01-05 18:42:13 +01:00
Rhys Arkins
4b38793471 refactor: trustLevel 2019-01-05 09:16:32 +01:00
Rhys Arkins
56d55fb1dc feat: node versioning
Very basic at first. A slim wrapper around npm semver that normalizes versions.
2019-01-04 12:41:22 +01:00
Rhys Arkins
738408b728 refactor: semver-hashicorp -> hashicorp 2019-01-03 08:41:59 +02:00
Rhys Arkins
7fb377ebad refactor: semver-composer -> composer 2019-01-03 08:32:44 +02:00
Fedor Lukyanov
6a2c6cf92e docs: bundler readme (#2980) 2019-01-03 07:29:50 +02:00
Rhys Arkins
55875476a8 refactor: sanitize -> normalize 2018-12-26 07:07:01 +02:00
Jan Sauer
ca8eafcfbc feat: Add new ansible manager (#2947)
Updates docker dependencies in ansible playbooks.

- https://docs.ansible.com/ansible/latest/user_guide/playbooks_best_practices.html#directory-layout
- https://docs.ansible.com/ansible/2.5/modules/docker_container_module.html
- https://docs.ansible.com/ansible/latest/modules/docker_service_module.html
2018-12-18 11:18:27 +01:00
Rhys Arkins
7d4cd7ca60
feat: circleci orb support (#2955)
Closes #2950
2018-12-16 14:32:11 +01:00
Rhys Arkins
079afe1820
feat: configurable versionScheme (#2945)
Closes #2914
2018-12-13 05:29:11 +01:00
Rhys Arkins
2627a1f2e4 refactor(gradle): lower logging on errors 2018-12-12 11:36:07 +01:00
Rhys Arkins
ad924f1c28 refactor: trace extract, not debug 2018-12-11 22:44:45 +01:00
Rhys Arkins
772bc17603 refactor: repositoryUrl -> sourceUrl 2018-12-10 05:59:28 +01:00
Rhys Arkins
e190851f8e
feat(docker): use whole tag as currentValue (#2922) 2018-12-10 04:26:14 +01:00
Rhys Arkins
846c16529d
refactor: versioning require (#2915)
Simplify when statically selected
2018-12-08 15:51:34 +01:00
Rhys Arkins
4e315c839e feat(pip): support getRangeStrategy
pin dependencies in requirements.txt if set to rangeStrategy=auto

Closes #2680
2018-12-05 09:36:48 +01:00
Rhys Arkins
0686fd5426 refactor(pip): increase setup.py timeout to 5000 2018-12-03 12:49:54 +01:00
Rhys Arkins
8a77914e86 fix(buildkite): handle arrays 2018-11-29 12:38:32 +01:00
Grigorij Eleskin
0b6ad1c898 fix(gomod): support remote option in go_repository (#2877) 2018-11-29 08:39:45 +01:00
Rhys Arkins
ea37301301
docs: start off bundler readme.md (#2867) 2018-11-27 07:40:24 +01:00
Sam Bull
bed39f10ed feat: Support pipenv (#2623)
Add support for pipenv as a manager. Disabled by default (needs opt-in) until out of beta.

Closes #2212
2018-11-23 07:58:25 +01:00
Rhys Arkins
485f06c23b chore: fix bundler ordering in file 2018-11-22 06:55:28 +01:00
Rhys Arkins
ebfa90d40d
feat: add ruby/bundler skeleton (#2852) 2018-11-20 19:16:13 +01:00
Rhys Arkins
cd8d073825
docs: init manager readmes (#2844) 2018-11-20 10:31:03 +01:00
Rhys Arkins
27aa59f5bc fix(bazel): better PR change description 2018-11-19 07:18:13 +01:00
Rhys Arkins
4df7e32cc5 feat(bazel): migrate commits to tags 2018-11-18 22:27:20 +01:00
Rhys Arkins
e6ef42d027 chore: fix log 2018-11-17 08:25:02 +01:00
FidoX
2332615ef8 feat: Support updating gradle global variables (#2779) 2018-11-16 17:56:59 +01:00
Rhys Arkins
db0efdf053 feat: trustLevel
New config option replaces existing option exposeEnv. Set trustLevel=high in the bot config if you trust the contents of the repositories you are renovating. Doing so results in env being exposed, access to localhost, etc.

Closes #2739
2018-11-16 12:16:37 +01:00
Ayoub Kaanich
08d22eba50 feat: Support setup.py files (#2805) 2018-11-15 18:42:01 +01:00
Ayoub Kaanich
7d31af5ecb feat: Support Bazel commit-based go_repository (#2821)
Closes #2806
2018-11-14 13:11:35 +01:00
Ayoub Kaanich
b48173a039 feat: Support go_repository in bazel (#2782) 2018-11-10 21:50:17 +01:00
Rhys Arkins
45da51aa6d refactor: add cargo skeleton
Begins #1870
2018-11-09 14:22:11 +01:00
Ayoub Kaanich
48278ad247 fix(pip): requirements.txt extras (#2773) 2018-11-09 13:51:23 +01:00
Rhys Arkins
9292833ecf
refactor: extractAllFiles (#2741) 2018-11-05 07:47:44 +01:00
Rhys Arkins
44d119823f refactor: rename extractDependencies -> extractPackageFile 2018-11-04 18:51:23 +01:00
Rhys Arkins
17701f2fa2 feat: update node.js releases 2018-11-02 08:33:53 +01:00
Ayoub Kaanich
483702b8af feat: Support pip_requirements extras 2018-11-02 06:36:38 +01:00
Ayoub Kaanich
c6e4379715 refactor: gomod purl (#2729)
<!--
    Before submitting a Pull Request, please ensure you have signed the CLA using this GitHub App:
    https://cla-assistant.io/renovateapp/renovate
-->

<!-- Replace this text with a description of what this PR fixes or adds -->

Closes #2725 <!-- Ideally each PR should be closing an open issue -->
2018-11-02 06:22:42 +01:00
FidoX
be65176dc4 feat: gradle support (#2610)
Closes #934
2018-10-29 17:32:31 +01:00
Ayoub Kaanich
751ee3b4de feat(bazel): Support bazel "urls" array (#2703)
Closes #2576
2018-10-29 17:18:07 +01:00
Ayoub Kaanich
9295efecdd fix(docker): skip index reference COPY --from tags (#2699) 2018-10-28 08:30:28 +01:00
Rhys Arkins
2dbab991a6 fix(monorepo): allow string packages 2018-10-26 07:10:29 +02:00
Rhys Arkins
f97de73e8d chore: rename composer const 2018-10-23 06:50:24 +02:00
Rhys Arkins
2b1e8357ef
feat(composer): auto pin project requires (#2682)
Pins require packages if type=project and rangeStrategy=auto.

Closes #2678
2018-10-23 06:40:35 +02:00
Rhys Arkins
ce8926a003
feat: pip requirements.txt ignore (#2676)
Adds support for “# renovate: ignore” command in requirements.txt files.
2018-10-23 06:09:33 +02:00
Rhys Arkins
790e74f036 fix(yarn): support resolutions glob syntax
Closes #2670
2018-10-22 11:08:07 +02:00
James King
f46f3f43af fix(composer): Add GitLab token to composer. (#2661)
Closes #2660
2018-10-18 12:28:02 +02:00
Rhys Arkins
f5c64a32c2 fix(composer): don’t warn for non-null registryUrls 2018-10-18 05:59:28 +02:00
Rhys Arkins
85dd6b02db feat(composer): support auto rangeStrategy 2018-10-18 04:28:10 +02:00
Rhys Arkins
da85c8f892 fix(composer): catch non-array registryUrls 2018-10-17 12:50:41 +02:00
Rhys Arkins
5a85e67b2e fix(npm): don’t error if no dependencies in lock file 2018-10-17 12:33:58 +02:00
Rhys Arkins
95b44d773d fix(gomod): CGO_ENABLED=0 2018-10-17 12:12:51 +02:00
Rhys Arkins
148126859d fix(terraform): handle whitespace better in replace 2018-10-17 06:38:41 +02:00
Rhys Arkins
f71ee0ef9f refactor: lower debugging 2018-10-17 06:04:39 +02:00
Rhys Arkins
956d198f89 fix(composer): handle non-array repositories 2018-10-16 06:33:42 +02:00
Rhys Arkins
b7123806f4 fix(npm): drop Host key verification check 2018-10-16 05:25:29 +02:00
Rhys Arkins
0f1710faf8
feat(composer): custom registries and basic auth (#2650)
Adds support for custom Packagist registries.

- [x] Support dynamic packages.json interface for wpackagist.org
- [x] Support static packages.json for satis
- [x] Support basic auth using hostRules
- [x] Write basic auth to `auth.json`

Closes #2574, Closes #2354
2018-10-16 04:52:57 +02:00
Rhys Arkins
50ba8473f7 refactor: lower debug logging 2018-10-15 09:21:57 +02:00
Rhys Arkins
10f4f42be0 fix(npm): skip non-string values
Closes https://github.com/renovatebot/config-help/issues/113
2018-10-14 21:11:50 +02:00
Rhys Arkins
6d681d5b64 fix(composer): extract repositories into registryUrls 2018-10-14 06:46:17 +02:00
Rhys Arkins
6fc40ad4f4 refactor: default skipInstalls to null
This allows users to control true/false explicitly via config.

Related: #2647
2018-10-12 20:00:49 +02:00
Rhys Arkins
2a3e1b8185 refactor(gomod): use renovate/go image 2018-10-11 16:13:24 +02:00
Rhys Arkins
9c74e93a27 refactor(composer): use renovate/composer docker image 2018-10-11 16:00:33 +02:00
James King
6b191b16a9 fix(composer): global hanging due to script / autoloader errors (#2626)
Make sure no scripts or autoloader or interactivity is set when updating composer dependencies to stop issues with PHP frameworks.

Closes #2625
2018-10-09 16:11:51 +02:00
Rhys Arkins
0cb302f907 fix(terraform): handle no source 2018-10-07 07:26:42 +02:00
Rhys Arkins
f67e34739b fix(terraform): skip tf files with only local modules 2018-10-06 19:33:42 +02:00
Rhys Arkins
8d99c9b8b8 fix(terraform): skip local references 2018-10-06 14:45:32 +02:00
Rhys Arkins
1abad41beb
feat: terraform support (#2606)
Adds terraform support for github sources with semver refs as well as fixed and ranged versions of Terraform registry modules.

Closes #1860
2018-10-06 13:39:39 +02:00
Rhys Arkins
9551ed75c0 feat(gomod): strip relative replace statements
Closes #2596
2018-10-05 12:34:51 +02:00
Rhys Arkins
04f89843b1 fix(gomod): handle quoted dependencies 2018-10-02 18:49:00 +02:00
Rhys Arkins
45339b778e refactor: log integrity switching 2018-10-02 16:32:12 +02:00
Rhys Arkins
8597f16ba9 fix(golang): skip digest updates if real versions exists 2018-10-02 14:20:24 +02:00
Rhys Arkins
924efa837f fix(gomod): no infinite major updates 2018-10-02 14:08:37 +02:00
Rhys Arkins
e790af89d1
feat(golang): support major version updates (#2590)
Adds capability to upgrade major versions of Go Modules. Includes special handling for gopkg.in modules.

Closes #2583
2018-10-02 13:18:49 +02:00
Rhys Arkins
caa972f1ab fix(golang): throw lock file error for go.sum 2018-10-02 12:44:56 +02:00
Rhys Arkins
6714a03b9b fix(yarn): write yarn.lock only once 2018-10-02 12:14:42 +02:00
Rhys Arkins
88371ea750 fix(lerna): call yarn directly
Closes #2589
2018-10-02 12:04:43 +02:00
Rhys Arkins
99df4f0f31 feat(golang): digest updates
Adds support to update dependencies that have pseudo-versions like v0.0.0-20140422174119-9fd32a8b3d3d.
2018-10-02 10:34:37 +02:00
Rhys Arkins
6595cfb3ca fix(composer): ensure vendor dir exists 2018-10-01 20:59:09 +02:00
Rhys Arkins
b7f1002774 feat(composer): pass lock file errors to PR comment
Instead of aborting PR when lock file errors happen, raise the PR with PR comment instead (like with npm/yarn).
2018-10-01 18:15:06 +02:00
Rhys Arkins
281507e421 refactor: getArtifacts return nested object 2018-10-01 16:29:50 +02:00
Rhys Arkins
80eaf9d89b fix(composer): skip PR if unmet requirements
Closes #2587
2018-10-01 15:59:07 +02:00
Rhys Arkins
2107ae1948 fix: rename go -> golang 2018-10-01 14:05:40 +02:00
Rhys Arkins
f4210631c0
feat: go modules support (#2584)
Adds support for updating go modules (found in go.mod) and the accompanying go.sum checksum files.

Limitations:

- github.com modules only (but supports "redirects" to github e.g. by gopkg.in and golang.org)
- skips major upgrades > v1
- no vendoring support

Closes #933, Closes #2578, Closes #2579
2018-10-01 13:50:36 +02:00
Rhys Arkins
a49a58c5f0 refactor: getLockFile -> getArtifacts 2018-09-30 10:10:42 +02:00
Rhys Arkins
281de8979e feat(composer): use docker cli for binarySource 2018-09-28 14:55:14 +02:00
Rhys Arkins
dbe30501bf fix(yarn): prepend nested path with node 2018-09-27 13:18:53 +02:00
Rhys Arkins
ec27dee005 fix: check for installed renovate bundled yarn 2018-09-27 13:01:33 +02:00
Rhys Arkins
c980fa1e13 fix: bundle yarn binary instead of aliasing 2018-09-27 12:35:05 +02:00
Rhys Arkins
1a209989bc
feat: yarn integrity switching (#2567)
Detects if `yarn.lock` contains `integrity` fields already and if so then runs `yarn` using v1.10.1 instead of the default v1.9.4.
2018-09-27 11:30:04 +02:00
Rhys Arkins
1135b02252 fix(composer): autoremove, fix tests 2018-09-25 12:14:02 +02:00
Rhys Arkins
705c57416a fix(composer): pass cache dir to docker 2018-09-25 11:35:16 +02:00
Rhys Arkins
1dd4c8ce76 fix(yarn): check binarySource=global 2018-09-25 11:18:15 +02:00
Rhys Arkins
75d07170cb feat(composer): support docker install 2018-09-25 10:31:07 +02:00
Rhys Arkins
912ff2846a refactor(composer): don’t delete scripts before install 2018-09-25 09:03:01 +02:00
Rhys Arkins
150dfa8a5d refactor(composer): use cache dir 2018-09-25 09:03:01 +02:00
Rhys Arkins
804484ed0f refactor: change npm/yarn cache dirs 2018-09-24 13:10:09 +02:00
Rhys Arkins
9d46ca6dbd refactor: lower log levels 2018-09-23 07:26:06 +02:00
Rhys Arkins
19a77f8901 fix(npm): force package-lock.json update when widening
Removes dependency record from package-lock.json before running “npm install” to ensure the latest version is installed.

Closes #2480
2018-09-22 18:17:49 +02:00
Rhys Arkins
fc9037a270 logs: correct depName/dependency 2018-09-20 12:13:18 +02:00
Rhys Arkins
4b3c2d23ac
feat: combine tmp storage (#2533)
Renovate will now put all its data in `path.join(os.tmpdir(), '/renovate’);` and will instruct npm and yarn to do the same. To force Renovate to use a specific folder, set `process.env.TMPDIR` when running. The previous variable `RENOVATE_TMPDIR` is now deprecated and will be rewritten to TMPDIR.

Closes #1794
2018-09-18 05:26:09 +02:00
Rhys Arkins
b29ea46f8b feat: bumpVersion mirror 2018-09-17 12:45:05 +02:00
Rhys Arkins
eeae416ac9
feat(npm): support git digest updates (#2528)
Adds support for renovating git references in `package.json` files. Supports updating semver tags or sha1 references ("commit hashes").

Also includes support for updating git references from *private* GitHub repositories, if the following conditions are met:
- Renovate user/token is authorised to read from the source private repository
- Dependency is written like `git+https://github.com/owner/repo.git#ref` in `package.json`

Closes #415, Closes #817
2018-09-17 11:18:18 +02:00
Rhys Arkins
c2eb51df54 feat(npm): support long git references
Part of #415
2018-09-17 10:55:27 +02:00
Rhys Arkins
c0eee811b2 refactor(npm): git ref semvers 2018-09-15 18:11:03 +02:00
Rhys Arkins
e7418b27a0 fix(npm): correct skipInstalls logic to consider config 2018-09-15 18:09:10 +02:00
Rhys Arkins
bad9c0770c refactor(npm): separate getDependency function 2018-09-15 18:01:11 +02:00
Rhys Arkins
e517a985c6 fix(npm): valid github owner/repo when extracting 2018-09-15 17:24:54 +02:00
Rhys Arkins
acf512a4ff feat: github semver tag support for npm
Detects github repos in package.json and keeps them up to date if they are using semver tags, e.g. `”github:gulpjs/gulp#v4.0.0-alpha.2”` will get updated to `”github:gulpjs/gulp#v4.0.0”`.

Part of #415 but not closing it yet.
2018-09-15 15:18:18 +02:00
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
6feda1fd25 fix(lerna): detect changed lock files properly
Closes #2519
2018-09-14 06:07:53 +02:00
Rhys Arkins
f8cf83380f
refactor: endpoints -> hostRules (#2509)
Renames `endpoints` to `hostRules`
2018-09-12 12:16:17 +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
57fbdf7e57 fix(yarn): update resolutions in all cases 2018-09-11 05:25:54 +02:00
Rhys Arkins
d822d4491b refactor(composer): gitfs lockfiles in-place 2018-09-10 21:23:56 +02:00
Rhys Arkins
2ce75cdbf1 refactor(composer): reuse localDir for lockfile generation 2018-09-10 15:58:24 +02:00
Rhys Arkins
6bd41d3541 refactor(composer): use nested cwd 2018-09-10 15:32:41 +02:00
Rhys Arkins
69a7ff697c refactor(composer): better variable names 2018-09-10 15:32:41 +02:00
Rhys Arkins
b20dde2d53 fix: handle grouped monorepo lockFileMaintenance branches 2018-09-10 09:48:20 +02:00
Rhys Arkins
11c6be8fba refactor: deprecate copyLocalLibs
This can/should be enabled by default now.
2018-09-10 09:38:03 +02:00
Rhys Arkins
ccffdaf712 fix: throw error up if no disk space 2018-09-08 07:16:05 +02:00
Rhys Arkins
81818195b7 refactor: separate lockFileMaintenance per-package file
Closes #2464
2018-09-07 09:26:43 +02:00
Rhys Arkins
6ed4b80bd9 fix: update languageList in manager 2018-09-07 08:44:31 +02:00
Rhys Arkins
4539487d26 refactor: less logging 2018-09-05 14:18:31 +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
Maximilian Gaß
ff19fb4478 fix(kubernetes): Fix updating of image in YAML array (#2435)
Follow up to #2434, this lets Renovate actually update those image lines
2018-08-27 16:24:58 +02:00
Maximilian Gaß
515cec28cb fix(kubernetes): support image line in a YAML array (#2434)
Renovate did not recognize images where "image" was the first key in the YAML mapping inside the YAMl container list/array
2018-08-27 13:16:51 +02:00
Rhys Arkins
08b44a062a chore: rename packageFile/fileName in extract 2018-08-24 17:49:32 +02:00
Rhys Arkins
d4aec0ff76 feat(npm): perform full install if file: references found
npm’s —package-lock-only implementation seems to have a bug and produces incorrect lock files when file: references are present. If file: dependencies are detected, skipInstalls is set to false.

Closes #2401
2018-08-17 08:22:41 +02:00
Maximilian Gaß
7a1418ad6f fix(docker): exclude calico/node from being marked as Node.js (#2397)
fix(docker): exclude calico/node from being marked as Node.js
2018-08-16 15:46:19 +02:00
Rhys Arkins
a80173d898 fix(npm): ignore scripts on full install 2018-08-15 17:27:40 +02:00
Rhys Arkins
d0ec341e15
feat: skipInstalls (#2390)
Adds new admin option “skipInstalls” that is applicable for npm-only for now (including lerna-npm). If set to false, Renovate will perform a full install of modules rather than `—package-lock-only`. This is necessary in some cases to work around bugs in npm.

Self-hosted bot users can set this option themselves on the bot’s config, but app users will require it to be enabled per-repository by the app admin.
2018-08-15 17:13:07 +02:00
Maximilian Gaß
52a8da89fa feat(docker): Add support for COPY --from lines (#2368)
COPY --from= can specify external images. Add support to renovate them.
2018-08-11 11:27:18 +02:00
Rhys Arkins
103d8fbf68
feat: prettyDepType (#2376)
Adds field prettyDepType available for templates, currently used for npm only. Allows for PR titles like “Update devDependency left-pad to v1.3.0” instead of default “Update dependency left-pad to v1.3.0”.

To enable in PR titles: add this configuration: `"commitMessageTopic": "{{prettyDepType}} {{depName}}”`

This is not enabled by default as otherwise it could lead to the reopening of previously manually-closed PRs.

Closes #2371, Closes #1863
2018-08-11 11:24:38 +02:00
Rhys Arkins
47e79912bc feat(composer): write auth.json before generating lock file
Supports github.com only
2018-08-06 20:21:57 +02:00
Rhys Arkins
85dafee812 refactor(composer): rename newPackageFileParsed 2018-08-06 16:34:34 +02:00