Commit graph

12627 commits

Author SHA1 Message Date
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
renovate[bot]
77c2790475
chore(deps): update node.js to 026f786 (#16562)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-13 11:08:47 +00:00
Florian Greinacher
2b582140c2
fix(manager/docker): use correct autoreplace string for registry aliases (#16542)
* fix(manager/docker): use correct autoreplace string for registry aliases

* fix: re-establish old behavior
2022-07-13 06:22:52 +00:00
renovate[bot]
5fa2aa2f2c
build(deps): update dependency redis to v4.2.0 (#16549)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-12 17:39:20 +00:00
renovate[bot]
413d16b3f4
chore(deps): update node.js to 36ad8da (#16548)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-12 17:26:36 +00:00
renovate[bot]
6b5307c1f0
chore(deps): update dependency jest-extended to v3 (#16538)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-12 08:55:25 +00:00
IKEDA Sho
0d2d22167d
feat(versioning): add perl versioning (#16518) 2022-07-12 10:29:27 +02:00
Jamie Magee
c3c493baf1
docs(azure): merge azure devops docs (#16432) 2022-07-12 04:59:43 +00:00
renovate[bot]
210695c1a0
build(deps): update dependency git-url-parse to v12 (#16458)
* build(deps): update dependency git-url-parse to v12

* fix: add workaround

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-11 19:37:56 +00:00
renovate[bot]
1deed183d9
chore(deps): update linters to v5.30.5 (#16532)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-11 19:25:33 +00:00
renovate[bot]
826469483e
chore(deps): update actions/setup-node action to v3.4.0 (#16529)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-11 17:07:37 +00:00
Gabriel-Ladzaretti
6202b1c264
refactor(util/exec): change mocked modules in existing tests (#16519) 2022-07-11 11:41:24 +02:00
RahulGautamSingh
e10aa6aa5a
fix: check cache before cloning (#16517) 2022-07-11 10:58:51 +02:00
Steffen Schroeder
fa17909e8f
feat(preset): extend NestJS monorepo (#16520) 2022-07-11 08:26:51 +00:00
renovate[bot]
b865e4bdc0
chore(deps): update dependency eslint-import-resolver-typescript to v3.2.1 (#16516)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-11 06:05:56 +00:00
RahulGautamSingh
5774fb3f2a
refactor(migrations): class-based migration for packageRules (#16390)
* use class-based migration for packageRules

* fix errors

* refactor: remove unnecessaru if statement

* refactor: use argument

* refactor: apply suggestions

* Update lib/config/migrations/custom/package-rules-migration.ts

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

* Update lib/config/migrations/custom/package-rules-migration.ts

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

* refactor: import type PackageRule

* Update lib/config/migrations/custom/package-rules-migration.ts

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

Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-11 04:59:06 +00:00
renovate[bot]
48b9c5ca89
docs: update references to renovate/renovate to v32.108.0 (#16513)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-11 00:54:58 +00:00
renovate[bot]
9c07e3e4a9
chore(deps): lock file maintenance (#16514)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-11 00:39:25 +00:00
HonkingGoose
7f598f7b58
docs(configuration options): rewrite vulnerabilityAlerts (#16503) 2022-07-10 18:06:41 +03:00
renovate[bot]
c6da0b90e9
chore(deps): update dependency @types/node to v16.11.43 (#16506)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-10 14:21:07 +00:00
Johannes Feichtner
21d5e6829d
feat(gradle): add support for variable assignments with rootProject and project (#16505)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-10 14:06:50 +00:00
renovate[bot]
c15efe66c8
chore(deps): update linters to v5.30.4 (#16504)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-10 12:08:18 +00:00
renovate[bot]
5ea21cbb8b
chore(deps): update dependency eslint-import-resolver-typescript to v3.2.0 (#16501)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-10 10:00:44 +00:00
renovate[bot]
b1d45d07a4
chore(deps): update dependency ts-node to v10.8.2 (#16499)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-09 20:23:39 +00:00
Sergei Zharinov
e26130329d
refactor(fs): Add tests for every filesystem function (#16495)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-07-09 18:50:45 +00:00
renovate[bot]
5af461768c
chore(deps): update dependency eslint-import-resolver-typescript to v3.1.5 (#16498)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-09 17:14:16 +00:00
Paul Zakin
1374831aed
docs(configuration options): Add a CodePen for validating whether a later.js schedule is valid or not. (#16431) 2022-07-09 07:03:39 +00:00
Philip
6453c3833f
feat(PrBody): log when PR was created and updated (#15809) 2022-07-09 08:50:19 +02:00
renovate[bot]
d282af867a
chore(deps): update dependency eslint to v8.19.0 (#16494)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-09 02:40:09 +00:00
renovate[bot]
22e46daba7
chore(deps): update linters to v5.30.3 (#16493)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-08 17:15:41 +00:00
renovate[bot]
fdd4324d6a
chore(deps): update linters to v5.30.2 (#16492)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-08 17:04:27 +00:00
renovate[bot]
b4bf4ce4f5
chore(deps): update linters (#16491)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-08 16:49:47 +00:00