Commit graph

131 commits

Author SHA1 Message Date
Michael Kriese
6dd4ea3c74
feat(github): use repo url to get token (#17179) 2022-08-29 07:37:45 +00:00
Dan Ports
fb72204a28
feat(datasource): New datasource that pulls database engine versions available for use on AWS RDS (#17345)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-26 11:44:53 +00:00
Philip
1c81eaf24d
fix(datasource/metadata): delete homepage url case (#17372)
Co-authored-by: whitesource-for-github-com[bot] <50673670+whitesource-for-github-com[bot]@users.noreply.github.com>
Co-authored-by: whitesource-for-github-com[bot] <whitesource-for-github-com[bot]@users.noreply.github.com>
Co-authored-by: hasanwhitesource <hasan.awad@whitesourcesoftware.com>
Co-authored-by: Hasan Awad <90554456+hasanwhitesource@users.noreply.github.com>
Co-authored-by: Nabeel Saabna <48175656+nabeelsaabna@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-25 17:18:51 +00:00
Michael Kriese
88c9ca6aa3
fix(datasource/maven): use sdk v3 api (#17408) 2022-08-25 12:00:54 +02:00
Gabriel-Ladzaretti
4f9eedbe45
fix(datasource/maven): Remove S3 Blob handling (#17401) 2022-08-25 08:22:44 +00:00
Michael Kriese
9caf45ed43
fix(git): wrong git url handling (#17380)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-08-24 19:41:43 +00:00
Adam Setch
78e20c9e1a
fix(datasource/helm): remove default group commit message topic (#17383) 2022-08-24 13:02:38 +00:00
Adam Setch
bcddc69ccd
fix(datasource/docker): remove default group commit message topic (#17381) 2022-08-24 14:33:35 +02:00
Steven Davidovitz
7fb2e72281
fix(docker): support nvcr.io tag listing (#17294) 2022-08-21 14:14:55 +02:00
Michael Kriese
4af1126c5d
fix(datasource/adoptium-java): fix api args (#17246) 2022-08-18 06:53:13 +00:00
Johannes Feichtner
93990c1066
feat(datasource/docker): add support for architecture-specific image digests (#16554)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-17 20:57:48 +00:00
Bastian
2bfe93ab19
fix(gomod): support .git indicator on private ee gitlab (#17105)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-17 05:38:22 +00:00
Michael Kriese
0316a5e62d
test: use jest v29 (#17151) 2022-08-16 14:22:29 +02:00
Michael Kriese
7f76a474a7
fix(datasource/golang-version): use HEAD instead of master (#17205) 2022-08-16 07:57:25 +00:00
Louis Segretin
cedc8e2f6b
feat(conan): add revisions support (#16871)
* feat: add conan revisions

* Adding getDigest and moved function

* Apply suggestions from code review

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

* Changing undefined condition

* Minimize tests

* Extract isCommon to new common.ts

* Removing isComment

* Update lib/modules/datasource/conan/types.ts

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

* Removing digest from getReleases

* Removing digest from packageName

* cleaning up and fixing caching

* Apply suggestions from code review

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

* Adding back eslint-disable-next-line

* forcing registryUrl

* move to joinurlparts

* Refactor depName and userAndChannel

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-11 21:07:54 +02:00
Pascal Berger
08e6203217
docs: change heading to H4 (#17128)
Change heading to H4
2022-08-11 07:38:54 +00:00
Sergei Zharinov
f3531226e9
fix(github): Check release date for undefined value (#17106) 2022-08-10 12:14:34 +00:00
Michael Kriese
7492200014
fix(datasource/docker): export default config via class (#17102) 2022-08-10 10:09:29 +00:00
Jamie Magee
997e5a1216
feat(datasource/azure-pipelines-tasks): add azure-pipelines-tasks datasource (#16904)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-08 21:34:29 -07:00
cjtim
6f324e4130
chore(datasource/sbt): list package versions in debug (#17035) 2022-08-08 11:45:27 +00:00
Hasan Awad
4ead106f81
feat(util/template): add prettyNewMajor and prettyNewVersion field (#16831)
* initial

* expose prettyNewVersion and prettyNewMajor

* tests

* revert change

* simplify

* test naming

* documentation

* documentation

* remove wrong documentation

* expose template finction

* tests naming

* combine condition

* Update docs/usage/templates.md

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

* remove unecessary nullish op

* Update docs/usage/templates.md

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

* Expose prettyVersion and prettyMajor

* documentation

* remove function and use regex

* lexographic order

* tests need fixing

* add tests

* Captial letter

* renaming and prettyNewMajor

* space

* move to upgrade interface

* use new fields where v is prepended manually

* move to interface

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-08-08 07:50:36 +00:00
Durim Morina
075bf89e23
feat(datasource/docker): populate gitRef from OCI annotation (#16859) 2022-08-03 06:00:21 +00:00
Sergei Zharinov
765a76319b
feat(sbt-package): Fallback to Maven datasource for GitLab packages (#16817)
* feat(sbt-package): Fallback to Maven datasource for GitLab packages

* Fix

* Use `detectPlatform`

* Tests for hostType
2022-08-01 11:05:17 +00:00
Sergei Zharinov
e4dbd4ad49
fix(ci): Restrict template expressions (#16834)
* fix(ci): Restrict template expressions

* Fix

* Fix

* Fix
2022-07-30 16:28:31 +02:00
Sergei Zharinov
1c2a78bd67
test(sbt-package): Refactor tests (#16804) 2022-07-27 13:40:15 +02:00
Thorsten Essig
5bbb4c6054
fix(datasource/go): consider all available datasources for go-import (#16544)
* fix(16543): consider all available datasources for go-import

* fix(datasource/go): add test for go-import with gitlab datasource

* refactor: rename param to reduce diff

* fix(datasource/go): return early on datasource detection

Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-07-27 09:13:39 +02:00
Michael Kriese
8270d5512d
refactor: fix lint issues (#16779)
* refactor: fix lint issues

* Update lib/renovate.ts

* chore: revert toplevel await for ts
2022-07-26 08:32:12 +00:00
IKEDA Sho
8bff91a48b
feat(datasource): add cpan datasource (#16545)
* feat(datasource): add cpan datasource

* Update perl versioning's readme

* Extract copystr function to lib/util/string.ts

* Remove unnecessary optional chaining

* Use registryUrl and logger.trace

* Use `perl` versioning's `isStable`

* Remove possibly unnecessary try/catch

* Use MetaCPAN API

* Use reduce

* Use maturity field for `isStable` handling

https://metacpan.org/pod/CPAN::DistnameInfo#maturity

* Revert "Extract copystr function to lib/util/string.ts"

This reverts commit 51ebf55c90.

# Conflicts:
#	lib/modules/datasource/cpan/index.ts

* Remove downloadUrl

* Extract types

* Use toMatchObject

* Improve tests

* Rename to MetaCpanSearchResult

* Rename to searchUrl

* Rename to MetaCpanFileSearchResult and add tsdoc

* Use for...of over reduce

* More safely handle the response JSON

* Use joinUrlParts

* Don't embed distribution info

* Split tsdoc comments
2022-07-26 06:39:51 +00:00
Maron
6246a61bf4
fix(datasource/docker): Docker tags list for library images not working (#16509) 2022-07-25 08:23:42 +02:00
IKEDA Sho
2241daaada
refactor(datasource): Prefer interface over type (#16707)
https://github.com/renovatebot/renovate/blob/main/docs/development/best-practices.md#general
2022-07-22 12:18:58 +00:00
IKEDA Sho
497b5de6c2
test(datasource): Avoid snapshots for testing EXTERNAL_HOST_ERROR (#16692) 2022-07-22 06:49:05 +02: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
cl
496e12f795
feat: add librarian-puppet support (#14789) 2022-07-17 05:27:35 +03:00
Rhys Arkins
0fc2a55624
fix(git-refs): gracefully ignore git-refs auth error (#16617) 2022-07-16 15:48:26 +02: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
Michael Kriese
fb0dad1e42
refactor(datasource/docker): types cleanup (#16578) 2022-07-14 22:27:31 +03:00
IKEDA Sho
9a413e5f2e
test(datasource): remove unnecessary optional chaining in tests (#16572) 2022-07-14 05:28:51 +00:00
Michael Kriese
677fc8b332
fix(datasource/docker): do not use json for '/v2/' (#16482)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-07-08 14:05:29 +00:00
Jamie Magee
3589d0e222
refactor: remove deprecated loadFixture calls (#16404)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-04 04:18:53 +00:00
Rhys Arkins
b49849b2a0
fix: assign default versioning before applying package rules (#16392) 2022-07-03 18:11:20 +02:00
Nuno Marujo
426d3f34cf
docs: Maven - Ensure changelog is fetchable (#16389) 2022-07-03 15:31:23 +00:00
Sergei Zharinov
1454b602fc
fix(github): Shrink pages for specific types of errors (#16388) 2022-07-02 18:41:02 +02:00
Sergei Zharinov
b5df686fb7
refactor(github): Introduce misc query function for GraphQL (#16387)
* refactor(github): Introduce misc `query` function for GraphQL

* Update lib/modules/datasource/github-releases/cache/cache-base.ts

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

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-02 15:24:17 +02:00
Sergei Zharinov
49f7bac4e0
refactor(github): Consume pages entirely during tags/releases caching (#16386) 2022-07-02 10:13:55 +02:00
Sergei Zharinov
b9257bf5dd
fix(github-tags): Use releaseTimestamp from tagger object (#16385) 2022-07-02 09:46:48 +02:00
Sergei Zharinov
2b43f273bf
refactor(fs): Remove proxies.ts file (#16325)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-01 14:57:30 +02:00
Jamie Magee
cc2ad5174e
fix: switch changelog urls from http to https (#16349) 2022-07-01 04:57:07 +00:00
Johannes Feichtner
3b8bd95fe8
fix: add return value for additionalRegistryURLs concat in resolveRegistryUrls (#16334) 2022-06-30 05:06:22 +00:00
Gabriel-Ladzaretti
dc11e26c37
fix(datasource/pypi): use pypi.org/pypi registry instead of pypi.org/simple (#16293)
* fix(datasource/pypi): use pypi api instead of the simple variant

* fix(datasource/pypi): use pypi api instead of the simple variant

* fix(datasource/pypi): use pypi api instead of the simple variant

* fix(datasource/pypi): use pypi api instead of the simple variant

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

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-29 07:26:46 +02:00
Sergei Zharinov
6d605cbf90
fix(helm): Revert source url logic back (#16317) 2022-06-29 03:58:08 +00:00