Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

Versioning of roles #168

Closed
gregdek opened this issue Jul 11, 2016 · 7 comments
Closed

Versioning of roles #168

gregdek opened this issue Jul 11, 2016 · 7 comments

Comments

@gregdek
Copy link
Contributor

gregdek commented Jul 11, 2016

Time to start figuring this out. Unless there's significant backlash, because we live in the Python world here at Ansible, we're likely to implement PEP-440 for versioning:

https://www.python.org/dev/peps/pep-0440/

@geerlingguy
Copy link

geerlingguy commented Jul 11, 2016

Yeesh, that reads like an IETF RFC... is there a good comparison/contrast between PEP-440 and Semantic Versioning? It seems like at least the core components of semver would be acceptable (e.g. [major].[minor].[patch]).

Edit: I did see a Semantic Versioning section. Looks like the core part is fine, but tags like 1.0.0-beta1 would not be (that would presumably be 1.0.0.b1?).

@gregdek
Copy link
Contributor Author

gregdek commented Jul 11, 2016

Notable: this is the mechanism for PyPi versioning, and this spec was written by the author of PyPi.

@geerlingguy
Copy link

@gregdek - I know you closed #165 in favor of this issue, but would this issue technically cover some sort of locking mechanism as well? E.g. If I wanted the latest of a "3.1.x" branch (and could choose 'stable', 'dev', 'alpha' etc.), is that the desired outcome of this issue? Or is it more just agreeing to or documenting the use of PEP 440?

If the latter, could we leave the Lockfile/version pinning issue open?

@gregdek
Copy link
Contributor Author

gregdek commented Jul 13, 2016

We can reopen if you like, sure. I suppose they are separate issues.

@goozbach
Copy link

I'd vote for limited semvers as defined in pep-440 but I have simple needs and don't know most edge cases.

@bcoca
Copy link
Member

bcoca commented Jul 27, 2016

We already allow 'commit sha' as a 'role version'

@chouseknecht
Copy link
Contributor

This issue was moved to ansible/galaxy#83

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

5 participants