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

Change version numbering for better CocoaPods support #20

Closed
ricsantos opened this issue Dec 23, 2015 · 4 comments
Closed

Change version numbering for better CocoaPods support #20

ricsantos opened this issue Dec 23, 2015 · 4 comments

Comments

@ricsantos
Copy link

As per this issue: CocoaPods/CocoaPods#3180

The use of letters in the versioning signifies (incorrectly) to CocoaPods that OpenSSL-Universal is a pre-release version.

In previous versions of CocoaPods this may not have been an issue, but with 0.39 it appears to be, eg:

Resolving dependencies of `Podfile`
[!] Due to the previous naïve CocoaPods resolver, you were using a pre-release version of `OpenSSL-Universal`, without explicitly asking for a pre-release version, which now leads to a conflict. Please decide to either use that pre-release version by adding the version requirement to your Podfile (e.g. `pod 'OpenSSL-Universal', '= 1.0.1.i'`) or revert to a stable version by running `pod update OpenSSL-Universal`.
@ricsantos ricsantos changed the title Change version numbering for better CocoaPods supprort Change version numbering for better CocoaPods support Dec 23, 2015
@krzyzanowskim
Copy link
Owner

what is your proposal to keep openssl versioning and not make it "pre" release versioning ?

@ricsantos
Copy link
Author

Perhaps use the system employed by OpenSSL-Pod:

OpenSSL version: A.B.CD will become A.B.C*100 + place of D in the alphabet.
Example: OpenSSL 1.0.1h => OpenSSL 1.0.108

@krzyzanowskim
Copy link
Owner

I agree versioning sucks, but "108" is not any better, you have to do some math to check what version it is actually. Not goos solution though. Wish there would be version and "descriptive" version.

@krzyzanowskim
Copy link
Owner

new formula is

"1.0.1.#{("a".."z").to_a.index 'q'}"

that is 1.0.1.16 for "1.0.1q"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants