Commit graph

13008 commits

Author SHA1 Message Date
RahulGautamSingh
93707c1ed7
feat: use isBranchBehindBase cached result (#16595) 2022-07-21 07:48:02 +02:00
RahulGautamSingh
5b74dad583
refactor(migrations): migrate depTypes (#16421)
* migrate depTypes

* migrate more depTypes

* Revert "migrate more depTypes"

This reverts commit 3f97d9eb82.

* more migrations

* Update dep-types-migration.ts

* Update dep-types-migration.ts

* refactor: add tests and revert some changes

* add separate class for each dep-type

* Update peer-dependencies-migration.ts

* add tests

* update types

* modify test

* - Use regex to detect all depTypes
- Fix arrMigrate -> arrMigrate.migratedConfig

* add new interface for depTypes

* remove if-block

* Update lib/config/migrations/custom/dep-types-migration.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* run prettier

* Update lib/config/migrations/custom/dep-types-migration.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-21 05:06:32 +00:00
renovate[bot]
4cd1b03c12
chore(deps): update dependency @types/node to v16.11.44 (#16669)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-20 23:38:24 +00:00
renovate[bot]
4d55ada172
chore(deps): update dependency jest-extended to v3.0.1 (#16666)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-20 14:45:21 +00:00
renovate[bot]
8ac444b529
chore(deps): update jest monorepo to v28.1.3 (#16667)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-20 14:29:15 +00:00
Johannes Feichtner
a6b747444a
feat(gradle): add support for further apply-from patterns (#16507) 2022-07-20 05:45:31 +00:00
renovate[bot]
6d6227fabf
chore(deps): update dependency @types/jest to v28.1.5 (#16660)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-20 02:22:14 +00:00
Sebastian Poxhofer
d0926c3d61
fix(manager/regex): depName requirement if using the recursive strategy (#16225)
* fix(manager/regex): depName requirement if using the recursive strategy

* chore(manager/regex): implement code suggestions

* chore: replace Boolean with Is function

* chore: abort if match strings are empty

* refactor: do not parse regexes on each recursion and filter after all matches are processed

* fixup! test name

* Revert "chore: abort if match strings are empty"

This reverts commit bf41a92f

* refactor: extract inline function

* fix: out-of-bound check

* feat: allow currentDigest as valid alternative to currentValue

* Update lib/modules/manager/regex/utils.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* chore: prettier

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-19 12:02:42 +00:00
renovate[bot]
ef35ccd82f
chore(deps): update node.js to 47abb5e (#16650)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-19 10:12:06 +00:00
Hasan Awad
3c8d1d6076
refactor(darasource): checks and massage url in metadata (#16632)
* refactor hostname check

* changes

* switch back check

* changes

* changes

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-19 05:31:01 +00:00
IKEDA Sho
ef11336ed9
refactor(versioning): use versioning's id consistently (#16640) 2022-07-19 07:36:52 +03:00
renovate[bot]
8fc8887aa1
build(deps): update dependency dequal to v2.0.3 (#16639)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-19 00:11:29 +00:00
RahulGautamSingh
54cff9aeb8
refactor: throw error if issue with git (#16618) 2022-07-18 12:33:20 +00:00
Maron
a93cd9f4bd
refactor: move dependencyDashboardRebaseAllOpen parameter closely to worker (#16628) 2022-07-18 10:06:16 +02:00
Philip
a6e5eefb64
feat(manager/gomod): support updating go version in go.mod files (#16541) 2022-07-18 06:22:50 +00:00
renovate[bot]
1342cc15d9
chore(deps): lock file maintenance (#16627)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-18 01:45:07 +00:00
renovate[bot]
71bac1b1a3
docs: update references to renovate/renovate to v32.118.0 (#16626)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-18 01:32:22 +00:00
cl
496e12f795
feat: add librarian-puppet support (#14789) 2022-07-17 05:27:35 +03:00
renovate[bot]
3efed9a5fa
build(deps): update dependency @jamiemagee/osv-offline to v1.2.8 (#16620)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-16 23:21:33 +00:00
renovate[bot]
c91dd951cb
build(deps): update dependency luxon to v2.5.0 (#16619)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-16 19:04:02 +00:00
Rhys Arkins
0fc2a55624
fix(git-refs): gracefully ignore git-refs auth error (#16617) 2022-07-16 15:48:26 +02:00
HonkingGoose
47436a98d8
docs(semantic commit messages): rewrite (#16560) 2022-07-16 13:57:12 +02:00
HonkingGoose
b1dd241c87
chore(stale action): close stale issues as not planned (#16610) 2022-07-16 08:38:06 +02:00
renovate[bot]
61a8acd152
chore(deps): update actions/stale action to v5.1.0 (#16608)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-15 19:17:47 +00:00
renovate[bot]
467842e479
build(deps): update dependency azure-devops-node-api to v11.2.0 (#16607)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-15 19:03:58 +00:00
HonkingGoose
62fb5536fb
docs(faq): rewrite (#16558) 2022-07-15 18:52:45 +03:00
HonkingGoose
c32d3b7ff9
docs(configuration options): rewrite stopUpdatingLabel (#16576) 2022-07-15 18:23:59 +03:00
Michael Kriese
71f96f1f88
fix(manager/kubernetes): filter invalid documents (#16598) 2022-07-15 15:00:53 +00:00
Michael Kriese
47b9493fe2
test(git): raise timeout to 60s (#16599) 2022-07-15 16:47:39 +02:00
Rhys Arkins
cf4fcce8de
fix(onboarding): use default preset only if truthy (#16596)
Closes #16526
2022-07-15 15:34:31 +02:00
HonkingGoose
badccaff89
docs(best practices): create section for async functions (#16574) 2022-07-15 14:10:01 +03:00
HonkingGoose
6ae4a55bd3
docs(best practices): avoid boolean instead use is functions (#16573)
* docs(best practices): avoid boolean instead use is functions

* Update docs/development/best-practices.md

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-15 10:46:02 +00:00
Michael Kriese
ef64863f88
fix(preset/gitlab): manual parse json (#16592) 2022-07-15 10:32:12 +00:00
renovate[bot]
0ed7072a1f
chore(deps): update dependency type-fest to v2.16.0 (#16473)
* chore(deps): update dependency type-fest to v2.16.0

* chore: fix type issues

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-15 10:09:50 +00:00
Yun Lai
9280430f4c
feat: add datasource for Hermit package manager (#16257)
* feat: add datasource for Hermit package manager

* fix: make hermit datasource use http.stream instead of http.get

* chore: inline small function and return null on error in hermit datasource

* fix: use regExp to extract owner and repo from registryUrl

* fix: use http from super & use error instead of debug on datasource error

* fix: fix type check failure for github-release test

* Update lib/modules/datasource/hermit/index.spec.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Update lib/modules/datasource/hermit/index.spec.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Update lib/modules/datasource/hermit/index.spec.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Update lib/modules/datasource/hermit/index.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* fix: wrap JSON.parse to avoid breaking process, plus more comment onto the search manifest streaming process

* fix: add test to cover the invalid json case

* fix: change some logger.errors to logger.warn in hermit datasource, error will exit the whole process

* Update lib/modules/datasource/hermit/index.spec.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Update lib/modules/datasource/hermit/index.spec.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Update lib/modules/datasource/hermit/index.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Update lib/modules/datasource/hermit/index.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Update lib/modules/datasource/hermit/index.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* fix: use parseUrl and use hermit as GithubHttp id

* fix: added test to include HermitDatasource type in GITHUB_API_USING_HOST_TYPES

* fix: handle invalid url & achieve code coverage

* fix: move url parsing to parent function

* Update lib/modules/datasource/hermit/index.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* chore: clean up HermitDataSource class doc

* fix: getHermitSearchManifest cache key function should expect undefined

* fix: pass GetReleasesConfig into getHermitSearchManifest to get proper caching working

* Update lib/modules/datasource/hermit/readme.md

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

* Update lib/modules/datasource/hermit/readme.md

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

* Update lib/modules/datasource/hermit/readme.md

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

* Update lib/modules/datasource/hermit/readme.md

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

* Update lib/modules/datasource/hermit/readme.md

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

* chore: fix json block in datasource readme.md

* Put packageRules example in step 4

* fix: fix lint error

* fix: pass parsedUrl into getHermitSearchManifest, add warning and simplifies type

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2022-07-15 09:57:05 +00:00
RahulGautamSingh
c7507255b7
refactor: rename isBranchStale -> isBranchBehindBase (#16577)
* rename

* rename to isBranchBehindBase

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-15 09:21:32 +00:00
RahulGautamSingh
cc55f15f82
feat: semantic pr title for migrationPRs (#16490)
* generate PR title using ConfigMigrationCommitMessageFactory

* add test
2022-07-15 07:20:55 +00:00
RahulGautamSingh
f506580e40
fix: add repoCache-check before cloning (#16533) 2022-07-15 09:09:08 +02:00
Michael Kriese
fb0dad1e42
refactor(datasource/docker): types cleanup (#16578) 2022-07-14 22:27:31 +03:00
Michael Kriese
ad70360fda
fix(utils/fs): make assertions windows compatible (#16583)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-07-14 17:33:28 +02:00
renovate[bot]
b5068ab26d
chore(deps): update actions/dependency-review-action action to v2.0.4 (#16586)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-14 13:54:48 +00:00
renovate[bot]
ad0c13de2a
chore(deps): update actions/setup-node action to v3.4.1 (#16587)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-14 13:38:10 +00:00
Michael Kriese
62d5d670bf
test(git): tmp dir can be missing (#16585) 2022-07-14 16:17:19 +03:00
HonkingGoose
c2f11dadfd
docs(issue labeling): sync labels (#16580) 2022-07-14 10:10:48 +00:00
Sergei Zharinov
d0fe5f904e
feat(fs): Scope checks for filesystem functions (#16511) 2022-07-14 07:53:26 +00:00
RahulGautamSingh
2d5c8230d0
feat: run prettier on migratedJSON (#16471) 2022-07-14 06:05:31 +00:00
IKEDA Sho
9a413e5f2e
test(datasource): remove unnecessary optional chaining in tests (#16572) 2022-07-14 05:28:51 +00:00
Olivier Michaelis
5568420c78
feat(github): support unprefixed App Installation Token (#16174) 2022-07-14 04:42:05 +00:00
Jamie Magee
98b19615fa
feat(manager/kubernetes): extract kubernetes api versions (#16556)
* feat(manager/kubernetes): extract kubernetes api versions

* Update lib/modules/manager/kubernetes/extract.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* coverage

* inline small fixture

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-13 21:09:15 +02:00
renovate[bot]
7d3723fff4
chore(deps): update github/codeql-action action to v2.1.16 (#16565)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-13 15:28:51 +00:00