Commit graph

4169 commits

Author SHA1 Message Date
Rhys Arkins
8dc52c7f30
refactor: move getPreset into lib/config/preset/ (#5578) 2020-02-27 14:19:58 +01:00
Michael Kriese
ecd981bf64
fix(platform): fix api differences (#5570) 2020-02-25 09:42:24 +01:00
Michael Kriese
d1a40c548c
fix(gitlab): add merge method fallback (#5571) 2020-02-25 09:12:56 +01:00
Rhys Arkins
c5f51853c8 docs: more manager readme cleanup 2020-02-25 07:06:20 +01:00
Rhys Arkins
e1cf22ff5b docs: remove some leftover terms from two manager readmes 2020-02-25 07:02:46 +01:00
Rhys Arkins
cb5da82acc
docs: move manager docs out of config options (#5410) 2020-02-25 06:45:00 +01:00
Michael Kriese
763e444962
feat(gitlab): add merge method check (#5567) 2020-02-25 06:34:06 +01:00
Rhys Arkins
57cbe3a42c chore: lgtm ignore 2020-02-24 20:23:46 +01:00
Rhys Arkins
c68ca2e930
chore: lgtm ignores (#5566) 2020-02-24 16:57:41 +01:00
Rhys Arkins
712f9f091a logs: Issue created 2020-02-24 13:56:04 +01:00
Rhys Arkins
ab9361a170 logs: Comment added info 2020-02-24 13:54:11 +01:00
Rhys Arkins
4f5b01316c logs: warn for npmjs retry 2020-02-24 13:52:34 +01:00
Rhys Arkins
d06a8ef811 fix(logs): treat old/new config as config 2020-02-24 13:19:35 +01:00
Rhys Arkins
432a0fa7c7 fix(logs): debug gitlab 406 err 2020-02-24 12:31:33 +01:00
Rhys Arkins
1f346cd50f logs: debug blocking merge PR 2020-02-24 12:31:33 +01:00
Michael Kriese
9c717d9d57
fix: lgtm suggestions (#5562) 2020-02-24 12:27:10 +01:00
renovate[bot]
7fa1d41b6b
build(deps): update dependency typescript to v3.8.2 (#5561)
* chore(deps): update dependency typescript to v3.8.2

* fix: fix types

Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-02-24 10:06:51 +01:00
Rhys Arkins
f1d0b7b5fe refactor: lower some levels from info to debug
Ref #5555
2020-02-24 09:26:42 +01:00
Rhys Arkins
b097fb8f0a fix(pr): condense rebase description 2020-02-24 06:35:41 +01:00
Rhys Arkins
6c7f228347
fix(logs): log commit with Branch creates and updates (#5560) 2020-02-24 05:33:51 +01:00
Rhys Arkins
93d475eeb4 fix(cdnjs): datasourceError on unknown error 2020-02-23 20:36:11 +01:00
Rhys Arkins
8c8f7a23f0 test: refactor datasource tests to not use index 2020-02-23 09:16:25 +01:00
Rhys Arkins
adde436df0
feat(logger): logContext (#5553)
Adds a new concept `logContext`, to be added to each log entry when in JSON format.

Closes #5551
2020-02-23 07:31:13 +01:00
Rhys Arkins
55b1cd0e37
feat: rebaseWhen (#5547)
New config option `rebaseWhen` replaces existing options `rebaseStalePrs` and `rebaseConflctedPrs`. Migration code added.
2020-02-22 16:31:49 +01:00
Rhys Arkins
9cceffddf9 fix: deprecate/migrate engines config 2020-02-22 16:31:01 +01:00
Rhys Arkins
8b6c5aa30f chore: lgtm lint 2020-02-22 07:13:12 +01:00
Rhys Arkins
7dba5ed5b0 fix: pointless check 2020-02-22 07:13:12 +01:00
Rhys Arkins
f0f8fd195e fix: stdout/err initialization 2020-02-22 07:13:11 +01:00
Rhys Arkins
793eb41230 refactor: split gradle string to avoid unnecessary escape 2020-02-22 07:13:11 +01:00
Rhys Arkins
c10d22940b
feat: autoreplace (#5529) 2020-02-22 06:06:10 +01:00
Rhys Arkins
5dbfd54aff
refactor: centralize matchAt and replaceAt (#5540) 2020-02-21 14:52:48 +01:00
Rhys Arkins
8582c3916b
feat(cdnjs): getDigest (#5530) 2020-02-20 14:14:11 +01:00
Sergio Zharinov
969701ad6b
feat(util): Fetch docker tag according to version constraints (#5497) 2020-02-19 19:02:11 +01:00
Rhys Arkins
e90d34f848
fix(html): allow reverse sorting (#5523) 2020-02-19 18:24:42 +01:00
Sergio Zharinov
6a7f6fbb01
fix(html): Log and return for wrong managerData (#5513) 2020-02-19 16:08:21 +01:00
Jared Kauppila
434cc0d01f
feat(terraform): gitTags support (#5511) 2020-02-19 16:07:34 +01:00
Pascal Mathis
c9357cc340
feat: add support for gitea platform (#5509) 2020-02-19 11:19:25 +01:00
Luke Page
b484272238
feat: Azure - update comments (#5503)
* fix ensure comment

* Fix comment update mechanism

* Fix snapshots

Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-02-18 22:12:15 +01:00
Rhys Arkins
2e0b2965ff chore: add datasource getters 2020-02-18 21:41:00 +01:00
Sergio Zharinov
dc1cc60de9
fix(cdnurl): Fix slashes for lookup names (#5505) 2020-02-18 11:58:43 +01:00
Rhys Arkins
485f66914e
feat: versionScheme -> versioning (#5504) 2020-02-18 08:34:10 +01:00
Rhys Arkins
5d88d3badf docs: improve versioning docs 2020-02-17 23:02:00 +01:00
Luke Page
e179c7d948
feat(azure): calculate isModified (#5482) 2020-02-17 21:34:54 +01:00
Jamie Magee
a7d1bd4b08
feat: add $schema to default onboarding configuration (#5496)
fixes #5427
2020-02-17 16:20:21 +01:00
Björn Dahlgren
5a2ad6085c
fix(gradle): buildGradleDependency version is undefined (#5498) 2020-02-17 15:29:39 +01:00
Rhys Arkins
838c5e05d6 fix(html): correct updateDependency params
Closes #5499
2020-02-17 15:28:46 +01:00
Björn Dahlgren
95e2edbb6f
feat(gradle): support version variables inside groovy map objec… (#5491) 2020-02-17 09:15:55 +01:00
Sergio Zharinov
1d5c20eb18
feat: Add HTML manager supporting CDNJS (#5395) 2020-02-17 05:55:19 +01:00
Rhys Arkins
e13cb52ed5 feat: validate managers 2020-02-16 06:49:09 +01:00
Rhys Arkins
ed331d4d6d fix(bundler): better constraint logging for artifacts 2020-02-16 06:25:08 +01:00
Sergio Zharinov
23e254eee9
refactor: Extract module loading code out to utils (#5444) 2020-02-16 05:57:12 +01:00
Rhys Arkins
8598c5edea fix(npm): increase highWaterMark 2020-02-16 05:32:03 +01:00
Rhys Arkins
64de057cc1 fix(docker): better ignore quay.io 2020-02-15 21:53:34 +01:00
Rhys Arkins
054c99f671 fix(helm): gracefully handle invalid URLs 2020-02-15 21:50:56 +01:00
Rhys Arkins
73f6594782 fix(gradle-version): catch non-default registry errors 2020-02-15 19:03:01 +01:00
Rhys Arkins
52527794c0 fix(docker): ignore quay.io errors 2020-02-15 17:49:57 +01:00
Rhys Arkins
b080d1ed7e logs: don’t log docker manifest 2020-02-15 17:49:41 +01:00
Rhys Arkins
f7d1bb3217 fix(gomod): reduce escaped quotation marks in docker run
Closes #5459
2020-02-15 06:42:25 +01:00
Rhys Arkins
c274766be7 fix(logs): warn for Gradle extraction failed 2020-02-14 14:42:53 +01:00
Rhys Arkins
16d92cebbf fix(gradle): only throw for timeouts 2020-02-14 14:18:45 +01:00
Rhys Arkins
575ba106c3 fix(gradle): handle classesDir incompatibility 2020-02-14 13:52:36 +01:00
Rhys Arkins
0b3967b12a logs: fix terraform repository log meta 2020-02-14 13:45:04 +01:00
Rhys Arkins
8fc70b8faf logs: log err with Registry error 2020-02-14 13:44:53 +01:00
Rhys Arkins
562f3d7696 fix(schedule): use consistent error messages 2020-02-14 13:44:40 +01:00
Rhys Arkins
6a6d646dd5 fix(docker): log dockerRepository 2020-02-14 13:41:34 +01:00
Rhys Arkins
d9d8ce02d3 fix(gradle): extend string match for file not found 2020-02-14 13:01:21 +01:00
Rhys Arkins
b53a7694df fix(gradle-version): only throw error for services.gradle.org 2020-02-14 12:53:27 +01:00
Rhys Arkins
81dbc4d7be fix(npm): better datasource error logging 2020-02-14 11:06:09 +01:00
Rhys Arkins
3e89de6dc4 chore: fix coverage 2020-02-14 10:43:10 +01:00
Rhys Arkins
090a6232af fix(docker): log extra when erroring getting labels 2020-02-14 10:35:45 +01:00
Rhys Arkins
8ba2b52c98 fix(gradle): don’t DatasourceError if Build failed 2020-02-14 10:24:31 +01:00
Rhys Arkins
0e65db65f0 fix(rubygems): don’t throw DatasourceError for unknown 2020-02-14 09:59:52 +01:00
Rhys Arkins
12166f5540 fix(datasource): better DatasourceError handling 2020-02-14 09:19:45 +01:00
Rhys Arkins
292993f0c6 test: fix coverage 2020-02-14 08:52:41 +01:00
Rhys Arkins
5e022e2a50 fix: reduce concurrent dep fetch per packagefile from 10 to 5 2020-02-14 08:36:38 +01:00
Rhys Arkins
c7b7027a7b fix(npm): retry npmjs ParseError 2020-02-14 08:30:39 +01:00
Joshua Gleitze
57108d443a
test: update and document java requirements for gradle (#5435) 2020-02-13 21:53:27 +01:00
Rhys Arkins
67658d4ece fix: set DatasourceError prototype explicitly 2020-02-13 14:31:26 +01:00
Rhys Arkins
b5e344b449
feat: DatasourceError (#5475)
Adds centralized handling and logging of datasource failures.
2020-02-13 13:29:55 +01:00
Björn Dahlgren
30ee09ca4a
fix(bitbucket): log warning when PR creation fails (#5474) 2020-02-13 11:51:48 +01:00
Sebastian Poxhofer
98f1308689
feat: ansible-galaxy datasource and manager (#5301) 2020-02-13 11:50:39 +01:00
Rhys Arkins
2cfa7feb05 fix: use correct updateDependency params
Closes #5473
2020-02-13 10:01:59 +01:00
Rhys Arkins
5d454ca3ff
fix(yarn): offline integrity hash (#5449) 2020-02-13 06:39:07 +01:00
Rhys Arkins
0eb616f876 fix: replace subDirectory with cwdFile in util/exec
Closes #5436
2020-02-12 17:55:27 +01:00
Rhys Arkins
e1bb02a098 fix(logs): stackTraceLimit=20 2020-02-12 14:16:20 +01:00
Rhys Arkins
c432d34ed3 logs: log pkgUrl not regUrl 2020-02-12 14:16:02 +01:00
Rhys Arkins
90b7916995 fix(npm): skip cache when retrying 2020-02-12 13:17:48 +01:00
Rhys Arkins
b8b7b75ad0 fix(npm): await 5s before ECONNRESET retry 2020-02-12 13:17:35 +01:00
Rhys Arkins
13a6736659 fix(npm): retry ECONNRESET for npm registry 2020-02-12 11:32:27 +01:00
Michael Kriese
237eeffe6f
chore: fix flaky tests (#5464) 2020-02-12 10:22:38 +01:00
Rhys Arkins
da663255e2 fix(maven): handle err.code === 'ERR_TLS_CERT_ALTNAME_INVALID
Closes #5463
2020-02-12 10:20:37 +01:00
Rhys Arkins
0f47f1ac71 logs: log npm registry failure codes 2020-02-12 09:23:27 +01:00
Rhys Arkins
d0dae99796 fix(github): log canMergeReason if pr.canMerge = false; 2020-02-12 09:19:15 +01:00
Rhys Arkins
3f1df39996 fix(npm): retry datasource 5 times 2020-02-11 21:11:30 +01:00
Sergio Zharinov
3de1b6e9ba
feat: dynamic datasource loading (#5429) 2020-02-11 17:04:31 +01:00
Ricky Patel
d93036b8ab feat: hostRules findAll function 2020-02-11 14:46:31 +01:00
Michael Kriese
62e95161ed
fix(git-submodules): allow module and path be different (#5437) 2020-02-11 12:00:43 +00:00
Rhys Arkins
c2f28bdd95 fix(github): try/catch getPrList 2020-02-11 12:22:48 +01:00
Rhys Arkins
f23d06c534 fix(bundler): handle subdirectory artifact generation 2020-02-11 11:18:30 +01:00
Joshua Gleitze
29d5e48bf5
fix(gradle): version compatibility (#5431) 2020-02-11 09:25:51 +00:00
Michael Kriese
26c03731a4
chore(datasource): move test files to lib (#5426) 2020-02-11 05:08:10 +00:00
Jamie Magee
d2a67bb38e
fix(gradle): use URI in place of UrlArtifactRepository (#5428)
Tested on gradle 5 & 6

Fixes #5424
2020-02-10 21:22:17 +00:00
Sergio Zharinov
52a7519f34 feat(gomod): Use centralized docker execution (#5061) 2020-02-10 05:41:37 +00:00
Sergio Zharinov
556a073232
feat(gradle): Use centralized docker execution (#5231) 2020-02-09 12:39:10 +00:00
Sergio Zharinov
936434497c
feat(pipenv): Use centralized docker execution (#5062) 2020-02-09 12:26:48 +00:00
Rhys Arkins
d67f5a69b2 fix(helm-values): better extract error handling 2020-02-09 07:20:21 +01:00
Rhys Arkins
178e3561be fix(bundler): handle spacing in source end 2020-02-09 07:12:03 +01:00
Rhys Arkins
ab166d7088 fix(gitlab): warn not error when failing to add assignees 2020-02-08 15:49:13 +01:00
Rhys Arkins
2d7e7dcda8 docs: remove legacy manager readmes 2020-02-08 08:25:23 +01:00
Joshua Gleitze
efe1246b40
fix(gradle): Typecheck before accessing repositories URIs (#5407) 2020-02-07 21:53:22 +00:00
Rhys Arkins
864e554db9
feat: dynamic manager config (#5392) 2020-02-07 18:25:27 +00:00
Jennifer Wilcox
df5920b1e4
feat(poetry): enable lock file maintenance (#5400) 2020-02-07 16:31:42 +00:00
Sergio Zharinov
b6d84a2775
fix: Maven-based update functions (#5405) 2020-02-07 16:23:29 +00:00
Sergio Zharinov
0b61cfc171
fix(sbt): Fix module re-export (#5404) 2020-02-07 14:24:00 +00:00
Rhys Arkins
9e6b9e769a fix(lerna): try/catch lerna.json parsing 2020-02-06 17:15:03 +01:00
Sergio Zharinov
d650427319
fix(composer): Remove leading v in comparison (#5396) 2020-02-06 15:29:50 +00:00
Rhys Arkins
aff618fa8e
feat: dynamic platform list retrieval (#5394) 2020-02-06 13:44:53 +00:00
Rhys Arkins
0ec6617b6d
feat: dynamic versionScheme import (#5393) 2020-02-06 13:23:24 +00:00
Sourav Das
987e0a2bfd
refactor(function): Update Dependency Function (#5146) 2020-02-06 13:01:21 +00:00
Sourav Das
bdaa7b8e49
feat(constants): Host Types (#5171) 2020-02-06 12:15:54 +00:00
Rhys Arkins
f49e7e5de7 fix(helm-values): ignore duplicate keys in yaml 2020-02-06 13:11:33 +01:00
Rhys Arkins
99c2b38ec5 fix: import URLSearchParams in bitbucket 2020-02-06 12:17:09 +01:00
Michael Kriese
987b1ca17e
feat(manager): support helm values (#5384)
Co-authored-by: Dominik Horb <git@dominik.berlin>
2020-02-06 10:15:25 +00:00
Sergio Zharinov
f6bc800be5
fix: Exit if zero managers were loaded (#5387) 2020-02-06 08:50:36 +00:00
Michael Kriese
2ffad1363e
chore(eslint): stricter settings (#5375) 2020-02-05 18:17:20 +00:00
Joshua Gleitze
51c0cdc674
fix(gradle): Also include buildscript repositiories (#5382) 2020-02-05 17:45:12 +00:00
Joshua Gleitze
d1eb30396c
fix(gradle): Also update buildscript dependencies from settings… (#5380) 2020-02-05 17:44:51 +00:00
Michael Kriese
4004f46c0b
refactor(test): move manager tests to lib (#5300) 2020-02-05 01:14:31 +01:00
Joe
4c258e27b6
fix: Remove authorization header from core.windows.net requests… (#5274) 2020-02-04 20:14:31 +01:00
Rhys Arkins
58fd6569db fix: Revert "feat: helm-values manager (#5134)"
This reverts commit edf85d42bf.
2020-02-04 18:06:06 +01:00
Dominik Horb
edf85d42bf
feat: helm-values manager (#5134) 2020-02-04 15:11:08 +01:00
Sergio Zharinov
7dc04f77fa
feat: Dynamic manager loading from directories (#5287)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-02-04 10:37:24 +01:00
Michael Kriese
8719f70dea
chore(eslint): simplify / update settings (#5296) 2020-02-04 10:37:00 +01:00
Carlin St Pierre
5b0c431dce
feat: post-upgrade tasks (#5202) 2020-02-04 06:59:13 +01:00
Rhys Arkins
0ea636209c fix(onboarding): remove docker-only rule 2020-02-03 14:25:09 +01:00
Rhys Arkins
e12d8f0437 refactor: remove unnecessary manager literals 2020-02-03 14:16:23 +01:00
Gabriel Melillo
30f0c4230f
feat: helmfile manager (#5257) 2020-02-02 08:35:26 +01:00
Martín Fernández
2880682246
fix(bundler): Fix support for source block with new lines (#5270) 2020-02-01 09:01:20 +01:00
Sergio Zharinov
12d1b13703
fix(release-notes): Warning message for missing token (#5245) 2020-02-01 08:50:24 +01:00
Joe
17d744d48a
fix(docker): Unpack access_token correctly from auth header from docker registries that support it (#5264) 2020-01-31 09:02:13 +01:00
Sergio Zharinov
ff9332486c
feat(cdnurl): Add CDNJS support (#5254) 2020-01-30 20:52:15 +01:00
Rhys Arkins
8a56f529cd fix(composer): correct cwd to nested composer files
Closes #5260
2020-01-30 12:44:04 +01:00
Sergio Zharinov
86543938fb
feat(cdnjs): Add caching for CDNJS datasource (#5259) 2020-01-30 09:51:51 +01:00
Jamie Magee
9452694b88
chore: remove custom global-agent types (#5224) 2020-01-30 07:36:43 +01:00
Jamie Magee
4f14f471b4
chore: remove custom clean-git-ref types (#5223) 2020-01-30 07:13:05 +01:00
Sergio Zharinov
a36f889220
feat(cdnjs): Create cdnjs datasource (#5252) 2020-01-29 13:19:13 +01:00
Sergio Zharinov
8c62f43647
feat(bundler): Use centralized docker execution (#5058)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-01-29 13:05:36 +01:00
Sergio Zharinov
6bf18be2bf
fix: Don't modify git-tags datasource results (#5251)
Co-authored-by: Jared Kauppila <Jared@Kauppi.la>
2020-01-29 12:23:19 +01:00
Sergio Zharinov
aa49a21e54
fix(exec): Whitelist LC_ALL and LANG (#5239) 2020-01-29 06:29:53 +01:00
Ryan Ling
db029c5679 fix(buildkite): Support no-config plugins (#5236)
Buildkite plugins that don't have required config options may be
expressed as:

```yaml
- plugins:
    - my-plugin#v1.0.0
```

Note that there is no trailing colon; matching on it should be
unnecessary given that the preceding capture groups exclude this
character.
2020-01-28 06:43:46 +01:00
Rhys Arkins
dc73a54e7c fix(changelog): better log/warn for missing credentials 2020-01-27 15:26:40 +01:00
Sergio Zharinov
f286aa3920 feat(composer): Use centralized docker execution (#5060) 2020-01-27 14:18:50 +01:00
Sergio Zharinov
514fdbddab fix(platform): Filter out non-Renovate PRs with same branch (#5211) 2020-01-27 13:45:52 +01:00
Sergio Zharinov
a761e95f48 feat(cargo): Use centralized docker execution (#5059)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-01-27 12:53:39 +01:00
Rhys Arkins
da6164f8d4 fix: validate handlebars templates and throw config error 2020-01-27 12:48:08 +01:00
Sebastian Poxhofer
1743ab77b2 fix: warn if skipping release notes retrieval (#5226) 2020-01-27 12:38:07 +01:00
Jamie Magee
1931acc221
chore: remove custom yawn-yaml types (#5161)
Ref #4528
2020-01-26 21:54:40 +01:00
Joshua Gleitze
5928562064 feat(gradle): Support any Order in Gradle’s Map Syntax (#5196) 2020-01-26 08:18:29 +01:00
Martín Fernández
8da8d7a072 feat: Add DOCKER_HOST to child env (#5222)
Currently the DOCKER_HOST env variable is not passed to the child
environment making it impossible to use a non default docker host.
2020-01-25 19:30:43 +01:00
Jamie Magee
8126705d3d feat(nuget): add support for fsproj and vbproj files (#5220) 2020-01-25 14:50:47 +01:00
Sergio Zharinov
e9bc152308 fix(cargo): Fix nested directories in artifacts.ts (#5221) 2020-01-25 09:21:33 +01:00
Sergio Zharinov
0c7f95f0a7 fix(maven): Additional support for Service Release (SR) versions (#5194) 2020-01-24 14:23:41 +01:00
Sergio Zharinov
6b2ef2822c refactor(exec): Explicit extraEnv defaults and nullable docke… (#5219) 2020-01-24 10:42:09 +01:00
Jennifer Wilcox
5b1cd403ab fix(pypi): detect pypi releases with underscores (#5218)
If a pypi package:
 - Has only src releases
 - Has an index name with hyphens
 - Has src tarballs with underscores
Then releases of the package weren't being detected.
2020-01-24 08:27:26 +01:00
Jamie Magee
c579c48992 chore: use upstream semver-stable types (#5212) 2020-01-22 15:14:04 +01:00
Sergio Zharinov
8b6d280741 feat(exec): Allow for extra docker commands (#5208) 2020-01-22 11:45:21 +01:00
Rhys Arkins
c44a82e60b refactor: rename docker exec helper 2020-01-22 11:08:29 +01:00
Sergio Zharinov
60d895bd5c feat(exec): Cache Docker image prefetch info (#5205) 2020-01-22 09:19:29 +01:00
Rhys Arkins
a56e0de4c7
feat: move localDir awareness to util/exec (#5207) 2020-01-21 18:04:50 +01:00
Sourav Das
520429f1bd feat(constants): Version Scheme Constants (#5159) 2020-01-21 17:11:25 +01:00
Rhys Arkins
e34900377c fix(gitlab): GITLAB_IGNORE_REPO_URL
Adds unofficial (for now) env option to igore the http_url_to_repo value returned by GitLab.
2020-01-21 16:44:24 +01:00
Rhys Arkins
55497ea251 fix: drop unused disable-gitfs error 2020-01-21 16:35:09 +01:00
Rhys Arkins
6da1113aa3 fix: DATASOURCE_FAILURE -> PLATFORM_FAILURE 2020-01-21 16:23:18 +01:00
Rhys Arkins
8fd0b6058b fix(helm): ignore unsupported protocol error 2020-01-21 13:07:25 +01:00
Sourav Das
d671f2b8c4 refactor(constant): Refactor Platform File (#5206) 2020-01-21 11:13:19 +01:00
Jamie Magee
a1a3536ad7 chore: replace semver-utils types with upstream (#5204) 2020-01-21 10:42:43 +01:00
Joshua Gleitze
c1ee1ef32f feat(gradle): Support template expression for version variables… (#5195) 2020-01-21 10:04:31 +01:00
Rhys Arkins
4b29858768
fix(pr): better rebase/retry description in PRs (#5203) 2020-01-21 09:44:38 +01:00
Rhys Arkins
d2c0b0e727 fix: binarySource docker only if opts set 2020-01-20 22:05:41 +01:00
Sergio Zharinov
ef7357d022 fix(exec): Refactor binarySource out to global setting (#5190)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-01-20 16:50:32 +01:00
Rhys Arkins
bd1179397b
fix: skip empty commits (#5184)
Skips the git commit force push if git returns no diff between the local branch and server branch of the same name.

Closes #5009, Closes #5083, Closes #5074
2020-01-18 11:55:32 +01:00
Jamie Magee
1e2c30a96a fix: warn if force push commit has no diff (#5099)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-01-17 18:11:02 +01:00
Sourav Das
982d5e9d4d refactor(function): Update Artifact Function (#5139)
1. Create interface UpdateArtifact
2. Update function call
3. Update Test
2020-01-17 12:18:34 +01:00
Sourav Das
9024eda2a0 feat(constants): Branch Status (#5166)
1. Branch related statuses are moved to lib/branch-constants.ts
2. Updated all the references

Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-01-17 10:14:58 +01:00
Sourav Das
6dc76f2e46 feat(constants): Language list constants (#5167)
1. All languages are moved to constants/languages.ts
2. Updated all the references
2020-01-17 10:14:20 +01:00
Sourav Das
c7c5dfd30f feat(constants): Platform Constants (#5179) 2020-01-17 08:26:42 +01:00
Sergio Zharinov
ad0708d88d fix(exec): Don't call bash for non-docker commands (#5175) 2020-01-16 22:05:50 +01:00
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
ab9c666328 refactor(function): getNewValue Function (#5137) 2020-01-16 13:43:58 +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
Sourav Das
3a4c61ed03 refactor(constants) : Error constants (#5156) 2020-01-15 21:36:12 +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
eb082ea4bf fix(config): generate config warning issue when decryption fails 2020-01-15 13:14:21 +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
394c789e0c fix(logs): adapt command serializer 2020-01-15 11:58:28 +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
a13ebf8979 fix(exec): call exec per-repo, not globally 2020-01-15 05:27:49 +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
9dc7b867f3 fix(bundler): handle explicit equals replace 2020-01-15 04:45:00 +01:00
Rhys Arkins
9d6ec38a7e fix(bundler): look in stdout and stderr for resolve matches 2020-01-15 04:44:59 +01:00
David Straub
7b5485edaa feat(workers): implement additionalReviewers option (#5152)
Closes #5121
2020-01-15 04:32:31 +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
6d3966c7f6 logs: log 422 errors 2020-01-15 02:52:19 +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
Rhys Arkins
91c23e91b1 fix(bundler): handle major range update 2020-01-14 17:37:19 +01:00
Sourav Das
547dcd84a7 refactor(function): findPR function(#4996) (#5129) 2020-01-14 16:12:14 +01:00
Rhys Arkins
234dd4ee37 fix(bundler): handle precision changes 2020-01-14 16:03:07 +01:00
Rhys Arkins
ba1806fd8f
fix(bundler): update common complex ranges correctly (#5143)
Fixes #5050
2020-01-14 14:16:58 +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
Vladislav Dolbilov
dbe1a02b06 fix(sbt): ensure trailing slashes in urls 2020-01-14 12:23:18 +01:00
Sourav Das
447b110a8c refactor(function): Ensure Comment Function (#4996) (#5128)
1. Create interface EnsureCommentConfig
2. Add config to the interface for Bitbucket
3. Refactor functions
4. Update tests

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-01-14 12:13:34 +01:00
Sergio Zharinov
69dabac278 feat: improved exec wrapper (#5131) 2020-01-14 12:12:03 +01:00
Rhys Arkins
56d94e259f
refactor: centralized docker volumes (#5132) 2020-01-12 19:47:39 +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
da22cc35f1 refactor: global config massage 2020-01-11 11:22:42 +01:00
Rhys Arkins
abbc9147ea refactor: global worker config 2020-01-11 11:18:10 +01:00
Rhys Arkins
e77d596f32 fix(cache): default init using tmpdir 2020-01-11 11:11:49 +01:00
Rhys Arkins
5e0ac8c13e fix(helm): handle err.code === 'ENOTFOUND' 2020-01-11 10:41:32 +01:00
Rhys Arkins
0dab3f4067 refactor: logs meta 2020-01-11 09:16:22 +01:00
Rhys Arkins
230652dc8e test: fix coverage 2020-01-11 09:04:11 +01:00
Rhys Arkins
8170aed064 logs: print renovate version as part of renovateRepository 2020-01-11 07:50:08 +01:00
Rhys Arkins
9ce229bef3 refactor: init cacheDir inside setDirectories 2020-01-11 07:35:06 +01:00
Rhys Arkins
a544032b10 refactor: move repositories warn 2020-01-11 07:28:42 +01:00
Rhys Arkins
2255d4a5c0 fix(changelog): add Boolean checks for tag.name 2020-01-11 07:00:06 +01:00
Rhys Arkins
2715603ad3 refactor: centralize dockerUser logic
Closes #5124
2020-01-10 17:38:27 +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
Sergio Zharinov
5fd6361c56 refactor: add env awareness to util/exec (#5095) 2020-01-10 15:18:41 +01:00
Sourav Das
1fbb51af36 feat(bundler): Support parsing gemfile.lock for "lockedVersion" (#5094) 2020-01-10 15:05:29 +01:00
Jamie Magee
45474d63d5 fix(ts): convert lib/workers/repository to typescript (#5105)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-01-10 11:35:49 +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
Sourav Das
50c74d38c0 refactor: createPR function (#4996) (#5108)
* refactor: createPR function (#4996)
1. Interface created: createPRConfig

* refactor: Create PR function (#4996)
Remove label parameter from bitbucket and bitbucket server function call.

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-01-07 15:33:19 +00:00
Sergio Zharinov
1e5924430d refactor: Avoid excessive process.env modifications (#5114) 2020-01-07 15:32:21 +00:00
Sourav Das
be5679661a refactor: EnsureIssue function (#5107)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-01-07 10:40:53 +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
e4164115a2 chore: remove duplicate type definition (#5111) 2020-01-07 10:06:24 +00:00
Sourav Das
e72bf85b1e refactor: setBranchStatus Function (#4996) (#5112) 2020-01-07 09:59:14 +00:00
Sergio Zharinov
f1d703272c refactor(docker): Use pre/post commands instead of wrapping (#5103)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-01-07 07:47:12 +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
Jamie Magee
113b1466cd fix(azure): reimplement getpr using getprlist (#5097)
* fix(azure): reimplement getpr using getprlist

* test fixes
2020-01-03 19:50:10 +00:00
Sergio Zharinov
1fe9f903ab test: mocks and snapshots for all exec() calls (#5089) 2020-01-02 15:30:40 +00:00
Sergio Zharinov
5df9d9a982 fix(maven): Fine-grained qualifier comparison (#5091) 2020-01-02 15:29:48 +00:00
Jamie Magee
7f6ac52f16 fix(azure): correct naming for branches (#5087) 2020-01-02 15:27:18 +00:00
Sourav Das
e7695bde9c refactor: convert commitFilesToBranch function params (#5064) 2020-01-02 09:03:46 +00:00
Sourav Das
a165d6b411 fix(github): Show warning when failed to add pr reviewer. (#5086) 2020-01-02 08:47:59 +00:00
Sergio Zharinov
0836d91c2f fix(sbt): Use indexOf instead of search (#5085) 2020-01-01 17:09:43 +00:00
Adam Dehnel
e1ebe77781 feat: skip gitlab disabled and empty repos (#5084)
* skipping disabled repos in gitlab

* adding tests for gitlab disabled repo check

* fixing empty_repo test

* skip gitlab project if MRs are disabled

Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-01-01 17:02:58 +01:00
Rhys Arkins
2b9da5c2e3 fix: add trailing slash to endpoint
Closes #5069, Closes #5082
2020-01-01 09:23:55 +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
f5e76ae073 fix: use re2 for packageRules 2019-12-30 09:12:04 +00:00
Sourav Das
ff079793a5 fix(config): log error and exit immediately when config.js file has syntax error (#5057) 2019-12-26 09:08:43 +00:00
Sergio Zharinov
9277da8951 refactor: Introduce centralized docker run execution (#4983)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2019-12-23 15:59:57 +01:00
Michael Kriese
2f995089b2 chore: fix coverage (#5048) 2019-12-22 19:33:37 +01:00
Michael Kriese
b10d5339be refactor: convert workers/repository/finalise to ts (#5038) 2019-12-21 21:11:59 +01: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
Jamie Magee
ca05487273 feat(azure): implement findPrs (#5008) 2019-12-21 13:59:15 +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
118a3452e2
fix(ruby): match precision for new ranges (#5035) 2019-12-21 10:59:07 +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
0882828a74 fix: Revert "fix(poetry): remove incorrect versionScheme"
This reverts commit da220cbc9e.
2019-12-17 13:49:27 +01:00
Rhys Arkins
da220cbc9e fix(poetry): remove incorrect versionScheme
It should use python’s default of pep440

Fixes #5011
2019-12-17 12:13:28 +01:00
Michael Kriese
aae2519b0c fix(ts): convert worker/repository/init to typescript (#4975) 2019-12-17 07:56:42 +02:00
Rhys Arkins
5cb01d6191 fix: default binarySource to auto 2019-12-16 17:12:53 +01:00
Rhys Arkins
cd97501cea fix(helm): gracefully handle connection rejections 2019-12-16 11:14:00 +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
Rhys Arkins
63b90e51a6 fix(config): throw config validation if invalid allowedVersions 2019-12-16 11:02:47 +01:00
Michael Kriese
0a2ed592b8 fix(gitlab-ci): skip comment lines (#5000) 2019-12-16 10:06:27 +02:00
Sergio Zharinov
0eb12ce56f fix(rubygems): Restrict the usage of large response strings (#4994) 2019-12-16 06:48:19 +02:00
Rhys Arkins
7eb629f43b docs: update config option descriptions 2019-12-15 08:28:13 +01:00
Sebastian Poxhofer
932aeefa40 feat(terraform): Support terraform providers (#4926) 2019-12-15 08:51:00 +02:00
Rhys Arkins
e34ea67a4e fix: revert ruby changes
Potential memory leak, so reverting out of caution.
2019-12-14 09:31:22 +01:00
Rhys Arkins
f83d000964 fix(master-issue): correctly classify more pending cases 2019-12-13 17:20:08 +02:00
Rhys Arkins
c5cca2ed64 fix(master-issue): bypass checks if master issue ticked 2019-12-13 17:20:08 +02:00
Sergio Zharinov
04962565bc fix(gradle): Ignore scala version placeholders (#4986) 2019-12-13 17:10:03 +02:00
dcharbonnier
bc7f365883 fix(pypi): pep0427 wheel packages (#4974) 2019-12-13 14:52:31 +02:00
Rhys Arkins
df9101c28b
fix: support hostRules in env (#4985) 2019-12-13 14:51:46 +02:00
Rhys Arkins
ce266f8004 chore: info not warn for version comparison 2019-12-13 12:47:04 +01:00
Rhys Arkins
193a5474de fix: use vulnerableRequirements for matching package rules 2019-12-13 12:45:55 +01:00