Commit graph

10904 commits

Author SHA1 Message Date
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
Maxime Brunet
2e7e4c2d1d
docs(bitbucket-cloud): Document required permission scopes (#13179) 2021-12-19 04:18:42 +00: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
renovate[bot]
a079d9cf7d
build(deps): update dependency luxon to v2.2.0 (#13175)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-17 21:35:43 +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
Rhys Arkins
8b3b80c3e4
chore: update readme image link 2021-12-17 11:04:44 +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
renovate[bot]
b36465d9df
chore(deps): update jest monorepo to v27.4.4 (#13159)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-17 05:12:45 +00:00
renovate[bot]
4d1ab6a875
chore(deps): update dependency typescript to v4.5.3 (#13157)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-17 00:18:08 +00:00
renovate[bot]
ede1d2b587
build(deps): update dependency markdown-it to v12.3.0 (#13155)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-16 18:30:26 +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
renovate[bot]
15ebe5c887
chore(deps): update node.js to 4be99ea (#13153)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-16 15:30:26 +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
HonkingGoose
015a6b72c1
docs(use cases): improve and simplify text (#13142) 2021-12-16 13:52:23 +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
renovate[bot]
ae46e9eb3a
docs: update references to renovate/renovate to v31 (#13129)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-15 16:43:43 +00:00
renovate[bot]
fb4f6bab99
chore(deps): update actions/upload-artifact action to v2.3.1 (#13128)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-15 16:32:52 +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
renovate[bot]
903ffd082b
chore(deps): update dependency @types/node to v16 (#13117)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-15 11:13:18 +01:00
renovate[bot]
e6326159bd
chore(deps): update dependency @types/eslint to v8 (#13116)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-15 09:11:44 +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
renovate[bot]
46930ddbc9
chore(deps): update dependency graphql to v15.8.0 (#13105)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-14 14:11:18 +00: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
renovate[bot]
579059cc52
chore(deps): update dependency eslint to v8.4.1 (#13094)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-14 03:57:03 +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
renovate[bot]
2f6a99ba70
chore(deps): update linters to v5.6.0 (#13091)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-13 18:56:45 +00:00
Sergey Vedmak
eca5de1955
fix: Deduplicate release notes (#13088) 2021-12-13 15:13:55 +00:00
HonkingGoose
ca79bf76da
docs(updateNotScheduled): use monospaced font (#13086) 2021-12-13 15:06:46 +01:00