mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-25 15:01:49 +00:00
bf5ff94d28
Migrate apm, bun, cargo, cocoapods, composer, conan, copier, deno,
devbox, gomod, helmv3, jsonnet-bundler, kustomize, mix, nuget and vendir
onto `fileAddition()`, `artifactError()` and `artifactErrorResult()`.
copier's private `artifactError()` is replaced by the shared one.
Behaviour change: artifact error text now comes from
`artifactErrorMessageFromExecError` everywhere, i.e. a non-blank
`err.stderr`, else a non-blank `err.stdout`, else `err.message`.
Previously apm used `${err}` ("Error: " prefix), cocoapods used a
nullish coalesce that kept an empty stderr, nuget preferred stdout over
stderr, and jsonnet-bundler emitted an undefined stderr with no
fallback. The rest used `err.message` only and are unchanged for errors
without output.
Renovate can upgrade dependencies in conanfile.txt or conanfile.py files and also updates conan.lock files too if found.
How it works:
- Renovate searches in each repository for any
conanfile.txtorconanfile.pyfile - Renovate extracts existing dependencies from:
- the
[requires]and[build_requires]sections in theconanfile.txtformat - the
requirements()andbuild_requirements()functions in theconanfile.pyformat - and the
python_requires,requiresandbuild_requiresvariables in theconanfile.pyformat
- the
- Renovate resolves the dependency's version using the Conan v2 API
- If Renovate finds an update, Renovate will update
conanfile.txtorconanfile.py - Renovate also updates
conan.lockfile if exists