{"action":"opened","number":472,"pull_request":{"url":"https://api.github.com/repos/erlware/relx/pulls/472","id":67627975,"html_url":"https://github.com/erlware/relx/pull/472","diff_url":"https://github.com/erlware/relx/pull/472.diff","patch_url":"https://github.com/erlware/relx/pull/472.patch","issue_url":"https://api.github.com/repos/erlware/relx/issues/472","number":472,"state":"open","locked":false,"title":"Fix for #471 - Do not create a junction (soft link) for files","user":{"login":"emtenet","id":702979,"avatar_url":"https://avatars.githubusercontent.com/u/702979?v=3","gravatar_id":"","url":"https://api.github.com/users/emtenet","html_url":"https://github.com/emtenet","followers_url":"https://api.github.com/users/emtenet/followers","following_url":"https://api.github.com/users/emtenet/following{/other_user}","gists_url":"https://api.github.com/users/emtenet/gists{/gist_id}","starred_url":"https://api.github.com/users/emtenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emtenet/subscriptions","organizations_url":"https://api.github.com/users/emtenet/orgs","repos_url":"https://api.github.com/users/emtenet/repos","events_url":"https://api.github.com/users/emtenet/events{/privacy}","received_events_url":"https://api.github.com/users/emtenet/received_events","type":"User","site_admin":false},"body":"Proposed fix for #471.\r\n\r\nWhen symlink_or_copy/2 cannot use file:make_symlink/2 on Windows due to the\r\nuser lacking SeCreateSymbolicLinkPrivilege it tries a fall back.\r\n\r\nDetect the source type and use an appropriate fall back:\r\n* junction for directories and,\r\n* copy for files.\r\n\r\nImprove error detection in win32_make_junction/2 and make it repeatable when\r\nthe target exists.\r\n\r\nRemove dead code cp_r/2 that must have been the fall back method before junctions where introduced.","created_at":"2016-04-24T05:22:02Z","updated_at":"2016-04-24T05:22:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/erlware/relx/pulls/472/commits","review_comments_url":"https://api.github.com/repos/erlware/relx/pulls/472/comments","review_comment_url":"https://api.github.com/repos/erlware/relx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/erlware/relx/issues/472/comments","statuses_url":"https://api.github.com/repos/erlware/relx/statuses/865f1606fc0b903c9bc06b07a367e3d109425f34","head":{"label":"emtenet:symlink_or_copy","ref":"symlink_or_copy","sha":"865f1606fc0b903c9bc06b07a367e3d109425f34","user":{"login":"emtenet","id":702979,"avatar_url":"https://avatars.githubusercontent.com/u/702979?v=3","gravatar_id":"","url":"https://api.github.com/users/emtenet","html_url":"https://github.com/emtenet","followers_url":"https://api.github.com/users/emtenet/followers","following_url":"https://api.github.com/users/emtenet/following{/other_user}","gists_url":"https://api.github.com/users/emtenet/gists{/gist_id}","starred_url":"https://api.github.com/users/emtenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emtenet/subscriptions","organizations_url":"https://api.github.com/users/emtenet/orgs","repos_url":"https://api.github.com/users/emtenet/repos","events_url":"https://api.github.com/users/emtenet/events{/privacy}","received_events_url":"https://api.github.com/users/emtenet/received_events","type":"User","site_admin":false},"repo":{"id":56241399,"name":"relx","full_name":"emtenet/relx","owner":{"login":"emtenet","id":702979,"avatar_url":"https://avatars.githubusercontent.com/u/702979?v=3","gravatar_id":"","url":"https://api.github.com/users/emtenet","html_url":"https://github.com/emtenet","followers_url":"https://api.github.com/users/emtenet/followers","following_url":"https://api.github.com/users/emtenet/following{/other_user}","gists_url":"https://api.github.com/users/emtenet/gists{/gist_id}","starred_url":"https://api.github.com/users/emtenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emtenet/subscriptions","organizations_url":"https://api.github.com/users/emtenet/orgs","repos_url":"https://api.github.com/users/emtenet/repos","events_url":"https://api.github.com/users/emtenet/events{/privacy}","received_events_url":"https://api.github.com/users/emtenet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/emtenet/relx","description":"Sane, simple release creation for Erlang","fork":true,"url":"https://api.github.com/repos/emtenet/relx","forks_url":"https://api.github.com/repos/emtenet/relx/forks","keys_url":"https://api.github.com/repos/emtenet/relx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emtenet/relx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emtenet/relx/teams","hooks_url":"https://api.github.com/repos/emtenet/relx/hooks","issue_events_url":"https://api.github.com/repos/emtenet/relx/issues/events{/number}","events_url":"https://api.github.com/repos/emtenet/relx/events","assignees_url":"https://api.github.com/repos/emtenet/relx/assignees{/user}","branches_url":"https://api.github.com/repos/emtenet/relx/branches{/branch}","tags_url":"https://api.github.com/repos/emtenet/relx/tags","blobs_url":"https://api.github.com/repos/emtenet/relx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emtenet/relx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emtenet/relx/git/refs{/sha}","trees_url":"https://api.github.com/repos/emtenet/relx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emtenet/relx/statuses/{sha}","languages_url":"https://api.github.com/repos/emtenet/relx/languages","stargazers_url":"https://api.github.com/repos/emtenet/relx/stargazers","contributors_url":"https://api.github.com/repos/emtenet/relx/contributors","subscribers_url":"https://api.github.com/repos/emtenet/relx/subscribers","subscription_url":"https://api.github.com/repos/emtenet/relx/subscription","commits_url":"https://api.github.com/repos/emtenet/relx/commits{/sha}","git_commits_url":"https://api.github.com/repos/emtenet/relx/git/commits{/sha}","comments_url":"https://api.github.com/repos/emtenet/relx/comments{/number}","issue_comment_url":"https://api.github.com/repos/emtenet/relx/issues/comments{/number}","contents_url":"https://api.github.com/repos/emtenet/relx/contents/{+path}","compare_url":"https://api.github.com/repos/emtenet/relx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emtenet/relx/merges","archive_url":"https://api.github.com/repos/emtenet/relx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emtenet/relx/downloads","issues_url":"https://api.github.com/repos/emtenet/relx/issues{/number}","pulls_url":"https://api.github.com/repos/emtenet/relx/pulls{/number}","milestones_url":"https://api.github.com/repos/emtenet/relx/milestones{/number}","notifications_url":"https://api.github.com/repos/emtenet/relx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emtenet/relx/labels{/name}","releases_url":"https://api.github.com/repos/emtenet/relx/releases{/id}","deployments_url":"https://api.github.com/repos/emtenet/relx/deployments","created_at":"2016-04-14T13:51:45Z","updated_at":"2016-04-14T13:51:45Z","pushed_at":"2016-04-24T05:01:42Z","git_url":"git://github.com/emtenet/relx.git","ssh_url":"git@github.com:emtenet/relx.git","clone_url":"https://github.com/emtenet/relx.git","svn_url":"https://github.com/emtenet/relx","homepage":"http://erlware.github.io/relx","size":5198,"stargazers_count":0,"watchers_count":0,"language":"Erlang","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":"master"}},"base":{"label":"erlware:master","ref":"master","sha":"1e15397a4924804f248facc18ccd07076baef7a4","user":{"login":"erlware","id":20751,"avatar_url":"https://avatars.githubusercontent.com/u/20751?v=3","gravatar_id":"","url":"https://api.github.com/users/erlware","html_url":"https://github.com/erlware","followers_url":"https://api.github.com/users/erlware/followers","following_url":"https://api.github.com/users/erlware/following{/other_user}","gists_url":"https://api.github.com/users/erlware/gists{/gist_id}","starred_url":"https://api.github.com/users/erlware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erlware/subscriptions","organizations_url":"https://api.github.com/users/erlware/orgs","repos_url":"https://api.github.com/users/erlware/repos","events_url":"https://api.github.com/users/erlware/events{/privacy}","received_events_url":"https://api.github.com/users/erlware/received_events","type":"Organization","site_admin":false},"repo":{"id":9900098,"name":"relx","full_name":"erlware/relx","owner":{"login":"erlware","id":20751,"avatar_url":"https://avatars.githubusercontent.com/u/20751?v=3","gravatar_id":"","url":"https://api.github.com/users/erlware","html_url":"https://github.com/erlware","followers_url":"https://api.github.com/users/erlware/followers","following_url":"https://api.github.com/users/erlware/following{/other_user}","gists_url":"https://api.github.com/users/erlware/gists{/gist_id}","starred_url":"https://api.github.com/users/erlware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erlware/subscriptions","organizations_url":"https://api.github.com/users/erlware/orgs","repos_url":"https://api.github.com/users/erlware/repos","events_url":"https://api.github.com/users/erlware/events{/privacy}","received_events_url":"https://api.github.com/users/erlware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/erlware/relx","description":"Sane, simple release creation for Erlang","fork":false,"url":"https://api.github.com/repos/erlware/relx","forks_url":"https://api.github.com/repos/erlware/relx/forks","keys_url":"https://api.github.com/repos/erlware/relx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/erlware/relx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/erlware/relx/teams","hooks_url":"https://api.github.com/repos/erlware/relx/hooks","issue_events_url":"https://api.github.com/repos/erlware/relx/issues/events{/number}","events_url":"https://api.github.com/repos/erlware/relx/events","assignees_url":"https://api.github.com/repos/erlware/relx/assignees{/user}","branches_url":"https://api.github.com/repos/erlware/relx/branches{/branch}","tags_url":"https://api.github.com/repos/erlware/relx/tags","blobs_url":"https://api.github.com/repos/erlware/relx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/erlware/relx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/erlware/relx/git/refs{/sha}","trees_url":"https://api.github.com/repos/erlware/relx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/erlware/relx/statuses/{sha}","languages_url":"https://api.github.com/repos/erlware/relx/languages","stargazers_url":"https://api.github.com/repos/erlware/relx/stargazers","contributors_url":"https://api.github.com/repos/erlware/relx/contributors","subscribers_url":"https://api.github.com/repos/erlware/relx/subscribers","subscription_url":"https://api.github.com/repos/erlware/relx/subscription","commits_url":"https://api.github.com/repos/erlware/relx/commits{/sha}","git_commits_url":"https://api.github.com/repos/erlware/relx/git/commits{/sha}","comments_url":"https://api.github.com/repos/erlware/relx/comments{/number}","issue_comment_url":"https://api.github.com/repos/erlware/relx/issues/comments{/number}","contents_url":"https://api.github.com/repos/erlware/relx/contents/{+path}","compare_url":"https://api.github.com/repos/erlware/relx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/erlware/relx/merges","archive_url":"https://api.github.com/repos/erlware/relx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/erlware/relx/downloads","issues_url":"https://api.github.com/repos/erlware/relx/issues{/number}","pulls_url":"https://api.github.com/repos/erlware/relx/pulls{/number}","milestones_url":"https://api.github.com/repos/erlware/relx/milestones{/number}","notifications_url":"https://api.github.com/repos/erlware/relx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/erlware/relx/labels{/name}","releases_url":"https://api.github.com/repos/erlware/relx/releases{/id}","deployments_url":"https://api.github.com/repos/erlware/relx/deployments","created_at":"2013-05-07T00:09:13Z","updated_at":"2016-04-19T16:53:06Z","pushed_at":"2016-04-21T14:48:15Z","git_url":"git://github.com/erlware/relx.git","ssh_url":"git@github.com:erlware/relx.git","clone_url":"https://github.com/erlware/relx.git","svn_url":"https://github.com/erlware/relx","homepage":"http://erlware.github.io/relx","size":5710,"stargazers_count":398,"watchers_count":398,"language":"Erlang","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":118,"mirror_url":null,"open_issues_count":43,"forks":118,"open_issues":43,"watchers":398,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/erlware/relx/pulls/472"},"html":{"href":"https://github.com/erlware/relx/pull/472"},"issue":{"href":"https://api.github.com/repos/erlware/relx/issues/472"},"comments":{"href":"https://api.github.com/repos/erlware/relx/issues/472/comments"},"review_comments":{"href":"https://api.github.com/repos/erlware/relx/pulls/472/comments"},"review_comment":{"href":"https://api.github.com/repos/erlware/relx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/erlware/relx/pulls/472/commits"},"statuses":{"href":"https://api.github.com/repos/erlware/relx/statuses/865f1606fc0b903c9bc06b07a367e3d109425f34"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":49,"deletions":68,"changed_files":1}}