{"action":"created","issue":{"url":"https://api.github.com/repos/HaxeFoundation/haxelib/issues/234","labels_url":"https://api.github.com/repos/HaxeFoundation/haxelib/issues/234/labels{/name}","comments_url":"https://api.github.com/repos/HaxeFoundation/haxelib/issues/234/comments","events_url":"https://api.github.com/repos/HaxeFoundation/haxelib/issues/234/events","html_url":"https://github.com/HaxeFoundation/haxelib/issues/234","id":95209093,"number":234,"title":"[feature request] new field `sdk`/`compiler` for determine compatibility","user":{"login":"fzzr-","id":888526,"avatar_url":"https://avatars.githubusercontent.com/u/888526?v=3","gravatar_id":"","url":"https://api.github.com/users/fzzr-","html_url":"https://github.com/fzzr-","followers_url":"https://api.github.com/users/fzzr-/followers","following_url":"https://api.github.com/users/fzzr-/following{/other_user}","gists_url":"https://api.github.com/users/fzzr-/gists{/gist_id}","starred_url":"https://api.github.com/users/fzzr-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fzzr-/subscriptions","organizations_url":"https://api.github.com/users/fzzr-/orgs","repos_url":"https://api.github.com/users/fzzr-/repos","events_url":"https://api.github.com/users/fzzr-/events{/privacy}","received_events_url":"https://api.github.com/users/fzzr-/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-15T14:25:33Z","updated_at":"2015-12-10T10:21:46Z","closed_at":null,"body":"I mean what will be great if in the each lib `haxelib.json` contains field about compatible & tested version of Haxe compiler+std."},"comment":{"url":"https://api.github.com/repos/HaxeFoundation/haxelib/issues/comments/163567928","html_url":"https://github.com/HaxeFoundation/haxelib/issues/234#issuecomment-163567928","issue_url":"https://api.github.com/repos/HaxeFoundation/haxelib/issues/234","id":163567928,"user":{"login":"nadako","id":49749,"avatar_url":"https://avatars.githubusercontent.com/u/49749?v=3","gravatar_id":"","url":"https://api.github.com/users/nadako","html_url":"https://github.com/nadako","followers_url":"https://api.github.com/users/nadako/followers","following_url":"https://api.github.com/users/nadako/following{/other_user}","gists_url":"https://api.github.com/users/nadako/gists{/gist_id}","starred_url":"https://api.github.com/users/nadako/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nadako/subscriptions","organizations_url":"https://api.github.com/users/nadako/orgs","repos_url":"https://api.github.com/users/nadako/repos","events_url":"https://api.github.com/users/nadako/events{/privacy}","received_events_url":"https://api.github.com/users/nadako/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T10:21:46Z","updated_at":"2015-12-10T10:21:46Z","body":"Correct me if I'm wrong, but I think NPM only supports hard-coded stuff like \"node\" and \"npm\", so it's not as pluggable as it seems. Maybe we should keep it simple only support \"haxe/sdk/compiler/whatever\".\r\n\r\nI think it should be only advisory and the only thing it should do is emit a warning on installation (IIRC that's also how NPM works).\r\n\r\nYou're right about semver comparisons, we should first implement that, but there's still no consensus (see #81), so we have to delay this one until we agree on some version management mechanism."}}