Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Niko Hass <nikohass571@gmail.com>
Co-authored-by: Niko Haß <48032410+nikohass@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Fred Rondina <fred.rondina@daveramsey.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
* 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(sbt/manager): allow addCompilerPlugin
* add test case
* fix: toMatchObject
* yarn run jest:14 -u
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* fix: sbt manager allow star comment
* Update lib/modules/manager/sbt/extract.ts
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
* add test case
* prettier-fix
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
* fix: join env var lines with os.EOL to fix test failure on different systems
* fix: update test data to achieve full test coverage
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* test(bazel): Refactor tests for update function
- use smaller fragment for each use-case
- remove fixture usage
- fix regex to support `maybe`
* Compact formatting
* Don't use `replaceAll`
* Fix coverage
* fix: fix failed hermit binary source tests due to findUp module acts differently in windows
* fix: set localDir in GlobalConfig in getHermitEnvs test
* Apply suggestions from code review
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* fix: added two more mockResolvedValueOnce for extra test case and remove mockResolvedValueOnce('')
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* refactor(repository/config-migration): dont show file name in pr title
* refactor(repository/config-migration): dont show file name in pr title
* refactor(repository/config-migration): dont show file name in pr title
* refactor(repository/config-migration): dont show file name in pr title
* refactor(repository/config-migration): dont show file name in pr title
* refactor(repository/config-migration): dont show file name in pr title
* refactor(repository/config-migration): dont show file name in pr title
* Apply suggestions from code review
Co-authored-by: Nabeel Saabna <48175656+nabeelsaabna@users.noreply.github.com>
* refactor(repository/config-migration): dont show file name in pr title
* refactor(repository/config-migration): dont show file name in pr title
* refactor(repository/config-migration): dont show file name in pr title
* refactor(repository/config-migration): dont show file name in pr title
* refactor(repository/config-migration): dont show file name in pr title
Co-authored-by: Nabeel Saabna <48175656+nabeelsaabna@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* feat: add Hermit package manager
* fix: pass bin directory into getRepoStatus as string rather than an array
* fix: fix up hermit manager implementations
* add docker support in exec
* move fs related operations back into util/fs
* remove ENVVar passed on by process.env
* set concurrency in pMap
* use for instead of pMap for concurrency = 1
* use regex to pick up package reference parts
* fix: fix manager updateArtifacts test after change
* Update lib/modules/manager/hermit/extract.ts
Co-authored-by: Philip <42116482+PhilipAbed@users.noreply.github.com>
* fix: fix up test and docker reference for hermit manager
* test refer to internal fs
* docker image change to sidecar
* only symlink are read for the changed file content after hermit
install
* no more global mock in artifacts test
* fix: use warn instead of error so error better flows up in hermit manager
* fix: partial for test type, use throw instead of reject
* fix: update snapshot
* fix: combine install packages, also make extractPackageFile async
* fix: remove weird generated readLocalSynmlink in test
* fix: removes old test
* fix: use ensureLocalPath and fix test coverage
* fix: more test coverage
* fix: use ensureLocalPath in readLocalSymlink
* Apply suggestions from code review
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* fix: remove unused functions and types
* Apply suggestions from code review
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* Apply suggestions from code review
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
* fix: use execSnapshots and for of loop when returning the result
* Update lib/modules/manager/hermit/artifacts.spec.ts
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* fix: move exports below imports
Co-authored-by: Philip <42116482+PhilipAbed@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
* Gitea account must have full name set for Git identity
* Update lib/modules/platform/gitea/index.md
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* Update index.md
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
* 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>