{"action":"closed","number":86,"pull_request":{"url":"https://api.github.com/repos/anishathalye/dotbot/pulls/86","id":65380286,"html_url":"https://github.com/anishathalye/dotbot/pull/86","diff_url":"https://github.com/anishathalye/dotbot/pull/86.diff","patch_url":"https://github.com/anishathalye/dotbot/pull/86.patch","issue_url":"https://api.github.com/repos/anishathalye/dotbot/issues/86","number":86,"state":"closed","locked":false,"title":"Fix linking when using both relink and relative","user":{"login":"anishathalye","id":3526486,"avatar_url":"https://avatars.githubusercontent.com/u/3526486?v=3","gravatar_id":"","url":"https://api.github.com/users/anishathalye","html_url":"https://github.com/anishathalye","followers_url":"https://api.github.com/users/anishathalye/followers","following_url":"https://api.github.com/users/anishathalye/following{/other_user}","gists_url":"https://api.github.com/users/anishathalye/gists{/gist_id}","starred_url":"https://api.github.com/users/anishathalye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anishathalye/subscriptions","organizations_url":"https://api.github.com/users/anishathalye/orgs","repos_url":"https://api.github.com/users/anishathalye/repos","events_url":"https://api.github.com/users/anishathalye/events{/privacy}","received_events_url":"https://api.github.com/users/anishathalye/received_events","type":"User","site_admin":false},"body":"Prior to this patch, the following config led to incorrect behavior:\r\n\r\n    - link:\r\n        ~/.folder/file:\r\n          path: file\r\n          create: true\r\n          relative: true\r\n          relink: true\r\n\r\nPrior to the change, running the config the first time would result in\r\nexpected behavior. However, running the config for the second time would\r\nresult in deletion and re-creation of the link (even when the link is\r\ncorrect).\r\n\r\nThis patch improves the interaction of relink and relative, taking\r\nrelative paths into account when checking the validity of existing links\r\nin the `_delete()` method.\r\n\r\nThis fixes #85.","created_at":"2016-04-05T22:15:54Z","updated_at":"2016-04-06T01:20:00Z","closed_at":"2016-04-06T01:20:00Z","merged_at":null,"merge_commit_sha":"d36f706ce5ac8eea7b62b1bda056b4f9c3cc4bc3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/anishathalye/dotbot/pulls/86/commits","review_comments_url":"https://api.github.com/repos/anishathalye/dotbot/pulls/86/comments","review_comment_url":"https://api.github.com/repos/anishathalye/dotbot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/anishathalye/dotbot/issues/86/comments","statuses_url":"https://api.github.com/repos/anishathalye/dotbot/statuses/3d9b3ae2a8bf97ba6ad7c9ae7d8fd4be9f66f597","head":{"label":"anishathalye:develop","ref":"develop","sha":"3d9b3ae2a8bf97ba6ad7c9ae7d8fd4be9f66f597","user":{"login":"anishathalye","id":3526486,"avatar_url":"https://avatars.githubusercontent.com/u/3526486?v=3","gravatar_id":"","url":"https://api.github.com/users/anishathalye","html_url":"https://github.com/anishathalye","followers_url":"https://api.github.com/users/anishathalye/followers","following_url":"https://api.github.com/users/anishathalye/following{/other_user}","gists_url":"https://api.github.com/users/anishathalye/gists{/gist_id}","starred_url":"https://api.github.com/users/anishathalye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anishathalye/subscriptions","organizations_url":"https://api.github.com/users/anishathalye/orgs","repos_url":"https://api.github.com/users/anishathalye/repos","events_url":"https://api.github.com/users/anishathalye/events{/privacy}","received_events_url":"https://api.github.com/users/anishathalye/received_events","type":"User","site_admin":false},"repo":{"id":17959555,"name":"dotbot","full_name":"anishathalye/dotbot","owner":{"login":"anishathalye","id":3526486,"avatar_url":"https://avatars.githubusercontent.com/u/3526486?v=3","gravatar_id":"","url":"https://api.github.com/users/anishathalye","html_url":"https://github.com/anishathalye","followers_url":"https://api.github.com/users/anishathalye/followers","following_url":"https://api.github.com/users/anishathalye/following{/other_user}","gists_url":"https://api.github.com/users/anishathalye/gists{/gist_id}","starred_url":"https://api.github.com/users/anishathalye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anishathalye/subscriptions","organizations_url":"https://api.github.com/users/anishathalye/orgs","repos_url":"https://api.github.com/users/anishathalye/repos","events_url":"https://api.github.com/users/anishathalye/events{/privacy}","received_events_url":"https://api.github.com/users/anishathalye/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anishathalye/dotbot","description":"A tool that bootstraps your dotfiles • Looking for feedback and contributors for Dotbot 2.0 -- see Issue #35","fork":false,"url":"https://api.github.com/repos/anishathalye/dotbot","forks_url":"https://api.github.com/repos/anishathalye/dotbot/forks","keys_url":"https://api.github.com/repos/anishathalye/dotbot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anishathalye/dotbot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anishathalye/dotbot/teams","hooks_url":"https://api.github.com/repos/anishathalye/dotbot/hooks","issue_events_url":"https://api.github.com/repos/anishathalye/dotbot/issues/events{/number}","events_url":"https://api.github.com/repos/anishathalye/dotbot/events","assignees_url":"https://api.github.com/repos/anishathalye/dotbot/assignees{/user}","branches_url":"https://api.github.com/repos/anishathalye/dotbot/branches{/branch}","tags_url":"https://api.github.com/repos/anishathalye/dotbot/tags","blobs_url":"https://api.github.com/repos/anishathalye/dotbot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anishathalye/dotbot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anishathalye/dotbot/git/refs{/sha}","trees_url":"https://api.github.com/repos/anishathalye/dotbot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anishathalye/dotbot/statuses/{sha}","languages_url":"https://api.github.com/repos/anishathalye/dotbot/languages","stargazers_url":"https://api.github.com/repos/anishathalye/dotbot/stargazers","contributors_url":"https://api.github.com/repos/anishathalye/dotbot/contributors","subscribers_url":"https://api.github.com/repos/anishathalye/dotbot/subscribers","subscription_url":"https://api.github.com/repos/anishathalye/dotbot/subscription","commits_url":"https://api.github.com/repos/anishathalye/dotbot/commits{/sha}","git_commits_url":"https://api.github.com/repos/anishathalye/dotbot/git/commits{/sha}","comments_url":"https://api.github.com/repos/anishathalye/dotbot/comments{/number}","issue_comment_url":"https://api.github.com/repos/anishathalye/dotbot/issues/comments{/number}","contents_url":"https://api.github.com/repos/anishathalye/dotbot/contents/{+path}","compare_url":"https://api.github.com/repos/anishathalye/dotbot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anishathalye/dotbot/merges","archive_url":"https://api.github.com/repos/anishathalye/dotbot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anishathalye/dotbot/downloads","issues_url":"https://api.github.com/repos/anishathalye/dotbot/issues{/number}","pulls_url":"https://api.github.com/repos/anishathalye/dotbot/pulls{/number}","milestones_url":"https://api.github.com/repos/anishathalye/dotbot/milestones{/number}","notifications_url":"https://api.github.com/repos/anishathalye/dotbot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anishathalye/dotbot/labels{/name}","releases_url":"https://api.github.com/repos/anishathalye/dotbot/releases{/id}","deployments_url":"https://api.github.com/repos/anishathalye/dotbot/deployments","created_at":"2014-03-20T21:43:58Z","updated_at":"2016-04-05T23:09:04Z","pushed_at":"2016-04-06T01:19:59Z","git_url":"git://github.com/anishathalye/dotbot.git","ssh_url":"git@github.com:anishathalye/dotbot.git","clone_url":"https://github.com/anishathalye/dotbot.git","svn_url":"https://github.com/anishathalye/dotbot","homepage":"https://git.io/dotbot","size":159,"stargazers_count":585,"watchers_count":585,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":42,"mirror_url":null,"open_issues_count":10,"forks":42,"open_issues":10,"watchers":585,"default_branch":"master"}},"base":{"label":"anishathalye:master","ref":"master","sha":"3d9b3ae2a8bf97ba6ad7c9ae7d8fd4be9f66f597","user":{"login":"anishathalye","id":3526486,"avatar_url":"https://avatars.githubusercontent.com/u/3526486?v=3","gravatar_id":"","url":"https://api.github.com/users/anishathalye","html_url":"https://github.com/anishathalye","followers_url":"https://api.github.com/users/anishathalye/followers","following_url":"https://api.github.com/users/anishathalye/following{/other_user}","gists_url":"https://api.github.com/users/anishathalye/gists{/gist_id}","starred_url":"https://api.github.com/users/anishathalye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anishathalye/subscriptions","organizations_url":"https://api.github.com/users/anishathalye/orgs","repos_url":"https://api.github.com/users/anishathalye/repos","events_url":"https://api.github.com/users/anishathalye/events{/privacy}","received_events_url":"https://api.github.com/users/anishathalye/received_events","type":"User","site_admin":false},"repo":{"id":17959555,"name":"dotbot","full_name":"anishathalye/dotbot","owner":{"login":"anishathalye","id":3526486,"avatar_url":"https://avatars.githubusercontent.com/u/3526486?v=3","gravatar_id":"","url":"https://api.github.com/users/anishathalye","html_url":"https://github.com/anishathalye","followers_url":"https://api.github.com/users/anishathalye/followers","following_url":"https://api.github.com/users/anishathalye/following{/other_user}","gists_url":"https://api.github.com/users/anishathalye/gists{/gist_id}","starred_url":"https://api.github.com/users/anishathalye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anishathalye/subscriptions","organizations_url":"https://api.github.com/users/anishathalye/orgs","repos_url":"https://api.github.com/users/anishathalye/repos","events_url":"https://api.github.com/users/anishathalye/events{/privacy}","received_events_url":"https://api.github.com/users/anishathalye/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anishathalye/dotbot","description":"A tool that bootstraps your dotfiles • Looking for feedback and contributors for Dotbot 2.0 -- see Issue #35","fork":false,"url":"https://api.github.com/repos/anishathalye/dotbot","forks_url":"https://api.github.com/repos/anishathalye/dotbot/forks","keys_url":"https://api.github.com/repos/anishathalye/dotbot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anishathalye/dotbot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anishathalye/dotbot/teams","hooks_url":"https://api.github.com/repos/anishathalye/dotbot/hooks","issue_events_url":"https://api.github.com/repos/anishathalye/dotbot/issues/events{/number}","events_url":"https://api.github.com/repos/anishathalye/dotbot/events","assignees_url":"https://api.github.com/repos/anishathalye/dotbot/assignees{/user}","branches_url":"https://api.github.com/repos/anishathalye/dotbot/branches{/branch}","tags_url":"https://api.github.com/repos/anishathalye/dotbot/tags","blobs_url":"https://api.github.com/repos/anishathalye/dotbot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anishathalye/dotbot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anishathalye/dotbot/git/refs{/sha}","trees_url":"https://api.github.com/repos/anishathalye/dotbot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anishathalye/dotbot/statuses/{sha}","languages_url":"https://api.github.com/repos/anishathalye/dotbot/languages","stargazers_url":"https://api.github.com/repos/anishathalye/dotbot/stargazers","contributors_url":"https://api.github.com/repos/anishathalye/dotbot/contributors","subscribers_url":"https://api.github.com/repos/anishathalye/dotbot/subscribers","subscription_url":"https://api.github.com/repos/anishathalye/dotbot/subscription","commits_url":"https://api.github.com/repos/anishathalye/dotbot/commits{/sha}","git_commits_url":"https://api.github.com/repos/anishathalye/dotbot/git/commits{/sha}","comments_url":"https://api.github.com/repos/anishathalye/dotbot/comments{/number}","issue_comment_url":"https://api.github.com/repos/anishathalye/dotbot/issues/comments{/number}","contents_url":"https://api.github.com/repos/anishathalye/dotbot/contents/{+path}","compare_url":"https://api.github.com/repos/anishathalye/dotbot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anishathalye/dotbot/merges","archive_url":"https://api.github.com/repos/anishathalye/dotbot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anishathalye/dotbot/downloads","issues_url":"https://api.github.com/repos/anishathalye/dotbot/issues{/number}","pulls_url":"https://api.github.com/repos/anishathalye/dotbot/pulls{/number}","milestones_url":"https://api.github.com/repos/anishathalye/dotbot/milestones{/number}","notifications_url":"https://api.github.com/repos/anishathalye/dotbot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anishathalye/dotbot/labels{/name}","releases_url":"https://api.github.com/repos/anishathalye/dotbot/releases{/id}","deployments_url":"https://api.github.com/repos/anishathalye/dotbot/deployments","created_at":"2014-03-20T21:43:58Z","updated_at":"2016-04-05T23:09:04Z","pushed_at":"2016-04-06T01:19:59Z","git_url":"git://github.com/anishathalye/dotbot.git","ssh_url":"git@github.com:anishathalye/dotbot.git","clone_url":"https://github.com/anishathalye/dotbot.git","svn_url":"https://github.com/anishathalye/dotbot","homepage":"https://git.io/dotbot","size":159,"stargazers_count":585,"watchers_count":585,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":42,"mirror_url":null,"open_issues_count":10,"forks":42,"open_issues":10,"watchers":585,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/anishathalye/dotbot/pulls/86"},"html":{"href":"https://github.com/anishathalye/dotbot/pull/86"},"issue":{"href":"https://api.github.com/repos/anishathalye/dotbot/issues/86"},"comments":{"href":"https://api.github.com/repos/anishathalye/dotbot/issues/86/comments"},"review_comments":{"href":"https://api.github.com/repos/anishathalye/dotbot/pulls/86/comments"},"review_comment":{"href":"https://api.github.com/repos/anishathalye/dotbot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/anishathalye/dotbot/pulls/86/commits"},"statuses":{"href":"https://api.github.com/repos/anishathalye/dotbot/statuses/3d9b3ae2a8bf97ba6ad7c9ae7d8fd4be9f66f597"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":1,"review_comments":0,"commits":0,"additions":0,"deletions":0,"changed_files":0}}