Commit graph

2125 commits

Author SHA1 Message Date
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
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
Rhys Arkins
562f3d7696 fix(schedule): use consistent error messages 2020-02-14 13:44:40 +01:00
Rhys Arkins
12166f5540 fix(datasource): better DatasourceError handling 2020-02-14 09:19:45 +01:00
Rhys Arkins
d0dae99796 fix(github): log canMergeReason if pr.canMerge = false; 2020-02-12 09:19:15 +01:00
Ricky Patel
d93036b8ab feat: hostRules findAll function 2020-02-11 14:46:31 +01:00
Michael Kriese
26c03731a4
chore(datasource): move test files to lib (#5426) 2020-02-11 05:08:10 +00:00
Rhys Arkins
8e7eec6362 chore: remove json schema from source control (#5420) 2020-02-10 10:20:31 +00:00
Sergio Zharinov
d650427319
fix(composer): Remove leading v in comparison (#5396) 2020-02-06 15:29:50 +00:00
Sourav Das
bdaa7b8e49
feat(constants): Host Types (#5171) 2020-02-06 12:15:54 +00:00
Michael Kriese
2ffad1363e
chore(eslint): stricter settings (#5375) 2020-02-05 18:17:20 +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
Michael Kriese
eed923076f
chore(test): fix gitlab tests (#5292) 2020-02-03 21:19:42 +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
Rhys Arkins
a253e9d638 test: remove noisy snapshots
Ref #5277
2020-02-02 08:59:58 +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
Sergio Zharinov
ff9332486c
feat(cdnurl): Add CDNJS support (#5254) 2020-01-30 20:52:15 +01:00
Sergio Zharinov
86543938fb
feat(cdnjs): Add caching for CDNJS datasource (#5259) 2020-01-30 09:51:51 +01:00
Jamie Magee
d2f59b83b3
chore: convert fixtures to typescript (#5229) 2020-01-30 07:07:56 +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
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
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
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
Sergio Zharinov
8b6d280741 feat(exec): Allow for extra docker commands (#5208) 2020-01-22 11:45:21 +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
Sourav Das
d671f2b8c4 refactor(constant): Refactor Platform File (#5206) 2020-01-21 11:13:19 +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
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
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
eb082ea4bf fix(config): generate config warning issue when decryption fails 2020-01-15 13:14:21 +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
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
b9fe459fae test: fix poetry snapshot 2020-01-15 06:24:35 +01:00
Rhys Arkins
9dc7b867f3 fix(bundler): handle explicit equals replace 2020-01-15 04:45:00 +01:00
David Straub
7b5485edaa feat(workers): implement additionalReviewers option (#5152)
Closes #5121
2020-01-15 04:32:31 +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
0dab3f4067 refactor: logs meta 2020-01-11 09:16:22 +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
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
Sourav Das
be5679661a refactor: EnsureIssue function (#5107)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-01-07 10:40:53 +00:00
renovate[bot]
e327fa9af6 build(deps): update dependency semver to v7 (#5056)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-01-07 10:09:59 +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
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
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
1300075a72 test: fix snapshot 2020-01-01 09:53:23 +00:00
Rhys Arkins
2b9da5c2e3 fix: add trailing slash to endpoint
Closes #5069, Closes #5082
2020-01-01 09:23:55 +00:00
Rhys Arkins
25215644fd test: update travis snapshots
Node 8 is no longer LTS
2020-01-01 09:08:28 +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
b10d5339be refactor: convert workers/repository/finalise to ts (#5038) 2019-12-21 21:11:59 +01:00
Sergio Zharinov
767d240655 test(gradle): Snapshot exec calls (#5042) 2019-12-21 16:16:05 +01:00
Jamie Magee
ca05487273 feat(azure): implement findPrs (#5008) 2019-12-21 13:59:15 +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
f7ba588468 test: Mock underlying child_process.exec (#5017) 2019-12-19 06:10:39 +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
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
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
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
Sergio Zharinov
04962565bc fix(gradle): Ignore scala version placeholders (#4986) 2019-12-13 17:10:03 +02:00
Rhys Arkins
193a5474de fix: use vulnerableRequirements for matching package rules 2019-12-13 12:45:55 +01:00
Sergio Zharinov
3a7c67919f feat(github): graphql wrapper with query retry (#4739) 2019-12-13 12:24:11 +02:00
dcharbonnier
80606fed0a test: fix typo resonse => response (#4979) 2019-12-13 08:55:28 +02:00
Jamie Magee
427fb1ce67 fix(ts): convert workers/repository/extract to typescript (#4956) 2019-12-12 05:38:40 +02:00
Sergio Zharinov
dafe5a653d feat(ruby): Switch to @renovate/ruby-semver library (#4861) 2019-12-11 17:10:18 +01:00
Sergio Zharinov
487058399a feat(ruby): Preserve whitespace delimiter when bumping range (#4966) 2019-12-11 13:51:48 +02:00
Sergio Zharinov
ab31e511fd feat(ruby): Allow versions with leading 'v' (#4965) 2019-12-11 10:25:54 +02:00
Michael Kriese
e6e121e7b7 refactor(test): convert to ts (#4945) 2019-12-09 14:42:55 +03:00
Frank Liepert
5601f3dade fix(gitlab): complete git author including name (#4932) (#4933) 2019-12-05 16:25:37 +01:00
Rhys Arkins
1c33d1c101
fix: drop appSlug configurability (#4930) 2019-12-05 10:45:28 +01:00
Rhys Arkins
c7e129cdf6
feat: configurable product links (#4929) 2019-12-05 10:27:29 +01:00
Rhys Arkins
68c5684b89
feat(onboarding): configurable branch and title (#4928)
Adds options onboardingBranch and onboardingPrTitle to allow bot administrators to change the branch name and/or title in oboarding PRs.
2019-12-05 09:39:39 +01:00
Michael Kriese
c49c884bae fix(typescript): convert workers/pr/changelog to ts (#4888) 2019-12-04 04:29:27 +01:00
Kirill Romanov
f223f5e007 fix: cache-bust branch status after updating a status (#4884) (#4885) 2019-12-03 18:21:40 +01:00
Sergio Zharinov
3658a4146c feat(rubygems): Always use "rubygems.org" as a default registry url (#4918) 2019-12-03 17:48:53 +01:00
Riccardo Padovani
d51bf30c82 feat(gitlab): do not discover projects without MR enabled. (#4913)
Skip fetching gitlab repos that have MRs disabled.
2019-12-02 20:40:13 +01:00
renovate[bot]
e6200d5759 chore(deps): update dependency eslint to v6.7.1 (#4896) 2019-12-02 14:03:29 +01:00
Filipe Azevedo
9b16e1c757 fix(gomod): update package version (#4900) 2019-11-29 14:00:56 +01:00
Rhys Arkins
76e8fd18f8 fix(package-rules): handle case of no current version found 2019-11-29 13:59:25 +01:00
Jamie Magee
4c287bc655 refactor(logger): convert more loggers to typescript (#4887)
Co-Authored-By: Michael Kriese <michael.kriese@visualon.de>
2019-11-29 13:52:46 +01:00
Jamie Magee
ae2f0f7c84 feat: Initial support for git submodules (#4605) 2019-11-28 20:04:54 +01:00
Michael Kriese
f0d4995fda fix(eslint): '@typescript-eslint/explicit-function-return-… (#4872) 2019-11-26 16:13:07 +01:00
Michael Kriese
d210191fec fix(typescript): convert workers/global to ts (#4883) 2019-11-26 14:05:24 +01:00