{"action":"created","issue":{"url":"https://api.github.com/repos/HaxeFoundation/haxelib/issues/217","labels_url":"https://api.github.com/repos/HaxeFoundation/haxelib/issues/217/labels{/name}","comments_url":"https://api.github.com/repos/HaxeFoundation/haxelib/issues/217/comments","events_url":"https://api.github.com/repos/HaxeFoundation/haxelib/issues/217/events","html_url":"https://github.com/HaxeFoundation/haxelib/issues/217","id":85921701,"number":217,"title":"Future of haxelib","user":{"login":"ibilon","id":3843471,"avatar_url":"https://avatars.githubusercontent.com/u/3843471?v=3","gravatar_id":"","url":"https://api.github.com/users/ibilon","html_url":"https://github.com/ibilon","followers_url":"https://api.github.com/users/ibilon/followers","following_url":"https://api.github.com/users/ibilon/following{/other_user}","gists_url":"https://api.github.com/users/ibilon/gists{/gist_id}","starred_url":"https://api.github.com/users/ibilon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibilon/subscriptions","organizations_url":"https://api.github.com/users/ibilon/orgs","repos_url":"https://api.github.com/users/ibilon/repos","events_url":"https://api.github.com/users/ibilon/events{/privacy}","received_events_url":"https://api.github.com/users/ibilon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-07T17:35:47Z","updated_at":"2015-06-08T13:40:32Z","closed_at":null,"body":"Hi,\r\n\r\nIn the spirit of moving haxelib forward I think what it really needs is a good API,\r\n\r\nit would make a very clean separation of logic and cli, and would allow tools to be easily compiled against it instead of running a haxelib process.\r\n\r\nI propose this: https://gist.github.com/ibilon/74e5d8ed46cc25b95056 (only a draft ofc, need to see in practice if it works)\r\nthere's only the current features of haxelib but before moving most code around we should consider what would be the roadmap of future features\r\nthere's also a haxe-pseudocode example (draft too, didn't try to compile obviously) of how the api would be used to make the current commands.\r\n\r\nthoughts?"},"comment":{"url":"https://api.github.com/repos/HaxeFoundation/haxelib/issues/comments/109998685","html_url":"https://github.com/HaxeFoundation/haxelib/issues/217#issuecomment-109998685","issue_url":"https://api.github.com/repos/HaxeFoundation/haxelib/issues/217","id":109998685,"user":{"login":"ibilon","id":3843471,"avatar_url":"https://avatars.githubusercontent.com/u/3843471?v=3","gravatar_id":"","url":"https://api.github.com/users/ibilon","html_url":"https://github.com/ibilon","followers_url":"https://api.github.com/users/ibilon/followers","following_url":"https://api.github.com/users/ibilon/following{/other_user}","gists_url":"https://api.github.com/users/ibilon/gists{/gist_id}","starred_url":"https://api.github.com/users/ibilon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibilon/subscriptions","organizations_url":"https://api.github.com/users/ibilon/orgs","repos_url":"https://api.github.com/users/ibilon/repos","events_url":"https://api.github.com/users/ibilon/events{/privacy}","received_events_url":"https://api.github.com/users/ibilon/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T13:40:32Z","updated_at":"2015-06-08T13:40:32Z","body":"Thanks,\r\nI updated my suggestion with it, and move those into Server instead of HaxelibProvider, which makes more sense.\r\n\r\nAlso most data structure from here https://github.com/HaxeFoundation/haxelib/blob/master/src/tools/haxelib/Data.hx could stay the same, no need to change everything."}}