Commit graph

686 commits

Author SHA1 Message Date
Dmitry
fb587a3cae feat(bazel): expand support to non-WORKSPACE files (#3459)
Now supports `*.bzl` files including when definitions are nested.
2019-04-05 19:12:38 +03:00
Rhys Arkins
c55481f78e fix(npm): check string before comparing
Closes #3479
2019-04-03 23:12:03 +03:00
Rishabh Jain
7e49630d78 fix: pipfile dependency with path causes file parsing error (#3470)
Closes #3462
2019-04-02 11:27:29 +02:00
Rhys Arkins
ef2e67b4b1 fix(yarn): strip frozen-lockfile from yarnrc
Closes https://github.com/renovatebot/config-help/issues/195
2019-03-31 11:03:23 +02:00
Milad Irannejad
06c440fba6 fix(gomod): bug in getArtifacts env (#3439) 2019-03-25 06:33:30 +01:00
Rhys Arkins
0e2280c07f fix(npm): better skipInstalls check 2019-03-24 06:03:37 +01:00
Rhys Arkins
b60cb7431a fix: Revert "fix(npm): don’t set skipInstalls when file refs found"
This reverts commit 45007169f4.
2019-03-24 06:02:26 +01:00
Rhys Arkins
c8c80bcedb fix: Revert "fix(npm): better skipInstalls check"
This reverts commit 20e68f4325.
2019-03-23 22:23:45 +01:00
Rhys Arkins
20e68f4325 fix(npm): better skipInstalls check 2019-03-23 22:14:41 +01:00
Rhys Arkins
45007169f4 fix(npm): don’t set skipInstalls when file refs found 2019-03-23 11:24:25 +01:00
Rhys Arkins
5c9c527f38 refactor(bundler): detect manifest errors 2019-03-23 07:10:57 +01:00
Rhys Arkins
dcc5fe2f9e logs: log skipInstalls setting 2019-03-23 07:09:33 +01:00
Rhys Arkins
bd17e021e5 refactor(gradle): catch resolution errors 2019-03-22 06:27:22 +01:00
Rhys Arkins
42fe6f548f fix(lerna): call bootstrap if yarn workspaces not used 2019-03-20 22:46:56 +01:00
Rhys Arkins
25dc743481 refactor: debug monorepo packages 2019-03-20 18:11:30 +01:00
Dmitry
2afeeaf2aa fix(bazel): http_archive urls hash part update (#3420) 2019-03-20 17:43:25 +01:00
Dmitry
bc997ce82e fix(bazel): http_archive url not updated 2019-03-19 09:57:50 +01:00
Rhys Arkins
42d0d9a766 tests: fix coverage 2019-03-17 16:56:40 +01:00
Rhys Arkins
e8215e2067 fix(maven): don’t save homepage/sourceUrl from package file
Closes #3400
2019-03-17 16:56:34 +01:00
Rishabh Jain
5ff5ede41c fix: snapshot test failures on some systems (#3397)
- The function is calling python command which can be aliased to different python versions on different systems, the function depends on mock library which comes pre-installed on python v3.7+
- Add a python alias detection command which gets the correct python command which is aliased to python3.7+

Closes #3392
2019-03-17 15:54:31 +01:00
Rhys Arkins
8bf403c411 refactor(composer): reduce warnings for lock failure 2019-03-17 10:32:31 +01:00
Dmitry
3e788c783a feat(docker): add depType for multi-stage Dockerfiles (#3385) 2019-03-16 07:00:59 +01:00
Rhys Arkins
76242888dc refactor: info not warn for go.sum 2019-03-13 14:43:47 +01:00
Rhys Arkins
21c25210d7 refactor: reduce setup.py warnings 2019-03-12 15:29:43 +01:00
Rhys Arkins
64a78e92a9 fix(pip_setup): detect no file found and warn 2019-03-11 11:33:03 +01:00
Rhys Arkins
30df7a1244 fix(composer): catch/throw disk space 2019-03-11 10:46:15 +01:00
Rhys Arkins
7cb4ae9a82 fix: add dotnet language 2019-03-09 07:15:16 +01:00
Rhys Arkins
1258630faa
feat(npm): dedupe (#3322)
Allows dedupe options for npm and yarn.

Closes #2883
2019-03-07 16:37:07 +01:00
Rhys Arkins
9a93c8e99a feat: postUpdateOptions
Adds new config option postUpateOptions. Currently supports one value - gomodTidy.
2019-03-07 15:15:01 +01:00
renovate[bot]
3a7afd768f chore(deps): update dependency jest to v24 (#3316) 2019-03-07 12:38:59 +01:00
Bohachevskyy
f79e71d56f docs: add cocoapods manager readme (#2878) 2019-03-07 12:26:33 +01:00
Rhys Arkins
c1a14112e8 docs: add implementation status to manager readme’s 2019-03-07 12:10:57 +01:00
Rhys Arkins
87cf1350d4 fix(composer): only use lockedVersion if it’s a version
Closes #3309
2019-03-07 00:09:21 +01:00
Herculano Campos
8986c5e9a3 docs: add readme for dart/flutter package manager (#3260) 2019-03-04 10:44:00 +01:00
Nikita Chashchinskii
211684a489 feat: Cargo (Rust) support (#2795)
Adds support for Cargo package manager for Rust
2019-03-04 10:24:07 +01:00
Rhys Arkins
b71686d6b4 feat(bazel): commit-based http_archive
Closes #2904, Closes #3295
2019-03-04 07:48:58 +01:00
Rhys Arkins
77a8d01718 fix(bazel): flexible whitespace match 2019-03-04 06:36:04 +01:00
Rhys Arkins
34a5fbb1a0 fix(gomod): detect gopkg.in major bumps 2019-03-04 05:12:05 +01:00
Rhys Arkins
5746c53e43 refactor(bundler): warn unknown 2019-03-04 04:52:35 +01:00
Rhys Arkins
a8d21c7a4d refactor(gomod): debug replacements 2019-03-04 04:13:36 +01:00
Gautier Pelloux-Prayer
c0b9f1ad03 feat(gradle): use gradlew binary if available (#3135) (#3176) 2019-03-03 22:34:09 +01:00
Rhys Arkins
45473af5db fix(composer): case insensitive v prefix replace 2019-03-02 09:37:39 +01:00
Preston Van Loon
6a13fd0dc4 fix: Use two spaces for bazel go_repository comments (#3287)
* Update update.js

* Update update.spec.js

* Update update.spec.js.snap
2019-03-01 21:41:06 +01:00
Rhys Arkins
e82f455d8c refactor: log npm package.json name 2019-03-01 11:14:27 +01:00
Frank Tackitt
03337fc96c fix(pipenv) Ignore git dependencies without versions in Pipfile (#3283) 2019-03-01 10:47:37 +01:00
Rhys Arkins
e11c14025c refactor(bundler): cache unknown error 2019-03-01 10:39:25 +01:00
Rhys Arkins
99178ebfaa
feat(bazel): use commit / tag combo for go_repository (#3267)
Closes https://github.com/renovatebot/config-help/issues/172
2019-02-28 08:40:40 +01:00
Russell Rollins
6f4da76c71 fix(gomod): handling of the "+incompatible" tag. (#3279) 2019-02-27 22:23:01 +01:00
Rhys Arkins
d17bc17970 fix(yarn): detect yarn integrity in a mixed manager branch
Closes #3274
2019-02-27 13:58:49 +01:00
Rhys Arkins
32fd35aa3b tests: fix tests 2019-02-27 09:59:38 +01:00
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