* 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>
* fix: GitRef match when getting GitHub Changelog
* Fix tests
* Updated snaps to support gitref field
* gitRef check support for gitlab
* Check with extractVersion
* Fixed tests for release-notes.spec.ts
* Fixed tests and created test case for extractVersion flow
* Revert "Fixed tests and created test case for extractVersion flow"
This reverts commit b018a6415a.
* Revert "Fixed tests for release-notes.spec.ts"
This reverts commit d0d4c004bf.
* Revert "Check with extractVersion"
This reverts commit bb9b795368.
* Fixed tests
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* feat(core/automerge): Allow a separate schedule for automerge
- init commit
* feat(core/automerge): Allow a separate schedule for automerge
- lint ci fix
* feat(core/automerge): Allow a separate schedule for automerge
- added docs entry
* feat(core/automerge): Allow a separate schedule for automerge
- added test coverage
* feat(core/automerge): Allow a separate schedule for automerge
- config-description.ts reorder methods
* Apply suggestions from code review
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* feat(core/automerge): Allow a separate schedule for automerge
- cr changes
- revert schedule.spec.ts changes
- reset mocks in automerge.spec.ts
* feat(core/automerge): Allow a separate schedule for automerge
- cr changes
* feat(core/automerge): Allow a separate schedule for automerge
- cr changes
* Apply suggestions from code review
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
* feat(core/automerge): Allow a separate schedule for automerge
- cr changes
* feat(core/automerge): Allow a separate schedule for automerge
- cr changes log update
* feat(core/automerge): Allow a separate schedule for automerge
- cr changes
* Apply suggestions from code review
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* feat(core/automerge): Allow a separate schedule for automerge
- prettier fix and test update
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>
* refactor: use gitea env variable endpoint without api path appendix
* refactor: use regex for api path trimming
* refacotr: move api path constant to gitea-helper
* refactor: consider end of string for api path trimming
* refactor: use baseUrl in gitea helper tests
* test: use toEqual instead of snapshot test
* refactor: update gitea default endpoint
* test: update gitea base url
* test: update init platform test
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* test: fix linting
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* feat(presets): Add monorepo NSwag
> `Detected package downgrade: NSwag.MSBuild from 13.16.0 to 13.15.10.`
Stops code from breaking on package upgrade.
Please see: https://github.com/RicoSuter/NSwag under the section 'nuget packages'. for a list of packages.
* Alphanumeric sort
* refactor(tools/distro-info): for later use in ubuntu and debian versioning
cr changes
* feat(versioning/debian): Debian codenames support
restore extracted code
* feat(versioning/debian): Debian codenames support
package.json, dropped the generate: prefix.
unit test mod as per CR
* feat(versioning/debian): Debian codenames support
now using the generic ver api interface
* feat(versioning/debian): Debian codenames support
revert exporting docker versioning
* feat(versioning/debian): Debian codenames support
switched to luxon for time handle
test fixes
dropped ts-ignore comments
* feat(versioning/debian): Debian codenames support
extract changes in distro.ts
* feat(versioning/debian): Debian codenames support
post merge changes
* feat(versioning/debian): Debian codenames support
cr changes
* feat(versioning/debian): Debian codenames support
- added support for pin range strategy
* feat(versioning/debian): Debian codenames support
- typos & metadata fixes
* feat(versioning/debian): Debian codenames support
- added isReleased to distro.ts
* feat(versioning/debian): Debian codenames support
- moved all time/date handling into distro.ts
- date freeze for ubuntu/debian/distro unit tests
* refactor(versioning/distro): Move date handling into distro.ts
- revert refactor #15272
* feat(versioning/debian): Debian codenames support
- merge distro refactor
* feat(versioning/debian): Debian codenames support
- extract private properties
* feat(versioning/debian): Debian codenames support
- cr changes
* feat(versioning/debian): Debian codenames support
- cr changes
* feat(versioning/debian): Debian codenames support
- cr changes
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* pass baseConfig to transitive presets
* add test for checking endpoint/platform in resolveConfigPresets()
* incorporated review findings
* removed mockClear() as it is no longer needed
* test: apply changes
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>