Commit graph

6771 commits

Author SHA1 Message Date
Rhys Arkins
347d7dc51f
fix: move rebaseWhen=never check earlier (#13218) 2021-12-21 20:23:08 +00:00
Rhys Arkins
0606cc82f9 fix: no warn for unexpected yarn lock entry 2021-12-21 20:50:21 +01:00
Rhys Arkins
93597723ce fix: better yarn.lock regex 2021-12-21 18:58:51 +01:00
RahulGautamSingh
de5c4b8702
refactor(semver): ensure strict null check (#13161)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-12-21 16:58:50 +00:00
Rhys Arkins
87dc1d0fe3 fix: check for matchResult 2021-12-21 16:12:09 +01:00
Matt Palmer
3cdfd7a20a
fix(manager/gomod): GitLab Private Authentication (#13216) 2021-12-21 13:09:49 +00:00
Rhys Arkins
f20a9de60d
feat(yarn): updateLockedDependency for yarn v1 (#13212) 2021-12-21 13:46:44 +01:00
Oleg Krivtsov
9b2c4b5af2
test: error 502 is handled correctly in GitHub graphql (#13167)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-12-21 08:16:41 +00:00
Matt Travi
691bd72ac0
fix(joi-to-hapi-joi-replacement): narrowed the range to prevent downgrading newer versions (#13205) 2021-12-20 18:34:50 +01:00
Rhys Arkins
9bf5ba7b56 chore: log docker exec image 2021-12-20 09:28:39 +01:00
Matt Travi
7fb7b7a543
feat(hapi-replacements): added replacements for hapi and joi (#13135)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-12-20 08:25:10 +00:00
Rhys Arkins
1e1c7512e3
fix(npm): don't coerce npm constraint if already an exact version (#13202) 2021-12-20 08:48:05 +01:00
Sergei Zharinov
df1d8b8302
feat(preset): Define emojibase monorepo preset (#13201) 2021-12-20 07:49:10 +01:00
Rhys Arkins
75b1d8fbc6
feat(npm): efficient update-lockfile branch reuse (#13198) 2021-12-20 05:30:24 +00:00
Sergei Zharinov
3b91162eca
chore(deps): Switch to renamed parser library (#13195) 2021-12-19 14:05:31 +01:00
Rhys Arkins
25d3d626c9
refactor: simplify lockfile-update logic (#13191) 2021-12-19 11:29:46 +01:00
Martin Herndl
c5852e7ea5
feat(composer): support minor version on best-effort composer constraint extraction (#13187)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-12-18 21:06:36 +00:00
Martin Herndl
67eb76d406
feat(composer): support composer platform package constraint (#13186) 2021-12-18 21:55:13 +01:00
Rhys Arkins
1f1c86a4f7
feat(npm): check if branch already updated (#13185) 2021-12-18 17:09:49 +01:00
Rhys Arkins
b84ce2ad55
refactor(npm): updateLockedDependency result (#13182) 2021-12-18 15:39:55 +00:00
Michael Kriese
1e1bea200a
fix: use @sindresorhus/is instead of is (#13183) 2021-12-18 14:50:51 +00:00
Matt Palmer
af817f9e80
fix(go): Mimic Go logic for GOPRIVATE parsing (#13166)
Ensure that the parsing of `GOPRIVATE`/`GONOPROXY` matches the behaviour of Go itself.

The documentation for these values state it matches the logic of `path.Match`, however in reality it's actually a prefix based match.

Updating the regex to allow for either an exact match, or a match where the configured value is a prefix of the package, when a `/` is added.

Additionally, strip any trailing `/`'s from the configured value, as this matches the logic that Go takes when matching.

Fixes #13138
2021-12-17 13:47:45 +01:00
Sebastian Poxhofer
5eea19b5be
feat(autodiscover): reverts autodiscoverfilter as array (#13169)
This reverts commit a0a770338f.
2021-12-17 13:44:40 +01:00
Rhys Arkins
9f10223ce5 fix(gitub): log fork failure sha and url 2021-12-17 12:37:48 +01:00
RahulGautamSingh
453c249e46
fix(regex): add option to disable caching regex (#13068)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-12-17 09:43:33 +01:00
Ankit Soneji
45ee7643cc
feat(datasource/pod): Add GitHub enterprise support for pods (#12818) 2021-12-17 07:51:51 +00:00
Rhys Arkins
7b91912680 chore: revert git timeout change 2021-12-16 16:53:56 +01:00
Danilo Pianini
feb3f950a5
feat(managers/gradle): add support for plugin short syntax in gradle TOML catalogs (#13147)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-12-16 15:39:40 +00:00
Sebastian Poxhofer
a0a770338f
feat(autodiscover): allow array for autodiscoverfilter (#13100) 2021-12-16 15:12:35 +00:00
renovate[bot]
971ef920a6
chore(deps): update dependency ts-jest to v27.1.1 (#13114) 2021-12-16 14:51:28 +01:00
Sergei Zharinov
8d1ac78504
test(workers/pr): Explicit snapshots for release notes (#13145) 2021-12-16 14:14:19 +01:00
Muhammad Rehan Saeed
0bf92c54d6
feat(github actions): discover workflow files in subfolders (#13143) 2021-12-16 14:01:12 +01:00
Rhys Arkins
6a027d28eb
fix(config): add package rule to preserveSemverRanges (#13137) 2021-12-16 14:00:40 +01:00
Sergei Zharinov
992d3f6dc3
test(util/git): Use global timeout setting (#13141) 2021-12-16 13:52:49 +01:00
Oleg Krivtsov
ab3dc4e6b3
test(manager/gradle-wrapper): fix snapshot regression in gradle-wrapper (#13144) 2021-12-16 13:49:48 +01:00
Oleg Krivtsov
395cab2398
test(manager/gradle-wrapper): migrate to fs.readLocalFile (#13123) 2021-12-16 06:28:41 +01:00
Mr Talbot
3ac95a2393
fix: issue where helm index.yaml cannot be read (#13127)
* Fix issue where helm index.yaml cannot be read

The result of this function call is destructured here: d0d482155d/lib/datasource/helm/index.ts (L65)

If the return value is undefiend this causes an error, an empty object satisfies the RepoSource interface and can also be destructured without issue.

* update tests to match helm findSourceUrl behaviour

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-12-15 16:53:44 +00:00
Sergei Zharinov
d0d482155d
fix(util/emoji): Update emoji-related deps (#13122)
* chore(util/emoji): Update emoji-related deps

* Remove unused dep

* Fix
2021-12-15 12:49:25 +01:00
Oleg Krivtsov
83b87c0347
test(manager/gomod): migrate to fs.readLocalFile (#13099)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-12-15 10:50:09 +00:00
Rhys Arkins
737329246c
refactor(npm): update locked dep file structure (#13103) 2021-12-14 18:43:50 +01:00
Rhys Arkins
3fabb3b50b
refactor(helm): repository -> helmRepository (#13109) 2021-12-14 18:43:18 +01:00
Jack Pierce
c2f713d769
feat(buildkite): support git-hosted plugins (#13042) 2021-12-14 08:14:13 +01:00
Michael Kriese
91a3a971bb
fix(config/presets): wrong node.js group (#13096) 2021-12-14 08:13:11 +01:00
Oleg Krivtsov
3aa9b67861
test(manager/cocoapods): migrate to fs.readLocalFile (#13084)
* Implement cocoapods

* Fix lint

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-12-14 06:31:59 +00:00
Michael Kriese
b81e380c62
feat(datasource/helm): handle github source directoy (#13058) 2021-12-14 05:45:26 +00:00
Peter Valdemar Mørch
c7a7ffbeed
feat(config): allow exporting async config (#13075)
* feat(config): allow exporting async config (#13035)

module.exports can now be a function and it can be/return a Promise,
allowing the results of asynchronous operations to be used in the
configuration.

The discussion leading up to this PR in #13035 assumed that
module.exports had to be a plain object.

But this commit:

  commit 9aa97af5b3
  Author: Nejc Habjan <hab.nejc@gmail.com>
  Date:   Thu Dec 9 13:45:48 2021 +0100

      feat(config)!: parse JSON5/YAML self-hosted admin config (#12644)

      Adds support for alternative admin config file formats.

      BREAKING CHANGE: Renovate will now fail if RENOVATE_CONFIG_FILE is specified without a file extension

Had as an undocumented side effect, that it also handled transparenty
if module.exports was assigned a Promise. With that commit, the
promise will be await-ed so the resolved value is returned from
getConfig(). That was not the case before that commit.

So in this commit, configs that export functions are handled, and
test cases for both promises and functions have been added.

* Update lib/workers/global/config/parse/__fixtures__/fileAsyncFunction.js

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* Update lib/workers/global/config/parse/__fixtures__/fileFunctionPromise.js

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* feat(config): Fixed linter problems (#13035)

* feat(config)!: Add doc for JSON5/YAML self-hosted admin config (#12644)

The code was introduced in 9aa97af5b and here is the documentation to
go with it

* feat(config): Document config.js exports (#13035)

* feat(config): Rename file*.js to config*.js because they really are config (#13035)

* Update docs/usage/getting-started/running.md

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* Update docs/usage/getting-started/running.md

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-12-13 21:51:36 +00:00
HonkingGoose
f7d76bb2e9
chore: sort keys replacement presets (#13090)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-12-13 20:31:25 +00:00
Sergey Vedmak
eca5de1955
fix: Deduplicate release notes (#13088) 2021-12-13 15:13:55 +00:00
Sergei Zharinov
b762656b7f
test(workers/branch): Explicit conditions for snapshots (#13085) 2021-12-13 12:09:06 +00:00
HonkingGoose
6d956a3c1d
feat(config): add google guava to monorepo list (#13080) 2021-12-13 11:54:52 +01:00