renovate/lib/modules/manager/conan
Louis Segretin cedc8e2f6b
feat(conan): add revisions support (#16871)
* 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>
2022-08-11 21:07:54 +02: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 feat(conan): add revisions support (#16871) 2022-08-11 21:07:54 +02:00
index.ts refactor: lib/modules (#14488) 2022-03-04 09:04:02 +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.