renovate/lib/modules/manager/conan
Rhys Arkins 016e647390
feat(config)!: default to rangeStrategy=auto, prefer update-lockfile (#19942)
Changes `rangeStrategy` default value from `'replace'` to `'auto'`. Also changes `auto` behavior so that `update-lockfile` is preferred if the manager
supports the `updateLockedDependency()` function.

Closes #19800

BREAKING CHANGE: Renovate will now default to updating locked dependency versions. To revert to previous behavior, configure rangeStrategy=replace.
2023-03-10 09:25:45 +01:00
..
__fixtures__ feat(conan): add revisions support (#16871) 2022-08-11 21:07:54 +02:00
common.ts feat(conan): add revisions support (#16871) 2022-08-11 21:07:54 +02:00
extract.spec.ts feat(conan): add revisions support (#16871) 2022-08-11 21:07:54 +02:00
extract.ts refactor: PackageFile -> PackageFileContent (#20502) 2023-02-19 12:43:48 +00:00
index.ts feat(config)!: default to rangeStrategy=auto, prefer update-lockfile (#19942) 2023-03-10 09:25:45 +01: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 refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01: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.

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

Enabling Conan updating

Renovate updates Conan packages by default.