You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a SDK package that can bring incompatibilities in built binaries especially during major version update. For this reason I wanted to introduce package_id_mode="semver_mode" for this package only (modifying global.conf affects every package).
But the problem was that this SDK package is included not in each consumer package directly (we have more than 100) but through [tool_requires] section of a specific profile where I can't specify package_id_mode.
From the conan2 code I found that there is undocumented build_mode attribute though other similar attributes are documented - https://docs.conan.io/2/reference/conanfile/attributes.html#reference-conanfile-attributes-package-id-modes. The attribute perfectly suits my needs, I intend to use it but I want to be sure that this is safe and will not change in future and probably documentation is just missing for it. Is it correct assumption?
Have you read the CONTRIBUTING guide?
I've read the CONTRIBUTING guide
The text was updated successfully, but these errors were encountered:
Yes, it is relatively safe to use it, it won't be removed. I thought that it had been recently documented, but I'll double check, and if it gets documented, it might be labeled as "experimental" or "preview". But it will be documented and allowed to be used, it is not an internal implementation detail.
What is your question?
We have a SDK package that can bring incompatibilities in built binaries especially during major version update. For this reason I wanted to introduce
package_id_mode="semver_mode"
for this package only (modifying global.conf affects every package).But the problem was that this SDK package is included not in each consumer package directly (we have more than 100) but through
[tool_requires]
section of a specific profile where I can't specifypackage_id_mode
.From the conan2 code I found that there is undocumented
build_mode
attribute though other similar attributes are documented - https://docs.conan.io/2/reference/conanfile/attributes.html#reference-conanfile-attributes-package-id-modes. The attribute perfectly suits my needs, I intend to use it but I want to be sure that this is safe and will not change in future and probably documentation is just missing for it. Is it correct assumption?Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: