* 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
* docs(manager/cocoapods): Configure `ModuleApi`'s displayName and url
* Revert export order
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* refactor(util): use spawn instead of exec
- Use child_process.spawn instead of child_process.exec
* refactor(util): use spawn instead of exec
- Use child_process.spawn instead of child_process.exec
* refactor(util): use spawn instead of exec
- Use child_process.spawn instead of child_process.exec
* refactor(util): use spawn instead of exec
- Use child_process.spawn instead of child_process.exec
* refactor(util): use spawn instead of exec
- init spawn-util
* refactor(util): use spawn instead of exec
- spawn-util
* refactor(util): use spawn instead of exec
- init index-spawn.spec.ts
* refactor(util): use spawn instead of exec
- fixed various tests
* refactor(util): use spawn instead of exec
- fix all artifacts.spec.ts
* refactor(util): use spawn instead of exec
- fix all artifacts.spec.ts
* refactor(util): use spawn instead of exec
- fix npm post update imports
* refactor(util): use spawn instead of exec
- revert renaming to minimize PR diff
* refactor(util): use spawn instead of exec
- revert renaming to minimize PR diff
* refactor(util): use spawn instead of exec
- revert renaming to minimize PR diff
* refactor(util): use spawn instead of exec
- revert renaming to minimize PR diff
* refactor(util): use spawn instead of exec
- revert renaming to minimize PR diff
- destroy stdio when terminating child process
* refactor(util): use spawn instead of exec
- delete and revert dev related changes
* refactor(util): use spawn instead of exec
- fix support for windows
* refactor(util): use spawn instead of exec
- handle SIGSTOP and such
- add test coverage
* refactor(util): use spawn instead of exec
- now converts to strings when resolving/rejecting
* refactor(util): use spawn instead of exec
- logs improvements
- force shell (exec like)
- fix tests
* refactor(util): use spawn instead of exec
- strongly type listeners
* refactor(util): use spawn instead of exec
- create helper mock for spawn
* refactor(util): use spawn instead of exec
- cr changes
* Update lib/util/exec/common.ts
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
* refactor(util): use spawn instead of exec
- documentation
* refactor(util): use spawn instead of exec
- revert unnecessary formatting
* refactor(util): use spawn instead of exec
* refactor(util): use spawn instead of exec
- added ExecError class
* refactor(util): use spawn instead of exec
- exec-error.ts restructure
* refactor(util): use spawn instead of exec
* Apply suggestions from code review
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
* refactor(util): use spawn instead of exec
* refactor(util): use spawn instead of exec
* refactor(util): use spawn instead of exec
- deprecated RawExecOptions.encoding property
* refactor(util): use spawn instead of exec
* refactor(util): use spawn instead of exec
* refactor(util): use spawn instead of exec
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
* 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>
* 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>
* 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>
* feat: add versioning for Hermit package manager
* Update lib/modules/versioning/hermit/index.ts
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
* Update lib/modules/versioning/hermit/index.ts
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
* Update index.ts index.spec.ts and readme.md according to PR comments
* fix: fix versioning test double negation and _parseVersion function which is just for testing
* fix: simplify hermit versioning implementation as suggested
* fix: use _compare to simplify versioning implementation
* fix: reword version in hermit versioning and make _isChannel & _getChannel static
* fix: remove duplicated title in test and make _config readonly
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* feat(manager/gitlabci): add support for CI_REGISTRY
* fix: pass correct property
* chore: adapt tests
* docs; add documentation for the new option
* test: extend test cases
* fix: do the abc properly
* refactor: switch to using registryAliases option
* docs: mention registry variable
* style: remove extra heading
* docs: fix sentence
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
* docs: move documentation to managers
* docs: fix formatting
* refactor: handle default value in function body
* refactor: remove unused function
* refactor: move registry alias handling to dockerfile manager
* style: remove unused import
* refactor: use match groups directly
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* refactor: add dockerfile manager tests
* chore: fix variable name
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* 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(http): support asset download via octet-stream header in github http
* Update lib/util/http/github.spec.ts
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
* fix: make http.stream apply hostRules & authentication
* chore: fix disable host test for http.stream
* Update lib/util/http/index.ts
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
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>
* feat(helm): improve fallback on sourceUrl selection
* fix(helm): use home and source from latest release
instead of the first. Otherwise those fields can't be ever changed.
* test(helm): test charts with no home metadata
* test(helm): test releases semver sorting
* fix(helm): select last release by semver
* Apply suggestions from code review
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* fix(type): make homeMatch keys optional
* Fixes
Co-authored-by: Stefano Zaninetta <stefano.zaninetta@nagra.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* update
Allow either tag or version for images in helm charts
* undo
* lint
* undo
* exports
* rewrite
* add spaces for lint
* chore: prettier fix
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* add tests
* add support for kubernetes image resources
* Update lib/modules/manager/terraform/extract.ts
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
* added unknown resource
* added Kubernetes to Readme
* missed one spot in the Readme
* Update lib/modules/manager/terraform/readme.md
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
* switch to toMatchObject() in tests
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>
* fix: introduce class SemanticCommitMessage
* fix: introduce class AbstractCommitMessage
* fix: use commit message model
* fix: clean extra whitespaces
* fix: test coverage
* fix: fix build
* fix: unit test
* fix: by comments
* fix: cover case without prefix by unit tests
* fix: coverage
* fix: regexp
* fix: revert options changes
* fix: update commit message model
* fix: add unit test
* fix: add new getter to commit message model
* fix: add unit test
* fix: update by comments
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>