51 Commits

Author SHA1 Message Date
Punsoong Khut 795d083264 feat(datasource): add APK datasource support (#40250)
* feat(datasource): add APK datasource support

* remove missing manager link for now

* lint docs

* update tests

* replace binary fixtures

* fix coverage

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

Co-authored-by: Jamie Tanna <github@jamietanna.co.uk>

* Apply suggestion from @viceice

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

* use tar instead of tar-stream

* use codeBlock

* add ignore back

* make method private

* use an async extract instead of list

* add usage example

* stream apkindex download and parse line-by-line

* refactor(datasource): address review comments on APK datasource

Co-authored-by: Cursor <cursoragent@cursor.com>

* chore: sync pnpm-lock.yaml after merge

Co-authored-by: Cursor <cursoragent@cursor.com>

* test: remove ignored lines

As they seem to be covered, anyway.

* fixup! Merge remote-tracking branch 'origin/HEAD' into apk-datasource

* fixup! fixup! Merge remote-tracking branch 'origin/HEAD' into apk-datasource

* lint: use `node:` prefix

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

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

* refactor(datasource/apk): use asTimestamp millis instead of new Date

Co-authored-by: Cursor <cursoragent@cursor.com>

* refactor(datasource/apk): rename uncached method to _getPackages

Co-authored-by: Cursor <cursoragent@cursor.com>

* refactor(datasource/apk): encode registry URL parts as query parameters

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(datasource/apk): reject invalid registry URLs, skip caching empty indexes

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(datasource/apk): throw on unparseable registry URL and drop unset sourceUrl support

Co-authored-by: Cursor <cursoragent@cursor.com>

* docs(datasource/apk): show how registry URL parameters build the index URLs

Co-authored-by: Cursor <cursoragent@cursor.com>

* Apply suggestions from code review

Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>

* fix(datasource/apk): keep credentials and port in component URLs

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(datasource/apk): extract APKINDEX by basename and key packages by name

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(datasource/apk): report a version served by two components only once

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Jamie Tanna <github@jamietanna.co.uk>
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Jamie Tanna <jamie.tanna@mend.io>
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>
2026-09-04 12:25:21 +00:00
Tobias Bieniek cd8446e70f feat(datasource): Implement rust-version data source (#39529)
* feat(rust-version): Implement `rust-version` data source

* refactor(rust-version): pass `URL` directly to `getText()`
2026-04-29 15:23:44 +00:00
Florian Arens f340b1a9e9 feat(datasource): add elm-package datasource (#41000)
* feat(datasource): add elm-package datasource

* refactor(elm): inline test fixtures

* fix(elm): correct import ordering in test file

* fix(elm): use zod/v3 import to match codebase conventions

* refactor(elm): rename types.ts to schema.ts

Follow project convention of using schema.ts for zod schema files.

* test(elm): add test for invalid JSON response

Use v8 ignore if directive and add test covering the null result
path when the API returns invalid JSON.

* refactor(elm): remove unreachable null check

* test(elm): add test for default registry URL fallback

* refactor(elm): guard against missing registryUrl instead of fallback

* fix(elm): handle ZodError gracefully instead of throwing

* feat(elm): add package cache for elm-package datasource
2026-03-28 13:23:00 +00:00
Sergei Zharinov c246f814d5 feat: Add github-digest datasource (#40226)
* feat(datasource/github-digest): Add datasource for non-semver refs

* fix: Use `Promise.allSettled` to avoid dangling promises
2026-02-02 10:58:43 +00:00
Sergei Zharinov 930cf6633c refactor: Rewrite imports with .ts extensions (#40700)
fix: Additional vi.mock path corrections and prettier formatting
2026-01-26 22:48:17 +00:00
Borja Domínguez 195e3084e5 feat(datasource): Add Nextcloud (#37292)
* feat(datasource): Add Nextcloud

* fix tests

* fix errors

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

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

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

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

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

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

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

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

* chore: move member

* move changelogUrl assignment

* wip

* wip

* wip

* wip

* Update schema.ts

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

Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>

* chore: change homepage to sourceUrl

* chore: change backticks to single quotes

---------

Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>
2025-11-19 10:26:54 +00:00
larsf96 6900f21f37 feat(datasource): azure tags datasource (#38027)
* feat: Add support for Azure Tags by using Node Azure API

* Fix imports

* Fix test

* Add some tests

* add tests for azure-tags

* add test

* refactored azure tags datasource

* fix tests

* Update lib/modules/datasource/azure-tags/index.spec.ts

Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>

---------

Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>
2025-11-19 07:53:21 +00:00
Sergei Zharinov 8922459b93 feat: Typst datasource and manager support (#37709) 2025-09-12 12:37:17 +00:00
Hajime-san 39a781a319 feat(datasource): add JSR support (#37881)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
2025-09-11 21:56:20 +00:00
Patrick Schratz 6c2bd9d197 feat: add forgejo as a standalone platform (#37075)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2025-07-21 14:24:07 +00:00
Borja Domínguez 0c57142c4f feat(datasource): Add Unity packages (#35298)
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>
2025-07-09 09:07:02 +00:00
Devinwong 6a5693fc5d feat(datasource/rpm): add support for rpm datasource (#36119) 2025-06-14 06:55:51 +00:00
Johannes Feichtner 68a66a05a9 feat(bitbucket-server): add support for changelogs (#34569) 2025-04-09 09:45:32 +00:00
Ivan Ka 522504441d feat(datasource): add eks addon datasource (#33272)
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2025-03-20 08:00:46 +00:00
Ralf Pannemans d581af59bc feat(datasource): Add datasource for buildpack registry (#32721)
Co-authored-by: Nicolas Bender <nicolas.bender@sap.com>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Pavel Busko <pavel.busko@sap.com>
Co-authored-by: Johannes Dillmann <j.dillmann@sap.com>
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
2025-01-28 16:31:07 +00:00
Will Brennan 309da71b45 feat(datasource): add devbox datasource module (#33418) 2025-01-10 11:52:45 +00:00
Janus Troelsen d63ff715cd feat(datasource): add Hackage datasource (#32944)
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
2024-12-13 07:17:26 +00:00
oxdev03 c3958c9bd6 feat(datasource): add debian datasource (#30071)
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Aleksandr Mezin <mezin.alexander@gmail.com>
Co-authored-by: Jasmin Müller <9011011+jazzlyn@users.noreply.github.com>
2024-08-28 17:26:56 +00:00
Sergei Zharinov 94f9d76329 refactor: Rename EndoflifeDatePackagesource to EndoflifeDateDatasource (#30898) 2024-08-20 04:55:57 +00:00
Sergei Zharinov 165e717edd refactor(rubygems): Rename RubyGemsDatasource to RubygemsDatasource (#30882) 2024-08-19 12:44:23 +00:00
Sergei Zharinov 56e5ea0731 refactor: Rename CdnJsDatasource to CdnjsDatasource (#30866) 2024-08-19 05:49:57 +00:00
Sergei Zharinov 3c1c67a46f refactor(aws): Make datasource names consistent (#30865) 2024-08-19 05:47:45 +00:00
Sebastian Poxhofer 4c15038aaa feat(datasources): add bitrise datasource (#30138)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2024-07-25 17:51:00 +00:00
Jakob Steiner bbde8073e8 feat(datasource): add glasskube packages datasource (#29430)
Signed-off-by: Jakob Steiner <jakob.steiner@glasskube.eu>
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-06-26 13:33:40 +00:00
Norbert Szulc c8aacc4c05 feat(datasource): Add python-version datasource (#27583)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-05-16 10:00:07 +00:00
Vincent Mahnke 0b73d683df feat(datasource): Add Unity3D (#27971)
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
2024-03-25 20:45:13 +00:00
Sergei Zharinov b69416ce17 refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
Michael Kriese 3f1d967b99 feat(datasource): add gitea-releases (#24140) 2023-08-29 12:56:08 +00:00
Michael Kriese 69f7240640 feat(datasource): add gitea-tags datasource (#24083) 2023-08-25 14:12:36 +00:00
PeterNitsche 1ecaab241d feat(github-actions): support GitHub actions runners (#23633)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2023-08-08 19:59:41 +00:00
Sebastian Poxhofer f26d21fcc3 feat(datasource): implement custom datasource (#23147) 2023-07-10 18:22:35 +00:00
Morre a5b729220c feat(datasource/endoflife-date): add endoflife.date datasource (#21994)
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: secustor <sebastian@poxhofer.at>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-06-01 16:41:39 +00:00
Chuck Grindel 7f4c8ebeb9 feat: add bazel datasource (#21733) 2023-04-25 20:08:26 +00:00
RahulGautamSingh efc366ec57 feat(datasource): rename node -> node-version (#21149) 2023-04-12 13:43:59 +00:00
Adam Setch e29c8ad964 fix(bitbucket): use correct case (#21002) 2023-03-17 12:13:37 +00:00
Simon Eßlinger 3c5224eee4 feat: add datasource, versioning and manager for Azure Bicep resources (#20755)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-03-14 18:29:25 +00:00
Paul Gschwendtner 177ffedb85 feat(datasource/github-releases)!: digest computation use git tag, not file digest (#20178)
The github-releases datasource has been copied into a new datasource called github-release-attachments.
The github-releases general datasource is updated to use the underlying Git tag of a GitHub release entry for digest computation.

Fixes #20160, Fixes #19552

BREAKING CHANGE: Regex Manager configurations relying on the github-release data-source with digests will have different digest semantics. The digest
will now always correspond to the underlying Git SHA of the release/version. The old behavior can be preserved by switching to the
github-release-attachments datasource.
2023-03-10 09:34:40 +01:00
RahulGautamSingh 09402a32e6 fix(datasource): rename adoptium-java to java-version (#20245) 2023-02-13 07:54:20 +00:00
RahulGautamSingh 93c3fd5ced feat(datasource): rename dotnet to dotnet-version (#20244) 2023-02-10 22:47:07 +02:00
Joshua Tang aab79f15d1 feat: add dart version datasource (#19277) 2022-12-20 20:29:37 +01:00
Jonatan Männchen ff1632ae31 feat(datasource/hexpm-bob): Support hex.pm "Bob the builder" datasource (#18925)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
2022-12-01 16:49:27 +00:00
Sebastian Poxhofer 7b677cd50a feat(datasource): add Deno datasource (#18878)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-12-01 07:56:31 +00:00
Jamie Magee 337578f2f9 feat(datasource/dotnet): add dotnet datasource (#18115) 2022-10-07 20:06:01 +02:00
Jamie Magee a86885a81b feat(datasource/kubernetes-api): add kubernetes-api datasource (#17420) 2022-10-06 16:13:22 +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
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
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
cl 496e12f795 feat: add librarian-puppet support (#14789) 2022-07-17 05:27:35 +03: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
zeshuaro e244128bac feat: add flutter-version datasource (#14743)
* feat: add flutter datasource

* refactor: rename flutter datasource to flutter-version

* feat: update to handle duplicate flutter releases

* refactor: tidy up flutter version datasource class names and imports

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

* Apply suggestions from code review

* style: add newline to test file

* refactor: move regex to util module

* refactor: tidy up stable version regex

* Apply suggestions from code review

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-03-29 04:09:16 +00:00