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
Sergio Zharinov
3a7c67919f
feat(github): graphql wrapper with query retry ( #4739 )
2019-12-13 12:24:11 +02:00
Gautier P
b357aab07a
fix(maven): properly log pkgUrl in case of error ( #4972 )
2019-12-13 11:26:29 +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
75943deeab
feat(maven): Lookup for additional info for latest stable versi… ( #4970 )
2019-12-11 15:31:46 +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
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
Rhys Arkins
5bcc9d0617
fix(docker): include hostType in lookup ( #4964 )
2019-12-11 10:08:22 +02:00
Rhys Arkins
3c5cdeb3cf
fix(bitbucket-server): sanitize rebase checkbox
...
Fixes #4952
2019-12-11 09:02:44 +02:00