{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/rafaeldamasceno/yarn/pulls/2","id":157446855,"html_url":"https://github.com/rafaeldamasceno/yarn/pull/2","diff_url":"https://github.com/rafaeldamasceno/yarn/pull/2.diff","patch_url":"https://github.com/rafaeldamasceno/yarn/pull/2.patch","issue_url":"https://api.github.com/repos/rafaeldamasceno/yarn/issues/2","number":2,"state":"closed","locked":false,"title":"feat(resolution): Allow \"git+file:\" dependency url protocol.","user":{"login":"rally25rs","id":38535,"avatar_url":"https://avatars3.githubusercontent.com/u/38535?v=4","gravatar_id":"","url":"https://api.github.com/users/rally25rs","html_url":"https://github.com/rally25rs","followers_url":"https://api.github.com/users/rally25rs/followers","following_url":"https://api.github.com/users/rally25rs/following{/other_user}","gists_url":"https://api.github.com/users/rally25rs/gists{/gist_id}","starred_url":"https://api.github.com/users/rally25rs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rally25rs/subscriptions","organizations_url":"https://api.github.com/users/rally25rs/orgs","repos_url":"https://api.github.com/users/rally25rs/repos","events_url":"https://api.github.com/users/rally25rs/events{/privacy}","received_events_url":"https://api.github.com/users/rally25rs/received_events","type":"User","site_admin":false},"body":"#3670 #5017\r\n\r\n**Summary**\r\n\r\nAllow \"git+file:\" dependency protocol to use a local un-pushed git repo as a dependency. Fix bug\r\nwhere local directories named \"*.git\" were treated as git dependencies\r\n\r\n* `\"test\": \"file:../test.git\"` will be resolved with `FileResolver` as a plain directory (not processed as a git repo)\r\n\r\n* `\"test\": \"git+file:../test#branch3\"` will be resolved with `GitResolver` as a local git repo (so a branch or hash or tag can be specified just like a remote git repo)\r\n\r\n**Test Plan**\r\n\r\nSeveral unit tests added for `GitResolver.isVersion()` and one test specific to resolving `file:deps/a.git` as a non-git local directory.","created_at":"2017-12-10T19:50:56Z","updated_at":"2017-12-11T10:38:22Z","closed_at":"2017-12-11T10:38:22Z","merged_at":"2017-12-11T10:38:22Z","merge_commit_sha":"cff1a6ce045f210b54c76512eb1a5a660e31395b","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/rafaeldamasceno/yarn/pulls/2/commits","review_comments_url":"https://api.github.com/repos/rafaeldamasceno/yarn/pulls/2/comments","review_comment_url":"https://api.github.com/repos/rafaeldamasceno/yarn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rafaeldamasceno/yarn/issues/2/comments","statuses_url":"https://api.github.com/repos/rafaeldamasceno/yarn/statuses/a1b46c53e867f344bc46ccfaa570f4574538c65b","head":{"label":"rally25rs:file-git-fix","ref":"file-git-fix","sha":"a1b46c53e867f344bc46ccfaa570f4574538c65b","user":{"login":"rally25rs","id":38535,"avatar_url":"https://avatars3.githubusercontent.com/u/38535?v=4","gravatar_id":"","url":"https://api.github.com/users/rally25rs","html_url":"https://github.com/rally25rs","followers_url":"https://api.github.com/users/rally25rs/followers","following_url":"https://api.github.com/users/rally25rs/following{/other_user}","gists_url":"https://api.github.com/users/rally25rs/gists{/gist_id}","starred_url":"https://api.github.com/users/rally25rs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rally25rs/subscriptions","organizations_url":"https://api.github.com/users/rally25rs/orgs","repos_url":"https://api.github.com/users/rally25rs/repos","events_url":"https://api.github.com/users/rally25rs/events{/privacy}","received_events_url":"https://api.github.com/users/rally25rs/received_events","type":"User","site_admin":false},"repo":{"id":79459660,"name":"yarn","full_name":"rally25rs/yarn","owner":{"login":"rally25rs","id":38535,"avatar_url":"https://avatars3.githubusercontent.com/u/38535?v=4","gravatar_id":"","url":"https://api.github.com/users/rally25rs","html_url":"https://github.com/rally25rs","followers_url":"https://api.github.com/users/rally25rs/followers","following_url":"https://api.github.com/users/rally25rs/following{/other_user}","gists_url":"https://api.github.com/users/rally25rs/gists{/gist_id}","starred_url":"https://api.github.com/users/rally25rs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rally25rs/subscriptions","organizations_url":"https://api.github.com/users/rally25rs/orgs","repos_url":"https://api.github.com/users/rally25rs/repos","events_url":"https://api.github.com/users/rally25rs/events{/privacy}","received_events_url":"https://api.github.com/users/rally25rs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rally25rs/yarn","description":"📦🐈 Fast, reliable, and secure dependency management.","fork":true,"url":"https://api.github.com/repos/rally25rs/yarn","forks_url":"https://api.github.com/repos/rally25rs/yarn/forks","keys_url":"https://api.github.com/repos/rally25rs/yarn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rally25rs/yarn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rally25rs/yarn/teams","hooks_url":"https://api.github.com/repos/rally25rs/yarn/hooks","issue_events_url":"https://api.github.com/repos/rally25rs/yarn/issues/events{/number}","events_url":"https://api.github.com/repos/rally25rs/yarn/events","assignees_url":"https://api.github.com/repos/rally25rs/yarn/assignees{/user}","branches_url":"https://api.github.com/repos/rally25rs/yarn/branches{/branch}","tags_url":"https://api.github.com/repos/rally25rs/yarn/tags","blobs_url":"https://api.github.com/repos/rally25rs/yarn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rally25rs/yarn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rally25rs/yarn/git/refs{/sha}","trees_url":"https://api.github.com/repos/rally25rs/yarn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rally25rs/yarn/statuses/{sha}","languages_url":"https://api.github.com/repos/rally25rs/yarn/languages","stargazers_url":"https://api.github.com/repos/rally25rs/yarn/stargazers","contributors_url":"https://api.github.com/repos/rally25rs/yarn/contributors","subscribers_url":"https://api.github.com/repos/rally25rs/yarn/subscribers","subscription_url":"https://api.github.com/repos/rally25rs/yarn/subscription","commits_url":"https://api.github.com/repos/rally25rs/yarn/commits{/sha}","git_commits_url":"https://api.github.com/repos/rally25rs/yarn/git/commits{/sha}","comments_url":"https://api.github.com/repos/rally25rs/yarn/comments{/number}","issue_comment_url":"https://api.github.com/repos/rally25rs/yarn/issues/comments{/number}","contents_url":"https://api.github.com/repos/rally25rs/yarn/contents/{+path}","compare_url":"https://api.github.com/repos/rally25rs/yarn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rally25rs/yarn/merges","archive_url":"https://api.github.com/repos/rally25rs/yarn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rally25rs/yarn/downloads","issues_url":"https://api.github.com/repos/rally25rs/yarn/issues{/number}","pulls_url":"https://api.github.com/repos/rally25rs/yarn/pulls{/number}","milestones_url":"https://api.github.com/repos/rally25rs/yarn/milestones{/number}","notifications_url":"https://api.github.com/repos/rally25rs/yarn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rally25rs/yarn/labels{/name}","releases_url":"https://api.github.com/repos/rally25rs/yarn/releases{/id}","deployments_url":"https://api.github.com/repos/rally25rs/yarn/deployments","created_at":"2017-01-19T14:10:38Z","updated_at":"2017-01-19T14:10:43Z","pushed_at":"2017-12-10T20:59:16Z","git_url":"git://github.com/rally25rs/yarn.git","ssh_url":"git@github.com:rally25rs/yarn.git","clone_url":"https://github.com/rally25rs/yarn.git","svn_url":"https://github.com/rally25rs/yarn","homepage":"https://yarnpkg.com","size":113051,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rafaeldamasceno:file-git-fix","ref":"file-git-fix","sha":"9c66db668e067385a9514ba271473f304e712694","user":{"login":"rafaeldamasceno","id":6492427,"avatar_url":"https://avatars0.githubusercontent.com/u/6492427?v=4","gravatar_id":"","url":"https://api.github.com/users/rafaeldamasceno","html_url":"https://github.com/rafaeldamasceno","followers_url":"https://api.github.com/users/rafaeldamasceno/followers","following_url":"https://api.github.com/users/rafaeldamasceno/following{/other_user}","gists_url":"https://api.github.com/users/rafaeldamasceno/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaeldamasceno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaeldamasceno/subscriptions","organizations_url":"https://api.github.com/users/rafaeldamasceno/orgs","repos_url":"https://api.github.com/users/rafaeldamasceno/repos","events_url":"https://api.github.com/users/rafaeldamasceno/events{/privacy}","received_events_url":"https://api.github.com/users/rafaeldamasceno/received_events","type":"User","site_admin":false},"repo":{"id":112751226,"name":"yarn","full_name":"rafaeldamasceno/yarn","owner":{"login":"rafaeldamasceno","id":6492427,"avatar_url":"https://avatars0.githubusercontent.com/u/6492427?v=4","gravatar_id":"","url":"https://api.github.com/users/rafaeldamasceno","html_url":"https://github.com/rafaeldamasceno","followers_url":"https://api.github.com/users/rafaeldamasceno/followers","following_url":"https://api.github.com/users/rafaeldamasceno/following{/other_user}","gists_url":"https://api.github.com/users/rafaeldamasceno/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaeldamasceno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaeldamasceno/subscriptions","organizations_url":"https://api.github.com/users/rafaeldamasceno/orgs","repos_url":"https://api.github.com/users/rafaeldamasceno/repos","events_url":"https://api.github.com/users/rafaeldamasceno/events{/privacy}","received_events_url":"https://api.github.com/users/rafaeldamasceno/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rafaeldamasceno/yarn","description":"📦🐈 Fast, reliable, and secure dependency management.","fork":true,"url":"https://api.github.com/repos/rafaeldamasceno/yarn","forks_url":"https://api.github.com/repos/rafaeldamasceno/yarn/forks","keys_url":"https://api.github.com/repos/rafaeldamasceno/yarn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rafaeldamasceno/yarn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rafaeldamasceno/yarn/teams","hooks_url":"https://api.github.com/repos/rafaeldamasceno/yarn/hooks","issue_events_url":"https://api.github.com/repos/rafaeldamasceno/yarn/issues/events{/number}","events_url":"https://api.github.com/repos/rafaeldamasceno/yarn/events","assignees_url":"https://api.github.com/repos/rafaeldamasceno/yarn/assignees{/user}","branches_url":"https://api.github.com/repos/rafaeldamasceno/yarn/branches{/branch}","tags_url":"https://api.github.com/repos/rafaeldamasceno/yarn/tags","blobs_url":"https://api.github.com/repos/rafaeldamasceno/yarn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rafaeldamasceno/yarn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rafaeldamasceno/yarn/git/refs{/sha}","trees_url":"https://api.github.com/repos/rafaeldamasceno/yarn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rafaeldamasceno/yarn/statuses/{sha}","languages_url":"https://api.github.com/repos/rafaeldamasceno/yarn/languages","stargazers_url":"https://api.github.com/repos/rafaeldamasceno/yarn/stargazers","contributors_url":"https://api.github.com/repos/rafaeldamasceno/yarn/contributors","subscribers_url":"https://api.github.com/repos/rafaeldamasceno/yarn/subscribers","subscription_url":"https://api.github.com/repos/rafaeldamasceno/yarn/subscription","commits_url":"https://api.github.com/repos/rafaeldamasceno/yarn/commits{/sha}","git_commits_url":"https://api.github.com/repos/rafaeldamasceno/yarn/git/commits{/sha}","comments_url":"https://api.github.com/repos/rafaeldamasceno/yarn/comments{/number}","issue_comment_url":"https://api.github.com/repos/rafaeldamasceno/yarn/issues/comments{/number}","contents_url":"https://api.github.com/repos/rafaeldamasceno/yarn/contents/{+path}","compare_url":"https://api.github.com/repos/rafaeldamasceno/yarn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rafaeldamasceno/yarn/merges","archive_url":"https://api.github.com/repos/rafaeldamasceno/yarn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rafaeldamasceno/yarn/downloads","issues_url":"https://api.github.com/repos/rafaeldamasceno/yarn/issues{/number}","pulls_url":"https://api.github.com/repos/rafaeldamasceno/yarn/pulls{/number}","milestones_url":"https://api.github.com/repos/rafaeldamasceno/yarn/milestones{/number}","notifications_url":"https://api.github.com/repos/rafaeldamasceno/yarn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rafaeldamasceno/yarn/labels{/name}","releases_url":"https://api.github.com/repos/rafaeldamasceno/yarn/releases{/id}","deployments_url":"https://api.github.com/repos/rafaeldamasceno/yarn/deployments","created_at":"2017-12-01T14:49:42Z","updated_at":"2017-12-01T14:49:48Z","pushed_at":"2017-12-11T10:38:22Z","git_url":"git://github.com/rafaeldamasceno/yarn.git","ssh_url":"git@github.com:rafaeldamasceno/yarn.git","clone_url":"https://github.com/rafaeldamasceno/yarn.git","svn_url":"https://github.com/rafaeldamasceno/yarn","homepage":"https://yarnpkg.com","size":114028,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rafaeldamasceno/yarn/pulls/2"},"html":{"href":"https://github.com/rafaeldamasceno/yarn/pull/2"},"issue":{"href":"https://api.github.com/repos/rafaeldamasceno/yarn/issues/2"},"comments":{"href":"https://api.github.com/repos/rafaeldamasceno/yarn/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/rafaeldamasceno/yarn/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/rafaeldamasceno/yarn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rafaeldamasceno/yarn/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/rafaeldamasceno/yarn/statuses/a1b46c53e867f344bc46ccfaa570f4574538c65b"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"rafaeldamasceno","id":6492427,"avatar_url":"https://avatars0.githubusercontent.com/u/6492427?v=4","gravatar_id":"","url":"https://api.github.com/users/rafaeldamasceno","html_url":"https://github.com/rafaeldamasceno","followers_url":"https://api.github.com/users/rafaeldamasceno/followers","following_url":"https://api.github.com/users/rafaeldamasceno/following{/other_user}","gists_url":"https://api.github.com/users/rafaeldamasceno/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaeldamasceno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaeldamasceno/subscriptions","organizations_url":"https://api.github.com/users/rafaeldamasceno/orgs","repos_url":"https://api.github.com/users/rafaeldamasceno/repos","events_url":"https://api.github.com/users/rafaeldamasceno/events{/privacy}","received_events_url":"https://api.github.com/users/rafaeldamasceno/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":108,"deletions":44,"changed_files":7}}
{"actor":{"display_login":"rafaeldamasceno"}}