Commit graph

1533 commits

Author SHA1 Message Date
Sourav Das
4e7c938ec7 feat(constants): Manager Constants (#5168) 2020-01-16 16:22:33 +01:00
renovate[bot]
36a37dada8 chore(deps): update dependency prettier to v1.19.1 (#5169)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-01-16 16:21:07 +01:00
Sourav Das
58c444cb7e feat(constants): Data Source and Binary Source Constants (#5157) 2020-01-16 12:14:35 +01:00
Rhys Arkins
585131a254 fix(maven): loosen check for correct pom.xml
Previously Renovate checked for xmlns="http://maven.apache.org/POM/4.0.0" and if not found then did not attempt to parse the file. Instead, now it checks for `<modelVersion>4.0.0</modelVersion>` as an alternative. Reference: https://maven.apache.org/guides/introduction/introduction-to-the-pom.html

Closes #5160
2020-01-15 21:39:52 +01:00
Rhys Arkins
3a0228c4a6 fix: Revert "fix(bundler): return artifact error for "bundle lock" was called with arguments"
This reverts commit a6fc0d690e.
2020-01-15 17:53:36 +01:00
Rhys Arkins
a6fc0d690e fix(bundler): return artifact error for "bundle lock" was called with arguments 2020-01-15 16:31:37 +01:00
Rhys Arkins
24d10a16ee fix(bundler): return artifact error if locked version cannot be found 2020-01-15 16:19:58 +01:00
Rhys Arkins
7de1a70c2a fix(pip_setup): ignore non-fatal fatal names warning during extraction 2020-01-15 15:43:45 +01:00
Rhys Arkins
114532e230 fix(docker-compose): less strict replace regex
This allows for comments in the image: line to be replaced
2020-01-15 15:43:12 +01:00
Rhys Arkins
1cdeeb0454 fix(bundler): better detect object parse failure 2020-01-15 13:11:16 +01:00
Rhys Arkins
892a8f9246 fix(bazel): better massaging 2020-01-15 13:03:16 +01:00
Rhys Arkins
22e0434a7b fix(poetry): combine commands together 2020-01-15 11:58:45 +01:00
Rhys Arkins
9ce7245709 refactor(poetry): simplify artifacts logic 2020-01-15 11:51:42 +01:00
Sergio Zharinov
db3d544387 fix(poetry): Use docker options (#5144)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-01-15 11:37:52 +01:00
Rhys Arkins
57300ead3d
feat: centralized exec timing (#5153) 2020-01-15 08:14:44 +01:00
Rhys Arkins
6459775738
fix(sbt): normalize scala versions (#5154) 2020-01-15 07:24:57 +01:00
Rhys Arkins
856eb33b25 fix: Revert "fix(sbt): normalize scala version"
This reverts commit ff0ffd2e90.
2020-01-15 06:26:49 +01:00
Rhys Arkins
bb06e60172 fix(poetry): log stdout/stderr and not message 2020-01-15 05:30:50 +01:00
Rhys Arkins
da31f5d160 fix(bundler): generate PRs for incompatible packages lockfile errors 2020-01-15 04:53:59 +01:00
Rhys Arkins
9b4b8f29b2 fix(bundler): generate PRs for “fatal: Could not parse object” lockfile error 2020-01-15 04:53:00 +01:00
Rhys Arkins
9d6ec38a7e fix(bundler): look in stdout and stderr for resolve matches 2020-01-15 04:44:59 +01:00
Rhys Arkins
e0c11028ec fix(bundler): Detect “Please make sure you have the correct access rights” 2020-01-15 02:54:57 +01:00
Rhys Arkins
4772076898 logs: better bundler lock logs 2020-01-15 02:46:34 +01:00
Rhys Arkins
f147f35c07 fix(bundler): clearer log messages for lock failures 2020-01-15 02:43:15 +01:00
Vladislav Dolbilov
04a26722f3 feat(sbt): enhanced extract capabilities (#5126) 2020-01-14 12:45:17 +01:00
Vladislav Dolbilov
ff0ffd2e90 fix(sbt): normalize scala version 2020-01-14 12:28:17 +01:00
Sourav Das
ee153e560e feat: use error constants (#5088) (#5100)
Use defined error constants throughout codebase.
2020-01-12 08:50:11 +01:00
Rhys Arkins
1617a193c0
refactor: move util/exec to own folder (#5125)
Also moves related docker and env files
2020-01-10 16:39:15 +01:00
Sourav Das
1fbb51af36 feat(bundler): Support parsing gemfile.lock for "lockedVersion" (#5094) 2020-01-10 15:05:29 +01:00
walschap
fc0b3d3026 feat(gradle): Add support for Gradle5 dependency constraints (#5078)
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-01-08 09:39:18 +01:00
Sergio Zharinov
1e5924430d refactor: Avoid excessive process.env modifications (#5114) 2020-01-07 15:32:21 +00:00
Sergio Zharinov
2cba82f6f4 fix(maven): Default group ID for plugins (#5102)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-01-07 10:09:09 +00:00
Michael Kriese
62b18dee78 fix(ts): convert worker/repository/process to ts (#5046) 2020-01-06 08:16:15 +00:00
Trim21
ec60b9ad83 fix(poetry): version string with single quote (#5090)
fixes #5015
2020-01-05 07:59:20 +00:00
Sergio Zharinov
1fe9f903ab test: mocks and snapshots for all exec() calls (#5089) 2020-01-02 15:30:40 +00:00
Sergio Zharinov
0836d91c2f fix(sbt): Use indexOf instead of search (#5085) 2020-01-01 17:09:43 +00:00
Rhys Arkins
523acf76f9 fix: typo! 2019-12-30 09:27:45 +00:00
Rhys Arkins
a7138a7214 fix(bundler): catch undefined sourceLine 2019-12-30 09:26:47 +00:00
Rhys Arkins
70c4203026 fix: unrevert "feat(bundler): recursively attempt to resolve locked dependenci… (#5040)"
This reverts commit 89e6a01371.
2019-12-21 14:09:00 +01:00
Rhys Arkins
89e6a01371 fix: Revert "feat(bundler): recursively attempt to resolve locked dependenci… (#5040)"
This reverts commit 26a197085f.
2019-12-21 14:02:51 +01:00
Rhys Arkins
26a197085f
feat(bundler): recursively attempt to resolve locked dependenci… (#5040)
Bundler helpfully tells us which locked dependencies caused the lock file update to fail. We parse these, check if there are any new ones we hadn’t unlocked previously, and call the function recursively if so.

Closes #5036
2019-12-21 13:21:10 +01:00
Rhys Arkins
d19709aebd
feat(datasource): centralise git url massaging (#5032) 2019-12-20 09:27:58 +01:00
Sergio Zharinov
968ebe5286 test(pip_setup): Mock python calls in tests (#5028) 2019-12-20 08:51:20 +01:00
Sergio Zharinov
3025f71183 test: coverage for artifacts.ts (#5012) 2019-12-18 11:25:09 +01:00
Florian Greinacher
4274166b73 feat(nuget): Add range support (#4947) 2019-12-18 08:38:20 +01:00
Rhys Arkins
5cb01d6191 fix: default binarySource to auto 2019-12-16 17:12:53 +01:00
Kirill Romanov
60faf8391b fix(npm): remove pnpm bug 992 workaround (#5002) 2019-12-16 12:13:13 +02:00
Rhys Arkins
02bb90c961 fix: lockFileError -> artifactError 2019-12-16 11:04:23 +01:00
Michael Kriese
0a2ed592b8 fix(gitlab-ci): skip comment lines (#5000) 2019-12-16 10:06:27 +02:00
Sebastian Poxhofer
932aeefa40 feat(terraform): Support terraform providers (#4926) 2019-12-15 08:51:00 +02:00
Sergio Zharinov
04962565bc fix(gradle): Ignore scala version placeholders (#4986) 2019-12-13 17:10:03 +02:00
Rhys Arkins
66ab41488c
feat: ignoreScripts (#4963)
Adds new `ignoreScripts` config option. If set to true, managers such as npm and composer will skip running install scripts even if trustLevel is configured to high.

Closes #4567
2019-12-11 13:59:03 +02:00
Rhys Arkins
5c62cdafc6 chore: warn not error for gradle timeout 2019-12-04 10:20:17 +01:00
Dries De Peuter
b6336d3a88 feat(gradle): Add support for Gradle5 dependency constraints (#4886) 2019-12-02 14:05:28 +01:00
Filipe Azevedo
9b16e1c757 fix(gomod): update package version (#4900) 2019-11-29 14:00:56 +01:00
Jamie Magee
80b16e6ab2 fix(helm): fix exports (#4902) 2019-11-29 08:54:52 +01:00
Jamie Magee
ae2f0f7c84 feat: Initial support for git submodules (#4605) 2019-11-28 20:04:54 +01:00
Tim Jacomb
cc07563b86 feat(helm): Add repo alias support (#4844) 2019-11-24 12:32:00 +01:00
Jamie Magee
b3390514a4 refactor(eslint): fix eslint warnings in manager (#4865) 2019-11-23 21:44:55 +01:00
Rhys Arkins
3613ba882d fix(docker-compose): service validity check 2019-11-23 14:20:12 +01:00
Rhys Arkins
a12ef53b9c fix: escape docker volumes and working dir values 2019-11-23 11:08:16 +01:00
Rhys Arkins
81c4311f2d refactor: simplify gradle warn message 2019-11-23 10:40:52 +01:00
Rhys Arkins
39d0e5071a fix: safeLoad yaml in json mode to allow key duplicates 2019-11-23 10:39:34 +01:00
Kirill Romanov
edc2dc3bac fix(pnpm): stop ignore pnpmfile with high trust level (#4845) 2019-11-22 10:05:25 +01:00
Jamie Magee
cfb17cac16 build: python 3.8 support (#4797)
See microsoft/azure-pipelines-image-generation#1317

Fixes #4775, Fixes #4657
2019-11-19 09:13:32 +01:00
Dominykas Blyžė
0d2db9032c fix(npm): use package-lock as shrinkwrap when maintaining shrinkwrap (#4776)
When running the `lockFileMaintenance`, the lock file is removed before it gets recreated. When the lock file is not present, npm creates a `package-lock.json` by default, so we need to rename it to `npm-shrinkwrap.json` when we want to get an updated version.
2019-11-07 10:59:55 +01:00
Rhys Arkins
63252d3637 fix(pip_setup): pull docker image first
Closes #4760
2019-11-01 08:59:48 +01:00
Jamie Magee
84972575d5 docs: use https for external links (#4725) 2019-10-25 10:48:04 +02:00
Rhys Arkins
c78d6510ea
refactor: use re2 for regex (#4687) 2019-10-22 08:48:40 +02:00
Michael Kriese
2a4de19c77 feat(worker): convert 'branch' to typescript (#4449)
Co-Authored-By: Jamie Magee <JamieMagee@users.noreply.github.com>
2019-10-18 14:30:51 +02:00
Ian Kerins
4d6b98f9b0 fix(gradle): invoke gradlew directly, not with /bin/sh (#4630) (#4671)
Co-Authored-By: IKEDA Sho <suicaicoca@gmail.com>
2019-10-18 13:35:11 +02:00
Nikita Chashchinskii
661cb95961 fix(homebrew): Use hasha instead of crypto for sha256 (#4675) 2019-10-18 11:02:46 +02:00
Rhys Arkins
3eede6ad47 fix(helm): handle undefined repository 2019-10-17 12:45:12 +02:00
Rhys Arkins
696f3ec26f fix(helm): don’t error for placeholder repositories
Closes #4680
2019-10-17 08:39:34 +02:00
Rhys Arkins
8eb5454610 test: fix lint 2019-10-15 12:27:27 +02:00
Rhys Arkins
f524557f21 fix: Revert "refactor: use re2 instead of RegExp (#4441)"
This reverts commit ab1c5b20ee.
2019-10-15 10:14:49 +02:00
Sumit Nihalani
ab1c5b20ee refactor: use re2 instead of RegExp (#4441) 2019-10-15 06:51:02 +02:00
Rhys Arkins
f1073965ab
fix(gomod): skip indirect dependencies (#4650)
Skip any go.mod dependencies ending in // indirect

Closes #4586, Supercedes #4615
2019-10-14 16:55:49 +02:00
Nikita Chashchinskii
0fffbaec1f feat: helm requirements.yaml support (#3805) 2019-10-14 15:54:23 +02:00
Rhys Arkins
1ec7cf0e18 fix(bazel): massage rules_go v0.19.5 2019-10-13 05:47:24 +02:00
Rhys Arkins
bd32658512 refactor(docker-compose): debug/info yaml parsing err 2019-10-10 18:17:05 +02:00
Rhys Arkins
c7cf9d34ba fix(homebrew): try/catch sha256 2019-10-10 17:49:38 +02:00
Michael Kriese
1b014ff847 fix: fix error message (#4613) 2019-10-10 06:40:07 +02:00
Jamie Magee
aa7d0d3c71 chore(docs): fix link to crates.io (#4585)
chore(docs): fix link to crates.io
2019-10-05 19:32:27 +02:00
Björn Dahlgren
24a9e290fd feat: Allow specifying Docker user (#4578) 2019-10-05 13:56:58 +02:00
Michael Kriese
e733f759f1 feat(worker): convert 'repository/onboarding' to typescript (#4433) 2019-10-04 09:36:07 +02:00
Sergio Zharinov
982896d5d1 feat: Elixir support (#4496) 2019-10-04 09:13:14 +02:00
Rhys Arkins
f19dbc4d34
test: pix python paths with spaces (#4574) 2019-10-03 12:25:22 +02:00
Florian Greinacher
9dc3c4e376 fix(manager): Fix extraction of gitlab-ci includes (#4557)
The extraction logic failed to extract the GitLab URI correctly
when the configured platform endpoint does not have a trailing
slash. This commit changes the logic to handle scenarios with
and without trailing slash

Fixes #4270
2019-09-30 06:19:08 +02:00
Gilbert Gilb's
0fe2f1b7e6 feat(manager): Support poetry custom repositories. (#4524) 2019-09-30 06:00:54 +02:00
Nihal
87863f165e feat: support for volta (#4512) 2019-09-25 11:01:35 +02:00
archnode
78f2c60efc feat(composer): No no-scripts and no-autoloader on trust level high. (#4531) (#4535) 2019-09-24 14:37:45 +02:00
Ryan Murfitt
d33ca43e17 feat(gradle): Support Kotlin DSL extra properties (#4493) 2019-09-23 06:29:51 +02:00
IKEDA Sho
1f8a62c31a fix(gomod): Add -d option to go get command (#4498) 2019-09-17 03:40:40 +02:00
Milad Irannejad
26234f7e60 fix(gomod): add ./... to go get command (#4483) 2019-09-12 16:37:23 +02:00
Michael Kriese
331863d211 feat(platform): remove global platform variable (#4455) 2019-09-10 09:50:29 +02:00
Rhys Arkins
a32c8f4ccc fix: Revert "feat(platform): remove global platform variable (#4448)"
This reverts commit b5c9dc8e0b.
2019-09-09 06:55:30 +02:00
Michael Kriese
b5c9dc8e0b feat(platform): remove global platform variable (#4448) 2019-09-09 04:40:52 +02:00
Matouš Dzivjak
b62e68200e fix(github-actions): handle updates of yaml file defined actions (#4420) 2019-09-05 09:10:46 +02:00
Henning Perl
66f10121f0 fix(bazel): handling of non-github URLs in git_repository (#4407) 2019-08-31 07:10:22 +02:00
IKEDA Sho
2e873d34d4 feat(gradle): support Gradle projects in subdirectories (#4399) 2019-08-30 05:48:52 +02:00
Michael Kriese
73f58899c6 fix: typescript types (#4390) 2019-08-28 06:46:48 +02:00
Rhys Arkins
31ce47297b
fix(gomod): use go get to generate pseudo versions for digest updates (#4386)
Instead of generating the pseudo version ourselves, replace the existing pseudo version with a digest only and let “go get” massage it into a valid pseudo version.
2019-08-27 19:04:55 +02:00
Rhys Arkins
d0a32a53f7 logs: downgrade npm update logging 2019-08-27 15:17:36 +02:00
Rhys Arkins
c4e812a2c9 docs: update docs and app references 2019-08-27 13:11:25 +02:00
Olexiy Myronenko
a28f688b77 fix(gradle): allow use of variables with platform keyword and… (#4378) 2019-08-27 06:10:33 +02:00
Sergio Zharinov
276ab91985 fix(maven): Use repository urls from parent POM files (#4311) 2019-08-22 18:31:33 +02:00
IKEDA Sho
081a23e6fc chore(manager): add more type annotations (#4344) 2019-08-22 17:42:35 +02:00
IKEDA Sho
3a2c041ce1 chore(maven): add more type annotations (#4301) 2019-08-17 21:21:14 +02:00
Rhys Arkins
63efea0859 fix: Revert "fix(maven): registryUrls from parent hierarchy (#4288)"
This reverts commit 5aa66963c9.
2019-08-15 15:44:51 +02:00
Sergio Zharinov
5aa66963c9 fix(maven): registryUrls from parent hierarchy (#4288)
Co-authored-by: RoamingKiwi <jacob@jacobbyrne.co.nz>
2019-08-15 13:14:24 +02:00
Rhys Arkins
d1b427b553 fix(docker-compose): skip over dupes 2019-08-14 14:29:17 +02:00
Rhys Arkins
69493da51b logs: debug null docker compose yml 2019-08-14 14:08:12 +02:00
Rhys Arkins
1d7baa0bba fix(docker-compose): return early if null 2019-08-14 14:07:28 +02:00
Rhys Arkins
a60bcd1795 fix(docker-compose): allow duplicate keys when passing yaml
Closes #4287
2019-08-14 14:05:33 +02:00
Rhys Arkins
791d0803be fix(docker-compose): catch extract errors gracefully 2019-08-14 11:34:20 +02:00
Rhys Arkins
168fbc65ee fix(docker-compose): detect null config, warn only for parsing errors 2019-08-14 11:26:03 +02:00
Matt R. Wilson
8e20aa0806 fix(docker-compose): ignore image if built locally (#4272) 2019-08-14 09:39:58 +02:00
Sergio Zharinov
628b66ffbf fix(maven): Fix cyclic parents chain resolution (#4215) 2019-08-05 16:00:16 +03:00
IKEDA Sho
9b2f4576cd feat(gradle): Add basic Gradle Kotlin DSL support (#4086) 2019-08-04 14:18:05 +03:00
Nihal
5fc1eac45c feat: DroneCI (#4193) 2019-07-31 19:23:18 +02:00
Rhys Arkins
7379d548a9
feat(npm): dockerMapDotfiles (#4219) 2019-07-30 07:43:36 +02:00
Sergio Zharinov
13b4af5ed9 fix(buildkite): Handle more use-cases in config parser (#4167) 2019-07-29 12:23:03 +02:00
Rhys Arkins
bad5d2d970 logs: composer no warn for empty registryUrls 2019-07-29 12:21:15 +02:00
Tanuel
2fbed0e727 refactor(composer): Use string array for registry urls (#4180) 2019-07-29 09:27:23 +02:00
IKEDA Sho
11cd45af45 refactor(gradle): Reduce code duplication in build-gradle.ts (#4204) 2019-07-29 09:04:28 +02:00
Rhys Arkins
5a56be48a0 fix(pip_setup): managerData.lineNumber 2019-07-29 08:07:34 +02:00
Rhys Arkins
64f3a58489 fix(sbt): check variable exists 2019-07-29 07:51:48 +02:00
Rhys Arkins
e8eb055b46 fix(npm): remove copyLocalLibs functionality 2019-07-28 21:34:38 +02:00
Rhys Arkins
0b05e455c6 fix: Revert "fix(maven): Use documented default value for relativePath (#4182)"
This reverts commit 3d36f28875.
2019-07-28 20:31:13 +02:00
Rhys Arkins
8e13f590d2 Revert "fix(manager): fix maven path format (#4197)"
This reverts commit 0e6fc1e688.
2019-07-28 20:30:02 +02:00
IKEDA Sho
eefa8935e6 feat(sbt): Support a case that the Scala version is defined in a variable (#4205)
feat(sbt): Support a case that the Scala version is defined in a variable
2019-07-27 17:19:38 +02:00
Nihal
a6b48f690c fix: handle parsing of invalid YAML in .travis.yml (#4191) 2019-07-27 08:28:48 +02:00
Michael Kriese
0e6fc1e688 fix(manager): fix maven path format (#4197)
fix(manager): fix maven path format
2019-07-26 15:45:54 +02:00
Sho Ikeda
6ce0648398 fix(gradle): Take plugin repositories into account (#4185) 2019-07-26 05:35:00 +02:00
Sergio Zharinov
3d36f28875 fix(maven): Use documented default value for relativePath (#4182)
fix(maven): Use documented default value for `relativePath`
2019-07-25 21:29:50 +02:00
Sho Ikeda
4e68e6a931 feat(gradle): Support updating plugin dependencies 2019-07-25 15:16:32 +02:00
Michael Kriese
6f99118f7c feat(manager): convert to typescript (#4148) 2019-07-25 08:17:19 +02:00
Michael Kriese
709a2bc1ec fix(manager): add missing encodings (#4166) 2019-07-24 10:29:48 +02:00
Rhys Arkins
a6d7673a65
refactor: mavenProps (#4164) 2019-07-24 09:05:15 +02:00
Rhys Arkins
ff5e477f35 fix: composer build 2019-07-24 07:58:39 +02:00
Rhys Arkins
5fe1032d56 refactor: homebrew url 2019-07-24 07:57:03 +02:00
Rhys Arkins
65412428a2 refactor: homebrew repoName 2019-07-24 07:54:26 +02:00
Rhys Arkins
97193d10c6 refactor: homebrew sha256 2019-07-24 07:51:28 +02:00
Rhys Arkins
13255bd796 refactor: pipenv nested version 2019-07-24 07:45:51 +02:00
Rhys Arkins
38165d4b04 refactor: homebrew ownerName 2019-07-24 07:41:13 +02:00
Rhys Arkins
d20c3c033c refactor: composerLock removal 2019-07-24 07:29:01 +02:00
Rhys Arkins
a035c98f5e refactor: composerJsonType managerData 2019-07-24 07:26:17 +02:00
Rhys Arkins
a9947e3147 refactor: bazel def 2019-07-24 07:19:34 +02:00
Michael Kriese
ab8c69f620 logs: fix ruby-version manager (#4159)
Uses wrong property

relates to #4158
2019-07-23 20:38:59 +02:00
Michael Kriese
cbabf61a15 fix(manager): fix poetry artifact return value (#4158) 2019-07-23 20:38:30 +02:00
Rhys Arkins
ea561651ff refactor(gradle-wrapper): managerData 2019-07-23 15:06:11 +02:00
Michael Kriese
fd847da4a8 fix: refactor exec (#4155) 2019-07-23 14:39:15 +02:00
Michael Kriese
faf8e6110a fix(cargo): updateArtifacts should return array (#4157) 2019-07-23 14:33:47 +02:00
Rhys Arkins
b8b435b0fa
feat(npm): support binarySource=docker (#4150) 2019-07-23 10:20:27 +02:00
Rhys Arkins
eee428f973
feat(pnpm): support binarySource=docker (#4151) 2019-07-23 08:50:09 +02:00
Rhys Arkins
7009f3841c chore: cargo envVars map join 2019-07-22 21:41:34 +02:00
Sergio Zharinov
a3e832d007 fix(maven): fix implicit grouping update policy (#4149) 2019-07-22 18:47:24 +02:00
Rhys Arkins
21cbb72464 refactor: toml nestedVersion 2019-07-22 17:27:44 +02:00
Rhys Arkins
36ef59c325 chore(cargo): remove purl extract 2019-07-22 17:10:47 +02:00
Rhys Arkins
a9e293e1b5 fix(bundler): managerData.lineNumber 2019-07-22 17:09:20 +02:00
Rhys Arkins
d918d373ac fix(bazel): massage bazel-skylib 2019-07-22 16:46:57 +02:00
Rhys Arkins
20fc74fdf4 logs: info not warn for poetry.lock failure 2019-07-22 16:26:14 +02:00
Rhys Arkins
4cdaea3bff fix(bundler): group lineMatch 2019-07-22 14:16:16 +02:00
Rhys Arkins
7ee6f18943 fix(bundler): managerData.lineNumber 2019-07-22 11:58:33 +02:00
Rhys Arkins
7f6d1bf2ba fix(circleci): extract lineNumber into managerData 2019-07-22 11:33:05 +02:00
Rhys Arkins
639389cc0e refactor: terraform managerData 2019-07-22 09:43:25 +02:00
Rhys Arkins
968c8041d1 refactor: pip_requirements managerData 2019-07-22 09:42:08 +02:00
Rhys Arkins
aca981c49c refactor: nuget managerData 2019-07-22 09:40:22 +02:00
Rhys Arkins
395713d005 refactor: gomod managerData 2019-07-22 09:27:37 +02:00
Rhys Arkins
236b66fa4e refactor: bundler managerData 2019-07-22 09:07:03 +02:00
Rhys Arkins
4591729a05 refactor: buildkite managerData 2019-07-22 09:05:53 +02:00
Rhys Arkins
0bb8be345e refactor: docker-based datasources use managerData 2019-07-22 08:57:28 +02:00
Rhys Arkins
7dcaa84ebe refactor(docker): simplify getDep 2019-07-22 07:58:03 +02:00
praveshtora
a07cee1b52 feat(gomod): upgrade dependencies in replace directive (#4059) 2019-07-22 07:38:22 +02:00
praveshtora
9a32f35ddc fix(pip_setup): handle updating when multiple deps per line (#4119) 2019-07-22 07:20:53 +02:00
Sergio Zharinov
59034984e2 fix(maven): Fix issues with updating for grouped versions (#4139) 2019-07-21 20:05:49 +02:00
azu
6333646e6d fix(npm): fix detecting logic of npmClient (#4130)
fix(npm): fix detecting logic of npmClient
2019-07-20 09:46:47 +02:00
Rhys Arkins
34a96ad327 fix(yarn): no utf for added offline modules
Closes #4126
2019-07-19 11:20:52 +02:00
Rhys Arkins
f3db0eb68a logs: maven log unknown value 2019-07-19 07:13:04 +02:00
Rhys Arkins
f276e0c301 fix(bazel): handle url updating instead of urls 2019-07-18 23:27:31 +02:00
Rhys Arkins
9ffe3b0d65 fix(gitlab-ci): handle YAML exceptions gracefully 2019-07-18 23:06:50 +02:00
Tanuel
19e839fc5a feat(composer): Add support for custom git repositories (#4055) 2019-07-17 16:53:20 +02:00
Rhys Arkins
0398256e40
fix(bundler): handled mixed quotation types (#4103) 2019-07-17 10:24:41 +02:00
Michael Kriese
d97737914e refactor: add js type check (#4098) 2019-07-17 10:14:56 +02:00
Rhys Arkins
7fc1207683
feat(yarn): support yarn offline mirror (#4102)
Look for .yarnrc in same directory as yarn.lock. If found, look for yarn-offine-mirror line and check that folder for changes.

Closes #1452
2019-07-17 09:13:07 +02:00
Michael Kriese
855d5fbae3 fix: fix logging (#4100) 2019-07-16 13:47:29 +02:00
Roald Storm
32b414b5e0 fix(pip): Add the ability to handle pip's --extra-index-url (#4056)
* Add the ability to handle pip's --extra-index-url

As specified in the docs here:
https://pip.pypa.io/en/stable/reference/pip_wheel/#extra-index-url
it's possible to define more index-urls in a single package by using
--extra-index-url this was not correctly handled by renovatebot.
2019-07-15 22:36:09 +02:00
Rhys Arkins
85578e6eec fix(gitlabci-include): require logger 2019-07-15 15:15:30 +02:00
Jamie Magee
f334c568a5 feat(typescript): convert logger to typescript (#3671) 2019-07-15 11:04:05 +02:00
Rhys Arkins
fb21063290 fix(gomod): pass GOPROXY
Closes #4071
2019-07-15 08:15:07 +02:00
praveshtora
aaa80f8055 fix: Pass PROXY in child Process (#4013) 2019-07-13 08:23:03 +02:00
Sergio Zharinov
9a3c9cabb8 feat(maven): Group dependencies by common version property (#4028) 2019-07-13 07:56:44 +02:00
Rhys Arkins
c48129abfb fix(bundler): brace against undefined replace 2019-07-12 08:17:16 +02:00
Sho Ikeda
0d2427a0f9 fix(gradle): Support extension without classifier (#4050) 2019-07-11 22:20:26 +02:00
Sho Ikeda
bb5baaad3f fix(gradle): Support classifier and extension (#3995)
https://docs.gradle.org/current/dsl/org.gradle.api.artifacts.dsl.DependencyHandler.html#N17198
2019-07-10 09:33:13 +02:00
Rhys Arkins
0da87a66ea fix(nuget): allow configurable versionScheme
Closes #4027
2019-07-06 08:45:43 +02:00
Rhys Arkins
029d11e812 fix(gitlab-ci): optional endpoint 2019-07-02 07:50:53 +02:00
Rhys Arkins
724d0171f3 fix: warn only for extraction errors 2019-07-02 07:08:48 +02:00
Mike Bryant
ad3ee49c8b feat: Add support for gitlab-ci include statements (#3946) 2019-07-01 15:43:01 +02:00
Rhys Arkins
a302c7ecf2
fix(bazel): extract urls for new hashes (#3980) 2019-06-30 07:18:37 +03:00
Rhys Arkins
32009378de fix(npm): full npm install if deduping
Closes #3972
2019-06-27 10:39:03 +03:00
Rohan Singh
335014bf1a fix(bazel): use docker version scheme for container_pull (#3948) 2019-06-24 19:49:23 +03:00
Sergio Zharinov
acd318a1d9 feat(swift): Support for Package.swift files (#3911) 2019-06-24 19:43:48 +03:00
Rhys Arkins
df34ddc528 refactor(bazel): use hasha instead of crypto 2019-06-21 08:26:20 +02:00
Rhys Arkins
86a9f7f5ae test: simplify bazel update tests 2019-06-21 08:09:42 +02:00
Rhys Arkins
c1f46ff4a8 fix(pip_requirements): handle complex index-url
Closes #3944
2019-06-20 10:25:17 +02:00
Rhys Arkins
deaa028149 fix(pip_requirements): registryUrls on res, not per-dep 2019-06-20 10:20:27 +02:00
Rhys Arkins
2142007737 fix(bazel): better match replace string
Closes #3902
2019-06-17 20:48:01 +02:00
Rhys Arkins
522ecc3928 fix(bazel): correct replace newValue with leading v 2019-06-17 20:37:46 +02:00
Rhys Arkins
5f59a0b5a8
feat(composer): support lock file maintenance (#3912) 2019-06-11 15:06:29 +02:00
Rhys Arkins
c911a2dfaf refactor: getArtifacts -> updateArtifacts 2019-06-09 08:18:41 +02:00
Rhys Arkins
da4818c900 fix(bundler): syntax error when using global bundler
When running global bundler, a mistaken additional `”` caused the command to fail.

Fixes #3860
2019-06-08 10:50:01 +02:00
renovate[bot]
dab7b1c314 chore(deps): update dependency prettier to v1.18.0 (#3905) 2019-06-07 06:34:57 +02:00
Rhys Arkins
5ca5a124fa
feat(pipenv): support index registry urls (#3885)
Closes #3865
2019-06-04 14:08:37 +02:00
Rhys Arkins
14c3e7e9e4 fix(lerna): detect undeclared npmClient=yarn 2019-06-03 22:24:40 +02:00
Rhys Arkins
9219d34521
fix(yarn): run yarn again after dedupe (#3871) 2019-06-03 10:05:56 +02:00
Rhys Arkins
cc8e40265b fix(bazel): cast file to Buffer before calculating sha256 2019-06-01 05:31:25 +02:00
Sergio Zharinov
a91e3d39f3 feat(sbt): Add Scala (sbt) datasource (#3835) 2019-05-31 01:39:07 +02:00
Sergio Zharinov
d293fb72fb fix(sbt): Skip deps using missing Scala versions (#3828) 2019-05-28 14:06:05 +02:00
Rhys Arkins
b96c03a7aa refactor: move manager updates to util/got 2019-05-25 22:48:33 +02:00
Rhys Arkins
14363a9388 test: fix pip_setup coverage 2019-05-25 07:07:16 +02:00
Rhys Arkins
439e19d78c
chore: remove all gitFs references (#3807) 2019-05-25 06:23:44 +02:00
Rhys Arkins
5f11c5e8d9
feat: hostRules rewrite (#3801)
Rewrites hostRules for increased flexibility. Includes renames of existing fields within a hostRule:
- `endpoint` -> `baseUrl`
- `host` -> `hostName`

Additionally, `domainName` has been added. Migration scripts should take care of these for users but it's recommended to update configs to match the new fields anyway.
2019-05-24 17:40:39 +02:00
Rhys Arkins
2426a5239f
feat(github): use git for all file operations (#3806)
With Renovate’s github platform code now using git for all file system operations, we need to tell Renovate which gitAuthor to use.

If you had already configured a gitAuthor in your bot config, you do not need to make any change.

Otherwise, to keep functionality as before, you should either:
(1) configure `gitAuthor` to match the bot’s account, or
(2) recreate your bot’s personal access token to include the “user:email” permission so that the bot can retrieve the email itself

BREAKING CHANGE: GitHub bot admins should either configure gitAuthor in their config or generate a new token with “user:email” permissions.
2019-05-24 16:34:52 +02:00
Michael Kriese
5f213255d0 test: fix coverage (#3794) 2019-05-24 15:01:07 +02:00
Sergio Zharinov
bda25d6ca7 feat(clojure): Add basic support for Leiningen and deps.edn (#3685) 2019-05-24 07:29:26 +02:00
Rhys Arkins
c02abf0976
feat: rename hostRules.platform to hostRules.hostType (#3768)
Refactors hostRules to use field “hostType” instead of “platform”. hostType can include datasources like npm, maven, pypi, etc.
2019-05-21 13:20:09 +02:00
Rhys Arkins
dbb1332a04 fix(npm): ignoreNpmrcFile until artifact generation 2019-05-20 23:37:43 +02:00
Rhys Arkins
735121fd39 fix(npm): remove npmrc file before artifacts if ignored 2019-05-20 20:59:15 +02:00
Rhys Arkins
cdf17bd242 fix(maven): handle xml with leading spaces 2019-05-17 18:32:52 +02:00
Rhys Arkins
5e75a9fa88 fix(docker): skip any FROM with $ sign 2019-05-17 06:47:40 +02:00
Rhys Arkins
0fd67f6e89 fix(bundler): log gemfile, gemrc if marshalling error 2019-05-17 06:42:20 +02:00
Ciprian Mandache
0d369ad8f6 fix(gitlabci): support ext syntax for docker img (#3721) 2019-05-16 14:53:50 +02:00
Rhys Arkins
949229594b fix(docker): handle host with port correctly
Closes #3698
2019-05-15 11:57:03 +02:00
Rhys Arkins
22d82a4b34 fix(bundler): use bundle lock —update
Closes #3697
2019-05-15 11:01:16 +02:00
Rhys Arkins
464fd3671f fix(bundler): fix global bundler typo 2019-05-15 11:00:26 +02:00
Rhys Arkins
4e65258552 fix(pip_setup): log content when failing to parse 2019-05-15 07:33:35 +02:00
Rhys Arkins
f9596fc7ea chore: less debug logging 2019-05-15 07:33:22 +02:00
Rhys Arkins
71c7053d68 test: fix lint 2019-05-14 22:41:31 +02:00
Rhys Arkins
fdcbb39c16 fix(pip_requirements): set lockedVersion for == deps 2019-05-14 20:09:54 +02:00
Rhys Arkins
98c778cce3 fix(maven): use isValid, not isVersion 2019-05-14 19:16:39 +02:00
Rhys Arkins
c016558ad3 fix(bundler): install bundler with —no-document 2019-05-13 15:45:52 +02:00
Rhys Arkins
26f2aa47d3 fix(bundler): detect ruby constraint from Gemfile first 2019-05-13 11:54:18 +02:00
Rhys Arkins
0bf6e15636 fix(bundler): handle ‘ quotation marks in Gemfile 2019-05-12 21:52:44 +02:00
Michael Kriese
1d474e409f feat: add 60s timeout to all requests (#3641) 2019-05-10 11:54:01 +02:00
Michael Kriese
5c817b1315 fix(travis): missing file in npm package (#3649) 2019-05-09 14:39:47 +02:00
Rhys Arkins
daff90163e fix(travis): don’t use setTimeout 2019-05-09 10:43:17 +02:00
Rhys Arkins
01b5ae2638 fix: clear timeouts before existing
Closes #3644
2019-05-08 21:02:09 +02:00
Rhys Arkins
d66529711b
feat(node): dynamically determine releases by date (#3643) 2019-05-08 11:38:42 +02:00
Rhys Arkins
37acd1a2d2
docs: update pub implementation status 2019-05-08 08:56:46 +02:00
Rhys Arkins
81f04cadb5 fix(travis): fully fixed versions and docs 2019-05-08 08:02:23 +02:00
Michael Kriese
22a8572622 fix(travis): update travis node versions (#3642) 2019-05-08 06:44:38 +02:00
Rhys Arkins
701b4ee526 fix(gomod): tidy again after vendoring 2019-05-03 00:08:22 +02:00
Rhys Arkins
49c4ad07c7
fix(lerna): support update-lockfile with npm (#3623)
This fix allows update-lockfile updates to work with lerna/npm where there is a package-lock.json in every package. Still won’t work if there’s a mix of update-lockfile and non/update-lockfile updates within one branch though.
2019-05-02 18:16:22 +02:00
Nikita Chashchinskii
5c23ec69ea feat: Add homebrew manager (#3530) 2019-05-01 10:39:40 +02:00
Sergio Zharinov
ca9a21d3e5 feat(scala): Add sbt support (#3603) 2019-05-01 08:40:35 +02:00
Rhys Arkins
e17f998fb7 fix(npm): catch disk-space error in stderr 2019-04-28 23:04:51 +02:00
Rhys Arkins
f68414fb2f fix: less debug logging, more trace 2019-04-28 22:08:06 +02:00
Rhys Arkins
01753f986e fix(lerna): check for both shrinkwrap and package lock 2019-04-28 10:51:21 +02:00
Nikita Chashchinskii
ba3d3ea025 fix: Update poetry.lock file if it is in a subdirectory (#3606) 2019-04-27 19:24:55 +02:00
Michael Kriese
99530c4a85 fix(pnpm): shrinkwrap -> pnpm-lock (#3602) 2019-04-26 13:35:37 +02:00
Rhys Arkins
ce10293e57 fix(gomod): consider added/deleted vendor files too
Fixes #3590
2019-04-25 23:26:09 +02:00
Rhys Arkins
1df7231e5b refactor: modified => f 2019-04-25 23:24:44 +02:00
Rhys Arkins
d98dc246d7 fix(gomod): detect updated go.mod after artifacts
Closes #3589
2019-04-25 23:21:09 +02:00
Rhys Arkins
49653c6550 fix(gomod): comment out relative replace, don’t delete 2019-04-25 22:23:19 +02:00
Rhys Arkins
fa6dea0373 fix(npm): internalPackages typo 2019-04-25 18:26:23 +02:00
Rhys Arkins
924a43d090 fix(npm): full install for npm shrinkwrap 2019-04-25 09:31:09 +02:00
Rhys Arkins
2b4bf85b63 fix: run minimatch with dotfile matching enabled 2019-04-25 07:00:52 +02:00
Rhys Arkins
28f3ab69a6 fix(npm): lerna npm shrinkwrap lockFileMaintenance 2019-04-24 15:47:06 +02:00
Rhys Arkins
3c33ecb950 fix(poetry): skip pyproject files without poetry section 2019-04-23 12:52:53 +02:00
Rhys Arkins
b3ad425b53
feat(npm): support package aliases (#3577)
Closes #3575
2019-04-23 10:48:09 +02:00
Gaël
72802f9f2b docs: sbt / scala (#3458) 2019-04-22 22:09:12 +02:00
Rhys Arkins
b0fdfeba58
refactor(pipenv): write registryUrls to packageFile level (#3574) 2019-04-22 17:11:15 +02:00
Rhys Arkins
d1c18c84d0 fix(pipenv): handle nested definitions better
Closes #3482
2019-04-22 08:46:56 +02:00
Dmitry
55fb2de89e fix(pipenv): detect 'any-version' packages (#3544) 2019-04-22 08:19:05 +02:00
Wu Haotian
05e9c57a35 fix(npm): always run lerna bootstrap with --no-ci (#3571)
fix(npm): always run `lerna bootstrap` with `--no-ci`
2019-04-21 10:52:41 +02:00
Rhys Arkins
3460dbe08c fix(npm): remove local .npmrc file if ignoring
In gitFs, it’s not enough to just skip writing a .npmrc file if we are ignoring it - the file is already in the file system so we need to delete it so that npm/yarn don’t try to use it.
2019-04-16 23:09:35 +02:00
Sergio Zharinov
b7848757cb feat(dart): Add support for Dart (#3468)
It works for most of Dart pubfiles (except invalid YAML). Later maybe we should implement own "weaker" parser.

Closes #3301
2019-04-15 15:07:54 +02:00
Sergio Zharinov
336c94465e feat(maven): Handle parameterised repositories (#3533)
Closes #3522
2019-04-12 16:59:35 +02:00
Dmitry
4607276464 feat(bazel): support "container_pull" dependency-type (#3514) 2019-04-12 13:27:49 +02:00
Sergio Zharinov
5fb1ad3947 feat(maven): Support nested version placeholders (#3492) 2019-04-12 06:43:38 +02:00
Rhys Arkins
3ec1421301 refactor: log packagist host rules results 2019-04-10 17:44:42 +02:00
Nikita Chashchinskii
f5ef05d54b feat: Add ruby-version manager (#3515)
Adds functionality to detect and update `.ruby-version` files.
2019-04-10 14:17:21 +02:00
Rhys Arkins
6b1695e16d fix(pnpm): define store location explicitly 2019-04-10 12:13:52 +02:00
Rhys Arkins
a599eab231
feat: unify file locations (#3507)
feat: unify file locations
2019-04-09 17:14:08 +02:00
Rhys Arkins
30a67fe43c feat(composer): update --with-dependencies 2019-04-09 12:17:36 +02:00
Nikita Chashchinskii
9476c80f3d feat: Cargo manager use toml parser (#3505) 2019-04-09 10:25:13 +02:00
Rhys Arkins
2419878761 logs: dedupe err.message 2019-04-08 08:52:04 +02:00
Rhys Arkins
365b60ac18 feat(gomod): private module support (#3495) 2019-04-08 08:15:37 +02:00
Rhys Arkins
7bf52c5388 fix: Revert "feat(gomod): private module support (#3495)"
This reverts commit 0bd0ea33f6.
2019-04-08 06:56:05 +02:00
Nikita Chashchinskii
9d74afe9f2 feat: Add support for python poetry manager (#3440) 2019-04-07 09:48:48 +03:00
Rhys Arkins
0bd0ea33f6
feat(gomod): private module support (#3495)
Adds support for fetching private modules off github.com

Closes #3202
2019-04-07 08:53:16 +03:00
Rhys Arkins
9cf43e2fde fix(gomod): await getFile 2019-04-07 07:28:13 +02:00
Rhys Arkins
c07b815668 fix(maven): set language=java 2019-04-06 10:07:03 +02:00
Rhys Arkins
431588a27a refactor(maven): externalize update and extract 2019-04-06 10:05:52 +02:00
Rhys Arkins
05bad36459 fix(bazel): preserve newlines
Closes #3487
2019-04-05 21:09:20 +02:00
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
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
Rhys Arkins
a77a35e42c fix(composer): remove scripts from composer.json 2018-08-06 16:27:57 +02:00
Rhys Arkins
7453ea18e4 fix(composer): --ignore-platform-reqs 2018-08-06 16:19:14 +02:00
Rhys Arkins
1420443242 fix(meteor): match only clean Npm.depends 2018-08-06 08:20:06 +02:00
Maximilian Gaß
4a3ed1dd6b feat: Implement Kubernetes manager (#2341)
Add support for renovating Docker images in Kubernetes manifests
2018-08-04 08:04:11 +02:00
Rhys Arkins
31f2f4c610 refactor: rename getDependency to getPkgReleases 2018-07-29 16:04:00 +02:00
Mathias Schreck
4868a0e9d9 fix: strip yarn-path option from yarnrc (#2311)
Removing the `yarn-path` option from `yarnrc` makes sure that renovate always uses its bundled version of `yarn`.

Closes #2310
2018-07-26 16:18:37 +02:00
Rhys Arkins
efff72a5e1 chore: fix lint 2018-07-22 09:39:35 +02:00
Rhys Arkins
250c4d8162 feat(npm): ignore vendorised package.json files
Closes #2291
2018-07-22 09:29:19 +02:00
Rhys Arkins
37b1c8f0de
feat: gitlabci.yml support (#1744)
Adds support for .gitlabci.yml files. Part of the logic is same as Docker Compose files, however the “services” list is new/different so requires additional logic.

Closes #1598
2018-07-22 06:33:11 +02:00
Rhys Arkins
91215af1ba refactor(js): use language ‘js’ for npm and meteor 2018-07-21 21:28:38 +02:00
Rhys Arkins
a0e2a18e7a
refactor(docker): rename docker manager to dockerfile (#2298)
"docker" in config now refers to the Docker "language", which is the parent of dockerfile, docker-compose and circleci managers.
2018-07-21 19:40:50 +02:00
Rhys Arkins
2b0cfd436e refactor(docker): don’t include language in extract 2018-07-21 09:38:12 +02:00
Rhys Arkins
d2e1bc38e4 refactor(docker): remove unused exports 2018-07-21 09:34:27 +02:00
Rhys Arkins
03b7bc40ff refactor(circleci): use docker extract 2018-07-21 09:07:11 +02:00
Rhys Arkins
8a116f9ab5 refactor(docker-compose): use docker extract 2018-07-21 09:03:49 +02:00
Rhys Arkins
8175f363b7 refactor: docker.getDep 2018-07-21 09:00:31 +02:00
Rhys Arkins
7254b5f16c
feat: use generic lookup for docker (#2280)
Removes custom Docker lookup code and instead integrates it with the generic lookup routine used by other package managers. Logic for digest support was added but is used by Docker-only for now.

Closes #2081, Closes #2276
2018-07-20 09:09:01 +02:00
Rhys Arkins
c4389cb11b
feat(composer): composer.lock support (#2255)
Adds logic to support updating the accompanying `composer.lock` file whenever `composer.json` is updated.

Closes #2098
2018-07-19 09:14:34 +02:00
Rhys Arkins
cddd9cd858 feat: raise prs with lock file warning
Raises PRs and includes warning if lock file updates fail and release timestamp is greater than a day old.

Closes #2233
2018-07-14 08:14:02 +02:00
Rhys Arkins
ca23927735 feat: pin PRs should only block necessary PRs
Previously if there were any “pin” updates then that would block all non-pin updates until the pin one was merged. However, this doesn’t make sense if the other PR is for an unrelated dependency.

Closes https://github.com/renovatebot/config-help/issues/64
2018-07-13 06:48:52 +02:00
Rhys Arkins
11c4741271 refactor: fix import order 2018-07-09 11:15:06 +02:00
Rhys Arkins
5ea6955aac fix: don’t reuse lock files in branch if any updates are lock file maintenance 2018-07-05 12:06:55 +02:00
Rhys Arkins
517de6f545
feat: repositoryUrls (#2221)
Adds config option repositoryUrls which can be used by pip to define an alternate host to pypi.

Closes #2181
2018-07-05 11:33:50 +02:00
Rhys Arkins
07b652507b refactor: remove unused contentPatterns
Closes #2168
2018-07-04 22:40:06 +02:00
Rhys Arkins
cd9adf76b5 refactor: RENOVATE_REUSE_PACKAGE_LOCK
Attempted workaround for #1984
2018-07-04 19:20:34 +02:00
Rhys Arkins
fb6271e4f7 refactor: rename update.type -> update.updateType 2018-07-04 10:11:53 +02:00
Rhys Arkins
17f54934e2 refactor: remove unused nuget.getPackageUpdates 2018-07-04 10:04:52 +02:00
Rhys Arkins
41efc97e60 fix(docker): harden currentValue check 2018-06-29 17:50:29 +02:00
Rhys Arkins
6ad0aba860 tests: fix coverage 2018-06-29 17:44:17 +02:00
Rhys Arkins
7be16a4fd5 fix(docker): update Dockerfile by line number 2018-06-29 17:17:52 +02:00
Rhys Arkins
02b79b96b0 refactor(docker): set newValue to version not version-suffix 2018-06-29 17:15:27 +02:00
Rhys Arkins
103f54402e refactor(docker): extract Dockerfile line by line 2018-06-29 15:54:13 +02:00
Rhys Arkins
1eaf512710 refactor(docker): use extracted value and suffix 2018-06-29 15:18:43 +02:00
Rhys Arkins
c25e979aad refactor: push docker suffix filter to datasource 2018-06-29 14:28:24 +02:00
Rhys Arkins
0fb704ff29 refactor(docker): rename currentPlatform to tagSuffix 2018-06-29 14:09:59 +02:00
Rhys Arkins
ebfb97ba78
refactor: use docker versioning (#2195) 2018-06-29 12:59:15 +02:00
Rhys Arkins
511fef8135 refactor: use docker versioning
Initially docker versioning is just a node semver wrapper, but it will later be expanded with custom support for docker-specific version tags.
2018-06-29 09:02:49 +02:00
Rhys Arkins
01ccb03b94 feat: massage docker Node.js branches
Manually finds and massages node updates in Docker, Docker Compose and Circle CI so that they should take on the same “renovate/node-8.x” style branch naming. The goal is to unify all node updates into a single branch.
2018-06-29 06:55:42 +02:00
Rhys Arkins
25a35b871d fix(npm): set lockedVersion only if valid semver 2018-06-29 06:31:12 +02:00
Rhys Arkins
46bc8d0068 fix: restore lockFile set for lerna 2018-06-28 13:41:11 +02:00
Rhys Arkins
ae62215936 feat(npm): lerna lockFile maintenance
Adds support for lock file maintenance when lerna is in use.

Closes #1974
2018-06-28 12:33:45 +02:00
Rhys Arkins
a3043c47ec feat: log warning if lock file error persists for 1 day
Raises an additional log file warning whenever lock file errors persist for a day or longer. The idea of this is that temporary errors - e.g. caused by npmjs itself - should not disturb the user. 1 day seems like a reasonable time for multiple attemps to be made first, assuming it has been scheduled. Once this is tested in production for a little while and no unexpected problems, it will be converted to actually raise a config warning issue in the repo to get user attention.
2018-06-28 10:17:17 +02:00
Rhys Arkins
dca7eb6983 fix: match against non-starred workspaces packages
Previously we were missing out cases like `app/package.json` if the workspaces packages were defined like `[“packages/*”, “app/“]`.

Fixes #2186
2018-06-27 14:22:45 +02:00
Rhys Arkins
0e123661cd fix(pip): enable non-equals package patterns 2018-06-25 11:24:59 +02:00
Rhys Arkins
ec5ac5fbf6 logs: lower npm.update debugs to trace 2018-06-22 22:39:21 +02:00
Ayoub Kaanich
e0ebf03e5a feat: PEP440 ranges (#2137)
Closes #2085
2018-06-19 13:32:05 +02:00
Rhys Arkins
124807974a feat(nuget): support changelogs
Refactors nuget lookups to use generatic logic and fill in repositoryUrl to enable changelogs.
2018-06-14 15:52:37 +02:00
Sam Neirinck
87575f49a3 feat: nuget support
Adds basic support for renovating C# project files. The scope is initially limited to:

- .Csproj only (no VB.NET / F#)
- SDK style csproj's only (this is the default in .net core anyway)
- Limited to nuget.org support (no custom repository support)

Closes #935, Closes #2050
2018-06-14 11:17:14 +02:00
Rhys Arkins
a60c210076 fix(docker): extract Dockerfile FROM on adjacent lines 2018-06-13 10:25:42 +02:00
Rhys Arkins
688ec14b6a refactor: datasource return array of releases 2018-06-11 14:28:50 +02:00
Rhys Arkins
371c10f259 refactor: rename clean=true to sanitize=true 2018-06-11 07:15:54 +02:00
Rhys Arkins
453fb7033f fix(npm): gracefully skip empty dependency version 2018-06-08 11:26:18 +02:00
Rhys Arkins
dbfb5606e5 logs: lower pnpm lock file error to info 2018-06-08 11:25:53 +02:00
Rhys Arkins
94cdf2cd3e
feat: composer range support (#2099)
Adds range support for composer. Mostly leverages existing npm semver range support, but massages where necessary to support Composer differences.

Closes #2097
2018-06-08 08:44:16 +02:00
Ayoub Kaanich
697b80aaf0 feat: composer exact semver support (without lockfile updates) (#1993)
This PR adds the packagist datasource plus basic exact semver Composer support. Composer lockfile updating is not yet supported.
2018-06-08 06:15:13 +02:00
Rhys Arkins
4919306265 fix(npm): correct npmrc replace regex 2018-06-07 13:05:56 +02:00
Rhys Arkins
2a0f2fbba9 fix(npm): filter out package-lock = false in .npmrc
This prevents us from updating npm lock files
2018-06-07 12:39:49 +02:00
Rhys Arkins
3dffefd82b logs: fix npm lockfile debug filename and command 2018-06-07 12:32:38 +02:00
Rhys Arkins
b21f873cf5 fix(travis): retain existing full config when updating
Also improved sorting and quotation detection.

Closes #2087
2018-06-05 18:40:05 +02:00
Ayoub Kaanich
f283104988 feat: use purl for pip requirements (#2067) 2018-06-05 11:26:08 +02:00
Rhys Arkins
c2c50222cc refactor(pip): expand matches logic 2018-06-05 10:26:58 +02:00
Rhys Arkins
775b2979eb fix(pip): reset regex before each search 2018-06-05 10:21:36 +02:00
Connor Brathwaite
398303235b (refactor): delegate generic predicate checking to @sindresorhus/is (#2021)
Closes #1764
2018-06-04 20:07:22 +02:00
Rhys Arkins
233fa20781 refactor: source yarn versions from npm not github 2018-06-04 06:40:13 +02:00
Rhys Arkins
7feca361af refactor: github datasource default to tags 2018-06-04 06:36:48 +02:00
Rhys Arkins
c21029ecbb
refactor: rename some versioning interface (#2078)
isPinnedVersion -> isVersion
rangify -> getNewValue
2018-06-04 06:03:21 +02:00
Rhys Arkins
d8cb261ecb
refactor: rename version -> value (#2076)
Renames currentVersion to currentValue, newVersion to newValue, newVersionMajor to newMajor, and newVersionMinor to newMinor.
2018-06-04 05:48:20 +02:00
Rhys Arkins
24e341b5b4 feat: support semver equals (=)
Adds support for upgrading equals values, e.g. from `=1.0.0` to `=1.0.1`.
2018-06-03 22:25:27 +02:00
Rhys Arkins
dc6959c939 fix: set versionScheme for all manager extracts 2018-06-03 19:13:39 +02:00
Ayoub Kaanich
c54d0ab69d refactor: add versioning wrapper 2018-06-03 17:02:53 +02:00
Rhys Arkins
527c355b48
refactor: move getRangeStrategy to manager (#2072) 2018-06-03 14:25:05 +02:00
Rhys Arkins
dd09707c20 refactor: default versionScheme to ‘semver’ 2018-06-03 07:43:09 +02:00
Rhys Arkins
d982056cd3 fix: skip non-semver nvmrc 2018-06-02 19:36:12 +02:00
Rhys Arkins
d1f49e93eb fix: buildkite semverScheme -> versionScheme 2018-06-02 18:59:02 +02:00
Rhys Arkins
13e8e1a2ff fix: travis get clean versions 2018-06-02 18:58:48 +02:00
Rhys Arkins
2bdc54501a feat: use purl for nvm 2018-06-02 18:28:54 +02:00
Rhys Arkins
0a38cfbc22 chore: add versionScheme to purl extract 2018-06-02 10:19:36 +02:00
Rhys Arkins
2383c5c462 fix(npm): bumpVersion use correct from version
Closes #2060
2018-06-02 07:44:01 +02:00
Rhys Arkins
1f72f473d1 fix: look up npm versions from npmjs not github 2018-06-01 19:07:55 +02:00
Rhys Arkins
fc48fac138 fix: ignore unknown engines fields
Ignores any engines fields in package.json that aren’t node, npm or yarn.

Closes #2059
2018-06-01 18:14:49 +02:00
Rhys Arkins
8b279fd38b feat: use purl for buildkite 2018-06-01 17:12:08 +02:00
Rhys Arkins
c86ea5a4ec refactor: bazel use purl 2018-06-01 16:23:13 +02:00
Rhys Arkins
784a0598b9 refactor: use options for github datasource 2018-06-01 15:32:17 +02:00
Rhys Arkins
04f1e40c30 fix: disable major node engines updates 2018-06-01 11:49:44 +02:00
Rhys Arkins
e39cc9a584
feat: use purl for package lookups (#2041) 2018-06-01 09:02:51 +02:00
Rhys Arkins
8bdc7a6c95 refactor: add purl for meteor 2018-05-31 22:21:28 +02:00
Rhys Arkins
122bb3e3d8 refactor: don’t massage @types url 2018-05-31 22:07:44 +02:00
Rhys Arkins
077923109e
feat: add purl to npm packages (#2053) 2018-05-31 19:19:42 +02:00
Rhys Arkins
d37eb1d694
logs: debug new node releases 2018-05-31 16:28:01 +02:00
Rhys Arkins
b5fdc67872
feat: github datasource getDependency (#2051)
Add new function `getDependency` with same structure as in npm.
2018-05-31 16:24:14 +02:00
Rhys Arkins
830d56875e
fix: restore allowedVersions filter (#2044)
Also adds tests to make sure it’s never lost again.

Fixes https://github.com/renovatebot/config-help/issues/49
2018-05-30 08:27:49 +02:00
Rhys Arkins
8737a324df fix(yarn): handle complex workspaces packages 2018-05-29 22:06:36 +02:00
Rhys Arkins
5475e567d7 fix(node): use semver sort 2018-05-29 15:17:41 +02:00
Rhys Arkins
1da997dbe6 fix: pin when range strategy is autodetected to pin 2018-05-29 14:27:34 +02:00
Rhys Arkins
51108d3fed logs: log dep name with pin message 2018-05-29 14:20:28 +02:00
Rhys Arkins
6cb8f7f583
feat: refactor lookup/package logic for npm (#2038) 2018-05-29 12:44:01 +02:00
Rhys Arkins
16e66ad67b fix: do not log find before lock file
Closes #2039
2018-05-29 10:04:51 +02:00
Rhys Arkins
9e80c2bde7 fix(npm): unpublishable calculation 2018-05-29 09:52:32 +02:00
Rhys Arkins
1271414cb0 fix: respect latest only if ignoring unstable 2018-05-29 09:32:15 +02:00
Rhys Arkins
7ad306da44 feat: allow rollback + upgrades
If a current version is missing, we now return both rollback as well as upgrades if upgrades are present.
2018-05-29 07:13:44 +02:00
Rhys Arkins
6c2cabac6e feat: optimise lerna reuse
Removes `npx` approach and instead installs each version globally.

Closes #1801
2018-05-29 06:25:46 +02:00
Rhys Arkins
7b149df595 logs: less debug 2018-05-28 22:25:33 +02:00
Rhys Arkins
720c280421 refactor: handle lock file errors due to registry not being ready 2018-05-28 20:12:17 +02:00
Rhys Arkins
6f77953795 fix(npm): use —no-audit 2018-05-28 19:41:34 +02:00
Rhys Arkins
4ae2ee10e9 refactor: run find after npm install 2018-05-28 19:19:10 +02:00
Rhys Arkins
98c250af1a fix: log info messages if package being updated fails 2018-05-28 18:47:58 +02:00
Rhys Arkins
11d5a8b02e fix: don’t update starred versions 2018-05-28 15:18:40 +02:00
Rhys Arkins
1c115ae6b6 refactor: move getRangeStrategy into npm/lookup 2018-05-28 13:25:54 +02:00
Rhys Arkins
c9e9bb73a8 fix: widen complex bump range instead of skip 2018-05-28 12:42:02 +02:00
Rhys Arkins
addf184473
feat: refactor getPackageUpdates for manager expansion (#1994)
The goal of this PR is to refactor npm's version lookup/grouping as much as possible to enable the same logic to be used for other package managers.
2018-05-28 09:09:22 +02:00
Rhys Arkins
a9f47ca0b0 fix(yarn): read yarnrc contents properly
Properly fixes #2020
2018-05-26 18:22:32 +02:00
Rhys Arkins
c2100ffc21 fix(yarn): look for .yarnrc for every package file
Closes #2020
2018-05-25 12:12:03 +02:00
Rhys Arkins
7f8dd25a97 refactor: matchesSemver -> matches 2018-05-21 17:40:15 +02:00
Rhys Arkins
63f2669153 refactor: semverSort -> sortVersions 2018-05-21 17:35:50 +02:00
Rhys Arkins
7a1d30c8b6 refactor: move semver to lib/versioning 2018-05-21 17:30:55 +02:00
Rhys Arkins
d45f957cfd refactor: defer isX upgrade classifications 2018-05-21 17:20:41 +02:00
Rhys Arkins
702ccee67a refactor: rename changelog fields 2018-05-18 17:20:20 +02:00
Rhys Arkins
4c80a433df fix(npm): handle jump between unstable releases in same major
Closes #1990
2018-05-18 16:07:33 +02:00
Rhys Arkins
93379c4b79 refactor: separatePatchReleases -> separateMinorPatch
Closes #1952
2018-05-17 07:40:29 +02:00
Rhys Arkins
6c3645d18c refactor: separateMajorReleases -> separateMajorMinor 2018-05-17 07:37:37 +02:00
Rhys Arkins
eaf10143c2 refactor: rename multipleMajorPrs -> separateMultipleMajor 2018-05-17 07:33:59 +02:00
Rhys Arkins
7f4cb4aa57
feat: rangeStrategy (#1954)
This PR replaces the existing `pinVersions`, `upgradeInRange` and `versionStrategy` settings with a single one: `rangeStrategy`.

Previously:
 - `pinVersions` could be `true` or `false`, but defaulted to `null`, which meant that Renovate would decide. `true` meant that Renovate would replace existing ranges like `^1.0.0` with an exact/pinned version such as `1.2.0`.
 - `upgradeInRange` could be true or false, default to false. If `true`, it would mean Renovate would replace an existing range like `^1.0.0` with something like `^1.2.0`
 - `versionStrategy` could be `replace` or `widen` and was mainly used for `peerDependencies` to widen existing ranges, e.g. from `^1.0.0` to `^1.0.0 || ^2.0.0`

It was possible to set conflicting settings, e.g. configuring `pinVersions=true` and `upgradeInRange=true`.

Now, we combine them into a single setting: `rangeStrategy`:
 - `auto` = Renovate decides (this will be done on a manager-by-manager basis)
 - `pin` = convert ranges to exact versions
 - `bump` = same as `upgradeInRange` previously, e.g. bump the range even if the new version satisifies the existing range
 - `replace` = Same as pinVersions === false && upgradeInRange === false, i.e. only replace the range if the new version falls outside it
 - `widen` = Same as previous versionStrategy==='widen'
2018-05-17 07:16:13 +02:00
Rhys Arkins
10fae47aa0 logs: print cmd when lockfile error 2018-05-16 08:22:28 +02:00
Rhys Arkins
d8aac6aff6 refactor: run find before installs 2018-05-16 08:20:51 +02:00
Rhys Arkins
b7703e3beb refactor: ls -l before yarn install 2018-05-16 06:58:07 +02:00
Rhys Arkins
7f49e1b617 logs: fix circleci debug 2018-05-16 06:36:48 +02:00
Rhys Arkins
2167eeba11 fix(lerna): return gracefully for lock file maintenance 2018-05-16 05:27:12 +02:00
Rhys Arkins
b7c90ce15d refactor(lerna): throw error if no lernaClient 2018-05-15 21:38:39 +02:00
Rhys Arkins
9f8852c1e3 refactor(lerna): debug missing lernaClient 2018-05-15 21:27:47 +02:00
Rhys Arkins
f3584b5fea fix(yarn): optimise existing file writing 2018-05-15 20:52:25 +02:00
Rhys Arkins
da562aadd2 fix(npm): write package-lock.json and npm-shrinkwrap.json 2018-05-15 20:03:06 +02:00
Rhys Arkins
2323820df9 refactor: replace config dot notation in npm lookup 2018-05-15 07:29:42 +02:00
Rhys Arkins
409cd4adde refactor: monorepoPackages -> internalPackages 2018-05-15 07:21:10 +02:00
Rhys Arkins
8c2ae3248c fix: use yarn workspaces packages if defined, the lerna 2018-05-15 05:58:18 +02:00
Rhys Arkins
3fa8ea22ea logs: log packageFile when failing to look up dependency 2018-05-14 21:53:00 +02:00
Rhys Arkins
1dd623c917 fix: set npmrc before calling getDependency 2018-05-14 21:02:50 +02:00
Rhys Arkins
2bc93e285b fix: correct nested config recommendation 2018-05-14 10:08:41 +02:00
Rhys Arkins
1352bbeb18 feat: discard npmrc if containing variables
.npmrc files will fail during lock file generation if they contain unexpanded variables, so it’s better to discard them instead.
2018-05-14 08:11:23 +02:00
Rhys Arkins
7e8148dfae fix: restore non-root package.json config validation errors 2018-05-14 07:54:24 +02:00
Rhys Arkins
69b264cf01 fix(npm): don’t read npmrc files if ignoreNpmrcFiles=true 2018-05-13 23:06:27 +02:00
Rhys Arkins
ebe9607d79 fix(npm): npmrc/ignoreNpmrc logic 2018-05-13 22:04:06 +02:00
Rhys Arkins
57552d5d2b fix(npm): skip packageFile npmrc if ignoreNpmrc 2018-05-13 21:31:46 +02:00
Rhys Arkins
16f6b5810a fix(npm): skip lock file check if no npm package files 2018-05-11 07:23:26 +02:00
Rhys Arkins
eccef72b52 fix(npm): restore autodetect pinVersions 2018-05-09 18:17:11 +02:00
Rhys Arkins
9c7600d6d3 fix: check npmrc before calling includes 2018-05-09 14:20:10 +02:00
Rhys Arkins
2ebc0b7718 fix: don’t write .npmrc if contains unexpanded variables 2018-05-09 13:38:24 +02:00
Rhys Arkins
4ecd691325 fix: expand criteria for keeping package.json files 2018-05-09 12:36:58 +02:00
Rhys Arkins
1631757e61 logs: don’t debug package.json content 2018-05-09 12:35:22 +02:00
Rhys Arkins
d4de9108af feat: skip PR generation if lock file generation fails 2018-05-09 12:10:45 +02:00
Rhys Arkins
ee3f7f714e fix: iterate all lerna dirs 2018-05-09 11:17:50 +02:00
Rhys Arkins
2075c20baa fix: lock file refactor 2018-05-09 10:42:38 +02:00
Rhys Arkins
10012f343a fix: manager -> lernaClient 2018-05-09 10:14:21 +02:00
Rhys Arkins
a332d8fb50 fix: lernaLockFile -> lernaClient 2018-05-09 09:38:11 +02:00