{"action":"opened","issue":{"url":"https://api.github.com/repos/HaxeFoundation/haxelib/issues/176","labels_url":"https://api.github.com/repos/HaxeFoundation/haxelib/issues/176/labels{/name}","comments_url":"https://api.github.com/repos/HaxeFoundation/haxelib/issues/176/comments","events_url":"https://api.github.com/repos/HaxeFoundation/haxelib/issues/176/events","html_url":"https://github.com/HaxeFoundation/haxelib/issues/176","id":60485805,"number":176,"title":"Use SemVer where sensible","user":{"login":"back2dos","id":509501,"avatar_url":"https://avatars.githubusercontent.com/u/509501?v=3","gravatar_id":"","url":"https://api.github.com/users/back2dos","html_url":"https://github.com/back2dos","followers_url":"https://api.github.com/users/back2dos/followers","following_url":"https://api.github.com/users/back2dos/following{/other_user}","gists_url":"https://api.github.com/users/back2dos/gists{/gist_id}","starred_url":"https://api.github.com/users/back2dos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/back2dos/subscriptions","organizations_url":"https://api.github.com/users/back2dos/orgs","repos_url":"https://api.github.com/users/back2dos/repos","events_url":"https://api.github.com/users/back2dos/events{/privacy}","received_events_url":"https://api.github.com/users/back2dos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-10T11:31:25Z","updated_at":"2015-03-10T11:31:25Z","closed_at":null,"body":"In #142 @jasononeil made a couple of propositions regarding this:\r\n\r\n> * The website lists would be sorted by semver, not upload time.\r\n> * The current version would be based on semver, not upload time, meaning:\r\n>      * You could upload a bug fix for a \"2.*\" version, when \"3.*\" is already uploaded, and \"3.*\" will remain current.\r\n>      * If there is a \"stable\" version (Version > 1.0, and not tagged alpha/beta/rc) then this should take precedence over a non-stable version.\r\n> * `haxelib install` should install the latest stable version (if there is a stable version).\r\n> * `haxelib update` should only update to the same level of release.  (If you have a stable release, only update to a stable release. If you have a beta though update to a beta).\r\n> * Perhaps we can have a `haxelib install project [alpha|beta|rc]` style commands.\r\n> \r\n> In short, if we actually draw some meaning from our semantic versioning, I think we have an adequate solution to this problem.\r\n\r\nRegarding the update rule, @ncannasse voiced concerns. I share them in so far as that if as a community we don't embrace SemVer, then relying on it will do more harm than good. Another solution would be of course to commit to it, but that pretty much hinges on the compiler team also taking that step."}}