{"action":"closed","number":135,"pull_request":{"url":"https://api.github.com/repos/HaxeFoundation/haxelib/pulls/135","id":15369306,"html_url":"https://github.com/HaxeFoundation/haxelib/pull/135","diff_url":"https://github.com/HaxeFoundation/haxelib/pull/135.diff","patch_url":"https://github.com/HaxeFoundation/haxelib/pull/135.patch","issue_url":"https://api.github.com/repos/HaxeFoundation/haxelib/issues/135","number":135,"state":"closed","locked":false,"title":"Download dependencies from GIT (and haxelib) with a new entry : \"requirements\"","user":{"login":"Peekmo","id":3881523,"avatar_url":"https://avatars.githubusercontent.com/u/3881523?v=3","gravatar_id":"","url":"https://api.github.com/users/Peekmo","html_url":"https://github.com/Peekmo","followers_url":"https://api.github.com/users/Peekmo/followers","following_url":"https://api.github.com/users/Peekmo/following{/other_user}","gists_url":"https://api.github.com/users/Peekmo/gists{/gist_id}","starred_url":"https://api.github.com/users/Peekmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Peekmo/subscriptions","organizations_url":"https://api.github.com/users/Peekmo/orgs","repos_url":"https://api.github.com/users/Peekmo/repos","events_url":"https://api.github.com/users/Peekmo/events{/privacy}","received_events_url":"https://api.github.com/users/Peekmo/received_events","type":"User","site_admin":false},"body":"Hello,\r\n\r\nThis PR introduce a new way (more flexible) to declare dependencies in haxelib.json file\r\nTo not break current libraries, I added a new key \"requirements\", which is an array that contains informations about these dependencies.\r\n\r\nYou can have a look to a test JSON file here : https://github.com/Peekmo/Peekmo-haxe-tools/blob/master/haxelib.json\r\n\r\nWhy ? Because in a company, you don't always want to share your libraries on haxelib, and for moment, that's impossible to download dependencies from a GIT project, and more, that's impossible to declare dependencies to git project inside a haxelib project. And that's my need, to be able to share my tools without adding them to haxelib (because they are not really interesting outside my projects).\r\n\r\nMy idea is (perhaps) not the best, but with this kind of declaration, we could support subversion for example (just for example XD), or something else, who know the future ? \r\n\r\nThe \"version\" for a git project => git tag\r\n\r\nThank you for your reading.\r\n","created_at":"2014-04-30T22:24:46Z","updated_at":"2015-12-09T14:49:07Z","closed_at":"2015-12-09T14:49:07Z","merged_at":null,"merge_commit_sha":"a186175524753d2f4648b487fdd75b0362d817fa","assignee":{"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},"milestone":null,"commits_url":"https://api.github.com/repos/HaxeFoundation/haxelib/pulls/135/commits","review_comments_url":"https://api.github.com/repos/HaxeFoundation/haxelib/pulls/135/comments","review_comment_url":"https://api.github.com/repos/HaxeFoundation/haxelib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HaxeFoundation/haxelib/issues/135/comments","statuses_url":"https://api.github.com/repos/HaxeFoundation/haxelib/statuses/ba29a89d248e156aa6305a1a2f321ad3e083c014","head":{"label":"Peekmo:git-dependencies","ref":"git-dependencies","sha":"ba29a89d248e156aa6305a1a2f321ad3e083c014","user":{"login":"Peekmo","id":3881523,"avatar_url":"https://avatars.githubusercontent.com/u/3881523?v=3","gravatar_id":"","url":"https://api.github.com/users/Peekmo","html_url":"https://github.com/Peekmo","followers_url":"https://api.github.com/users/Peekmo/followers","following_url":"https://api.github.com/users/Peekmo/following{/other_user}","gists_url":"https://api.github.com/users/Peekmo/gists{/gist_id}","starred_url":"https://api.github.com/users/Peekmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Peekmo/subscriptions","organizations_url":"https://api.github.com/users/Peekmo/orgs","repos_url":"https://api.github.com/users/Peekmo/repos","events_url":"https://api.github.com/users/Peekmo/events{/privacy}","received_events_url":"https://api.github.com/users/Peekmo/received_events","type":"User","site_admin":false},"repo":{"id":19286994,"name":"haxelib","full_name":"Peekmo/haxelib","owner":{"login":"Peekmo","id":3881523,"avatar_url":"https://avatars.githubusercontent.com/u/3881523?v=3","gravatar_id":"","url":"https://api.github.com/users/Peekmo","html_url":"https://github.com/Peekmo","followers_url":"https://api.github.com/users/Peekmo/followers","following_url":"https://api.github.com/users/Peekmo/following{/other_user}","gists_url":"https://api.github.com/users/Peekmo/gists{/gist_id}","starred_url":"https://api.github.com/users/Peekmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Peekmo/subscriptions","organizations_url":"https://api.github.com/users/Peekmo/orgs","repos_url":"https://api.github.com/users/Peekmo/repos","events_url":"https://api.github.com/users/Peekmo/events{/privacy}","received_events_url":"https://api.github.com/users/Peekmo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Peekmo/haxelib","description":"The Haxe library manager.  This repository contains the command line \"haxelib\" tool as well as the source for both the haxelib server API and haxelib website.  Contributions welcome!","fork":true,"url":"https://api.github.com/repos/Peekmo/haxelib","forks_url":"https://api.github.com/repos/Peekmo/haxelib/forks","keys_url":"https://api.github.com/repos/Peekmo/haxelib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Peekmo/haxelib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Peekmo/haxelib/teams","hooks_url":"https://api.github.com/repos/Peekmo/haxelib/hooks","issue_events_url":"https://api.github.com/repos/Peekmo/haxelib/issues/events{/number}","events_url":"https://api.github.com/repos/Peekmo/haxelib/events","assignees_url":"https://api.github.com/repos/Peekmo/haxelib/assignees{/user}","branches_url":"https://api.github.com/repos/Peekmo/haxelib/branches{/branch}","tags_url":"https://api.github.com/repos/Peekmo/haxelib/tags","blobs_url":"https://api.github.com/repos/Peekmo/haxelib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Peekmo/haxelib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Peekmo/haxelib/git/refs{/sha}","trees_url":"https://api.github.com/repos/Peekmo/haxelib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Peekmo/haxelib/statuses/{sha}","languages_url":"https://api.github.com/repos/Peekmo/haxelib/languages","stargazers_url":"https://api.github.com/repos/Peekmo/haxelib/stargazers","contributors_url":"https://api.github.com/repos/Peekmo/haxelib/contributors","subscribers_url":"https://api.github.com/repos/Peekmo/haxelib/subscribers","subscription_url":"https://api.github.com/repos/Peekmo/haxelib/subscription","commits_url":"https://api.github.com/repos/Peekmo/haxelib/commits{/sha}","git_commits_url":"https://api.github.com/repos/Peekmo/haxelib/git/commits{/sha}","comments_url":"https://api.github.com/repos/Peekmo/haxelib/comments{/number}","issue_comment_url":"https://api.github.com/repos/Peekmo/haxelib/issues/comments{/number}","contents_url":"https://api.github.com/repos/Peekmo/haxelib/contents/{+path}","compare_url":"https://api.github.com/repos/Peekmo/haxelib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Peekmo/haxelib/merges","archive_url":"https://api.github.com/repos/Peekmo/haxelib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Peekmo/haxelib/downloads","issues_url":"https://api.github.com/repos/Peekmo/haxelib/issues{/number}","pulls_url":"https://api.github.com/repos/Peekmo/haxelib/pulls{/number}","milestones_url":"https://api.github.com/repos/Peekmo/haxelib/milestones{/number}","notifications_url":"https://api.github.com/repos/Peekmo/haxelib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Peekmo/haxelib/labels{/name}","releases_url":"https://api.github.com/repos/Peekmo/haxelib/releases{/id}","created_at":"2014-04-29T18:25:20Z","updated_at":"2014-04-30T22:24:46Z","pushed_at":"2014-04-30T22:12:49Z","git_url":"git://github.com/Peekmo/haxelib.git","ssh_url":"git@github.com:Peekmo/haxelib.git","clone_url":"https://github.com/Peekmo/haxelib.git","svn_url":"https://github.com/Peekmo/haxelib","homepage":"http://lib.haxe.org/","size":459,"stargazers_count":0,"watchers_count":0,"language":"Haxe","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"git-dependencies"}},"base":{"label":"HaxeFoundation:master","ref":"master","sha":"8c5fb02d784ad257ac4684ffc443c719a96f3020","user":{"login":"HaxeFoundation","id":3826779,"avatar_url":"https://avatars.githubusercontent.com/u/3826779?v=3","gravatar_id":"","url":"https://api.github.com/users/HaxeFoundation","html_url":"https://github.com/HaxeFoundation","followers_url":"https://api.github.com/users/HaxeFoundation/followers","following_url":"https://api.github.com/users/HaxeFoundation/following{/other_user}","gists_url":"https://api.github.com/users/HaxeFoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/HaxeFoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HaxeFoundation/subscriptions","organizations_url":"https://api.github.com/users/HaxeFoundation/orgs","repos_url":"https://api.github.com/users/HaxeFoundation/repos","events_url":"https://api.github.com/users/HaxeFoundation/events{/privacy}","received_events_url":"https://api.github.com/users/HaxeFoundation/received_events","type":"Organization","site_admin":false},"repo":{"id":8782580,"name":"haxelib","full_name":"HaxeFoundation/haxelib","owner":{"login":"HaxeFoundation","id":3826779,"avatar_url":"https://avatars.githubusercontent.com/u/3826779?v=3","gravatar_id":"","url":"https://api.github.com/users/HaxeFoundation","html_url":"https://github.com/HaxeFoundation","followers_url":"https://api.github.com/users/HaxeFoundation/followers","following_url":"https://api.github.com/users/HaxeFoundation/following{/other_user}","gists_url":"https://api.github.com/users/HaxeFoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/HaxeFoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HaxeFoundation/subscriptions","organizations_url":"https://api.github.com/users/HaxeFoundation/orgs","repos_url":"https://api.github.com/users/HaxeFoundation/repos","events_url":"https://api.github.com/users/HaxeFoundation/events{/privacy}","received_events_url":"https://api.github.com/users/HaxeFoundation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HaxeFoundation/haxelib","description":"The Haxe library manager.  This repository contains the command line \"haxelib\" tool as well as the source for both the haxelib server API and haxelib website.  Contributions welcome!","fork":false,"url":"https://api.github.com/repos/HaxeFoundation/haxelib","forks_url":"https://api.github.com/repos/HaxeFoundation/haxelib/forks","keys_url":"https://api.github.com/repos/HaxeFoundation/haxelib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HaxeFoundation/haxelib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HaxeFoundation/haxelib/teams","hooks_url":"https://api.github.com/repos/HaxeFoundation/haxelib/hooks","issue_events_url":"https://api.github.com/repos/HaxeFoundation/haxelib/issues/events{/number}","events_url":"https://api.github.com/repos/HaxeFoundation/haxelib/events","assignees_url":"https://api.github.com/repos/HaxeFoundation/haxelib/assignees{/user}","branches_url":"https://api.github.com/repos/HaxeFoundation/haxelib/branches{/branch}","tags_url":"https://api.github.com/repos/HaxeFoundation/haxelib/tags","blobs_url":"https://api.github.com/repos/HaxeFoundation/haxelib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HaxeFoundation/haxelib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HaxeFoundation/haxelib/git/refs{/sha}","trees_url":"https://api.github.com/repos/HaxeFoundation/haxelib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HaxeFoundation/haxelib/statuses/{sha}","languages_url":"https://api.github.com/repos/HaxeFoundation/haxelib/languages","stargazers_url":"https://api.github.com/repos/HaxeFoundation/haxelib/stargazers","contributors_url":"https://api.github.com/repos/HaxeFoundation/haxelib/contributors","subscribers_url":"https://api.github.com/repos/HaxeFoundation/haxelib/subscribers","subscription_url":"https://api.github.com/repos/HaxeFoundation/haxelib/subscription","commits_url":"https://api.github.com/repos/HaxeFoundation/haxelib/commits{/sha}","git_commits_url":"https://api.github.com/repos/HaxeFoundation/haxelib/git/commits{/sha}","comments_url":"https://api.github.com/repos/HaxeFoundation/haxelib/comments{/number}","issue_comment_url":"https://api.github.com/repos/HaxeFoundation/haxelib/issues/comments{/number}","contents_url":"https://api.github.com/repos/HaxeFoundation/haxelib/contents/{+path}","compare_url":"https://api.github.com/repos/HaxeFoundation/haxelib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HaxeFoundation/haxelib/merges","archive_url":"https://api.github.com/repos/HaxeFoundation/haxelib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HaxeFoundation/haxelib/downloads","issues_url":"https://api.github.com/repos/HaxeFoundation/haxelib/issues{/number}","pulls_url":"https://api.github.com/repos/HaxeFoundation/haxelib/pulls{/number}","milestones_url":"https://api.github.com/repos/HaxeFoundation/haxelib/milestones{/number}","notifications_url":"https://api.github.com/repos/HaxeFoundation/haxelib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HaxeFoundation/haxelib/labels{/name}","releases_url":"https://api.github.com/repos/HaxeFoundation/haxelib/releases{/id}","created_at":"2013-03-14T18:38:33Z","updated_at":"2015-12-02T21:42:44Z","pushed_at":"2015-12-09T03:23:08Z","git_url":"git://github.com/HaxeFoundation/haxelib.git","ssh_url":"git@github.com:HaxeFoundation/haxelib.git","clone_url":"https://github.com/HaxeFoundation/haxelib.git","svn_url":"https://github.com/HaxeFoundation/haxelib","homepage":"http://lib.haxe.org/","size":842,"stargazers_count":62,"watchers_count":62,"language":"Haxe","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":72,"forks":35,"open_issues":72,"watchers":62,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/HaxeFoundation/haxelib/pulls/135"},"html":{"href":"https://github.com/HaxeFoundation/haxelib/pull/135"},"issue":{"href":"https://api.github.com/repos/HaxeFoundation/haxelib/issues/135"},"comments":{"href":"https://api.github.com/repos/HaxeFoundation/haxelib/issues/135/comments"},"review_comments":{"href":"https://api.github.com/repos/HaxeFoundation/haxelib/pulls/135/comments"},"review_comment":{"href":"https://api.github.com/repos/HaxeFoundation/haxelib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HaxeFoundation/haxelib/pulls/135/commits"},"statuses":{"href":"https://api.github.com/repos/HaxeFoundation/haxelib/statuses/ba29a89d248e156aa6305a1a2f321ad3e083c014"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":7,"review_comments":0,"commits":2,"additions":141,"deletions":5,"changed_files":2}}