-
Notifications
You must be signed in to change notification settings - Fork 989
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Opt-in global full_version instead of semver for package_id #4071
Comments
I'd also really like to see this on a per-package basis, where a package could declare how strictly it maintained binary compatibility and have that change its default representation in a consumer's info.requires["x"]. Obviously the consumer's package_id function could still change this, but in general "which versions are binary compatible" is something better known by the libfoo recipe than by the consumer. |
I agree, having the possibility to define the default binary compatibility (for consumers) within the package itself would be great. I have already encountered some difficulties due to the lack of this feature. (see conan-io/docs#3153) |
conan-io/docs#3153 should suffice, doesn't it? I just referenced my issue since I wanted to establish the link and to make it easier discoverable it in the future. I think the suggestion that I make in conan-io/docs#3153 is exactly the same what @puetzk is asking for. |
You are right. |
Yes, I agree conan-io/docs#3153 seems like a good discussion of the same issues I had in mind with libraries that do not use semver. I've subscribed on that one. |
Consider adding an opt-in mechanism using the conan.conf to change the global behavior of the package_id method to default all packages (only default, not override if they have fine adjustments) so we can change the default
semver
to defaultfull_version
, that would be the default in Conan 2.0Probably we should consider the default being configurable =>
full_package_id
,full_version
...The text was updated successfully, but these errors were encountered: