0
0
Fork 0
mirror of https://github.com/renovatebot/renovate.git synced 2025-05-13 08:01:49 +00:00
renovatebot_renovate/lib/modules/manager/conan/readme.md
TobiaszSML 564ee83fb7
feat(conan): Add support for lockfile maintenance (#28174)
Co-authored-by: Damian E <dus7eh@gmail.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2025-04-08 19:04:47 +00:00

27 lines
1.3 KiB
Markdown

<!-- prettier-ignore -->
!!! warning
The Conan package manager is disabled by default due to slowness in the Conan API.
We recommend you only enable it for low volume experimental purposes until [issue #14170](https://github.com/renovatebot/renovate/issues/14170) is resolved.
Renovate can upgrade dependencies in `conanfile.txt` or `conanfile.py` files and also updates `conan.lock` files too if found.
How it works:
<!--
TODO: remove ignore
prettier & markdownlint conflicting nested list format
see: https://github.com/renovatebot/renovate/pull/30608
-->
<!-- prettier-ignore -->
1. Renovate searches in each repository for any `conanfile.txt` or `conanfile.py` file
1. Renovate extracts existing dependencies from:
- the `[requires]` and `[build_requires]` sections in the `conanfile.txt` format
- the `requirements()` and `build_requirements()` functions in the `conanfile.py` format
- and the `python_requires`, `requires` and `build_requires` variables in the `conanfile.py` format
1. Renovate resolves the dependency's version using the Conan v2 API
1. If Renovate finds an update, Renovate will update `conanfile.txt` or `conanfile.py`
1. Renovate also updates `conan.lock` file if exists
Enabling Conan updating
Renovate updates Conan packages by default.