0
0
Fork 0
mirror of https://github.com/renovatebot/renovate.git synced 2025-05-12 23:51:55 +00:00
renovatebot_renovate/lib/modules/manager/conan
RahulGautamSingh bc7d0595d0
feat(config): managerFilePatterns (#34615)
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2025-05-04 08:30:24 +00:00
..
__fixtures__ feat(manager/conan): Conan 1 package name compatibility (#32425) 2024-11-16 07:14:13 +00:00
artifacts.spec.ts feat(conan): Add support for lockfile maintenance (#28174) 2025-04-08 19:04:47 +00:00
artifacts.ts feat(conan): Add support for lockfile maintenance (#28174) 2025-04-08 19:04:47 +00:00
common.ts feat(conan): add revisions support (#16871) 2022-08-11 21:07:54 +02:00
extract.spec.ts test: cleanup (#34785) 2025-03-13 17:52:09 +00:00
extract.ts feat(manager/conan): Conan 1 package name compatibility (#32425) 2024-11-16 07:14:13 +00:00
index.ts feat(config): managerFilePatterns (#34615) 2025-05-04 08:30:24 +00:00
range.spec.ts feat(config)!: default to rangeStrategy=auto, prefer update-lockfile (#19942) 2023-03-10 09:25:45 +01:00
range.ts feat(config)!: default to rangeStrategy=auto, prefer update-lockfile (#19942) 2023-03-10 09:25:45 +01:00
readme.md feat(conan): Add support for lockfile maintenance (#28174) 2025-04-08 19:04:47 +00:00

!!! 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 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:

  1. Renovate searches in each repository for any conanfile.txt or conanfile.py file
  2. 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
  3. Renovate resolves the dependency's version using the Conan v2 API
  4. If Renovate finds an update, Renovate will update conanfile.txt or conanfile.py
  5. Renovate also updates conan.lock file if exists

Enabling Conan updating

Renovate updates Conan packages by default.