Skip to content
This repository has been archived by the owner on May 21, 2020. It is now read-only.

Punic doesn't follow semver for prereleases #70

Open
kkodev opened this issue Apr 26, 2017 · 3 comments
Open

Punic doesn't follow semver for prereleases #70

kkodev opened this issue Apr 26, 2017 · 3 comments
Assignees

Comments

@kkodev
Copy link

kkodev commented Apr 26, 2017

It seems that punic doesn't follow semver for prereleases (0.x.y). Any 2 different versions should be deemed incompatible with each other.

Major version zero (0.y.z) is for initial development. Anything may change at any time. The public API should not be considered stable.

Although carthage makes a twist on that (which I personally find useful) and not specifying patch version will allow for any prerelease patch under same minor.
Eg:
foo ~> 0.4 is compatible with
foo 0.4.0
foo 0.4.4
while
foo ~> 0.4.1 is only compatible with
foo 0.4.1

It would be useful to maintain same behaviour for consistency.

@schwa
Copy link
Owner

schwa commented Apr 26, 2017

Good idea. Thanks.

@kkodev
Copy link
Author

kkodev commented Apr 26, 2017

I might be able to help fixing that, unless you are already on it.

@schwa
Copy link
Owner

schwa commented Apr 26, 2017

I'm not yet - any pull requests are welcome.

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

No branches or pull requests

2 participants