Skip to content
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

docs: Update versioning policy #24411

Merged
merged 2 commits into from
Nov 5, 2024

Conversation

AbrilRBS
Copy link
Member

We are somewhat moving away from the cci.DATE versioning schema.

As a leftover from Conan 1 days, when coming up with such schema, not much attention was given to how it would work with version ranges.

The current situation is that any recipe that both defines a release version and a cci. version will think that the cci releases are newer because of how we interpret and expand semver ordering.

The new schema ensures this will not happen going forward.

There are 2 pain points that are left untouched as of yet:

  • Conan 1 semver parser does not support more than 4 digits as part of the version, so we either have to change this to 0.cci.date which is unconvinient
    (Some libraries like to make the first release as 0.x, which would put us back with the same problem!), or wait to implement this until Conan 1 is deprecated in CCI
  • Old cci versions still will not work. We might think about how we can better tackle this when we deprecate Conan 1 too

@AbrilRBS AbrilRBS self-assigned this Jun 21, 2024
Copy link
Member Author

@AbrilRBS AbrilRBS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The team has decided to change this to be 0.0.0.cci.xxx, which limits us to have to wait until conan 1 deprecation for this to be a valid syntax :)

@danimtb danimtb merged commit aff8dcc into conan-io:master Nov 5, 2024
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants