* 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>
* 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>
* 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
* 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>
* 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>
* 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>