-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[conan.io/center] flux still has cci.20240115
as the default version on ConanCenter when it already as 0.4.0
#25863
Comments
mp-units was updated to |
Apologies for this - this is part of the migration to our new CI pipeline and deprecation path for COnan 1.x From my earlier comment -
The legacy repository is no longer updated (but still up and running). This will be all announced today more widely |
I see - this is a result of the old versioning scheme that we gave to projects that didn't have a versioning scheme. Once they do - unfortunately For new cases like this, we are making sure that "custom" versions are Such that in the event of an actual version scheme being made available - the custom scheme is always the oldest possible. Unfortunately I'm not sure there is much we can do about this: we can't remove versions from the remote because they may already be in use, and even if we had the website sort differently, |
Conan repository already has the v1 and v2 split. Can't we just remove the cci version of flux from v2 and keep it as is for v1? Anyone not wanting to change can stay in v1. |
That is completely unrelated I'm afraid - if flux/cci.20240115 was ever available for Conan 2, removing it would cause issues. We try very hard to not break users, and to ensure reproducibility - people can change and update to the new one, but we want to retain their ability to roll back to the earlier version. |
So just to be clear -- is the default version of Flux on Conan going to remain an ancient git snapshot forever, no matter how many future releases of the library I might do? Because that seems pretty bad. |
Generally, with a Conan dependency there is no "default" version - the solver will bring in what is requested, and in most cases these tend to be actual versions, e.g. for boost most users do It is true that if a user requests the most unconstrained range We can mark the cci snapshop as deprecated and make that fail with a warning - pointing users to a recent version. The "earlier" recipe revisions for the same version will still work, but newly ones wouldn't. We can also look into reordering what's displayed on the website if that helps. I wouldn't say this is a forever issue as well - it's perfectly valid for Conan to support the use case where a library may have different versioning schemes across time, and need to reorder them in a way that is non-obvious - the added complication in our case is that this might involve making modifications to the server side behaviour of Conan remotes |
Thanks for the info @jcar87. If requesting unconstrained versions (assuming you'll get the most recent) is a rare thing to do in the Conan world then I guess this isn't as bad as I feared -- I'll add a note to the Flux README advising against using the wildcard form, which will hopefully put users on the right path. |
What is your problem/feature request?
https://conan.io/center/recipes/flux has version
cci.20240115
.The newer version
0.4.0
is merged, and visible at https://conan.io/center/recipes/flux?version=0.4.0, however if you search on ConanCenter, it defaults to the older version.Maybe I've done something wrong that causes the page to not update properly.
The text was updated successfully, but these errors were encountered: