{"action":"closed","number":7623,"pull_request":{"url":"https://api.github.com/repos/mitchellh/vagrant/pulls/7623","id":78476761,"html_url":"https://github.com/mitchellh/vagrant/pull/7623","diff_url":"https://github.com/mitchellh/vagrant/pull/7623.diff","patch_url":"https://github.com/mitchellh/vagrant/pull/7623.patch","issue_url":"https://api.github.com/repos/mitchellh/vagrant/issues/7623","number":7623,"state":"closed","locked":false,"title":"Support Vagrantfile-relative VAGRANT_DOTFILE_PATHs","user":{"login":"carlosefr","id":937276,"avatar_url":"https://avatars.githubusercontent.com/u/937276?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosefr","html_url":"https://github.com/carlosefr","followers_url":"https://api.github.com/users/carlosefr/followers","following_url":"https://api.github.com/users/carlosefr/following{/other_user}","gists_url":"https://api.github.com/users/carlosefr/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosefr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosefr/subscriptions","organizations_url":"https://api.github.com/users/carlosefr/orgs","repos_url":"https://api.github.com/users/carlosefr/repos","events_url":"https://api.github.com/users/carlosefr/events{/privacy}","received_events_url":"https://api.github.com/users/carlosefr/received_events","type":"User","site_admin":false},"body":"These changes allow the VAGRANT_DOTFILE_PATH variable to contain paths relative to the Vagrantfile's location. This allows setting this variable globally in a `.bashrc` to avoid conflicts in Dropbox-shared directories while still allowing Vagrant commands to be issued from any project subdirectory.\r\n\r\nThis seems to be a common request and sidesteps the usual hack of setting the variable at the top of the Vagrantfile and reinvoke itself.\r\n\r\nA placeholder `{}` at the start of the path is replaced by the path to the Vagrantfile. I'm personally using this to have non-conflicting `.vagrant` directories like so:\r\n```\r\nexport VAGRANT_DOTFILE_PATH=\"{}/.vagrant-${USER}@${HOSTNAME}\"\r\n```","created_at":"2016-07-22T13:27:22Z","updated_at":"2016-08-12T23:17:10Z","closed_at":"2016-08-12T23:17:10Z","merged_at":"2016-08-12T23:17:10Z","merge_commit_sha":"3abfbec5a62b4412636cbd5c1aabf6296e2f771c","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/mitchellh/vagrant/milestones/18","html_url":"https://github.com/mitchellh/vagrant/milestones/1.8.6","labels_url":"https://api.github.com/repos/mitchellh/vagrant/milestones/18/labels","id":1891230,"number":18,"title":"1.8.6","description":"","creator":{"login":"sethvargo","id":408570,"avatar_url":"https://avatars.githubusercontent.com/u/408570?v=3","gravatar_id":"","url":"https://api.github.com/users/sethvargo","html_url":"https://github.com/sethvargo","followers_url":"https://api.github.com/users/sethvargo/followers","following_url":"https://api.github.com/users/sethvargo/following{/other_user}","gists_url":"https://api.github.com/users/sethvargo/gists{/gist_id}","starred_url":"https://api.github.com/users/sethvargo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethvargo/subscriptions","organizations_url":"https://api.github.com/users/sethvargo/orgs","repos_url":"https://api.github.com/users/sethvargo/repos","events_url":"https://api.github.com/users/sethvargo/events{/privacy}","received_events_url":"https://api.github.com/users/sethvargo/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":11,"state":"open","created_at":"2016-07-19T04:38:36Z","updated_at":"2016-08-12T23:17:10Z","due_on":"2016-09-01T04:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/mitchellh/vagrant/pulls/7623/commits","review_comments_url":"https://api.github.com/repos/mitchellh/vagrant/pulls/7623/comments","review_comment_url":"https://api.github.com/repos/mitchellh/vagrant/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mitchellh/vagrant/issues/7623/comments","statuses_url":"https://api.github.com/repos/mitchellh/vagrant/statuses/22a22e8bb6101492979bb907cc4f9c09ee7db0b8","head":{"label":"carlosefr:relative-dotfile-path","ref":"relative-dotfile-path","sha":"22a22e8bb6101492979bb907cc4f9c09ee7db0b8","user":{"login":"carlosefr","id":937276,"avatar_url":"https://avatars.githubusercontent.com/u/937276?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosefr","html_url":"https://github.com/carlosefr","followers_url":"https://api.github.com/users/carlosefr/followers","following_url":"https://api.github.com/users/carlosefr/following{/other_user}","gists_url":"https://api.github.com/users/carlosefr/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosefr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosefr/subscriptions","organizations_url":"https://api.github.com/users/carlosefr/orgs","repos_url":"https://api.github.com/users/carlosefr/repos","events_url":"https://api.github.com/users/carlosefr/events{/privacy}","received_events_url":"https://api.github.com/users/carlosefr/received_events","type":"User","site_admin":false},"repo":{"id":63952860,"name":"vagrant","full_name":"carlosefr/vagrant","owner":{"login":"carlosefr","id":937276,"avatar_url":"https://avatars.githubusercontent.com/u/937276?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosefr","html_url":"https://github.com/carlosefr","followers_url":"https://api.github.com/users/carlosefr/followers","following_url":"https://api.github.com/users/carlosefr/following{/other_user}","gists_url":"https://api.github.com/users/carlosefr/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosefr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosefr/subscriptions","organizations_url":"https://api.github.com/users/carlosefr/orgs","repos_url":"https://api.github.com/users/carlosefr/repos","events_url":"https://api.github.com/users/carlosefr/events{/privacy}","received_events_url":"https://api.github.com/users/carlosefr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/carlosefr/vagrant","description":"Vagrant is a tool for building and distributing development environments.","fork":true,"url":"https://api.github.com/repos/carlosefr/vagrant","forks_url":"https://api.github.com/repos/carlosefr/vagrant/forks","keys_url":"https://api.github.com/repos/carlosefr/vagrant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/carlosefr/vagrant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/carlosefr/vagrant/teams","hooks_url":"https://api.github.com/repos/carlosefr/vagrant/hooks","issue_events_url":"https://api.github.com/repos/carlosefr/vagrant/issues/events{/number}","events_url":"https://api.github.com/repos/carlosefr/vagrant/events","assignees_url":"https://api.github.com/repos/carlosefr/vagrant/assignees{/user}","branches_url":"https://api.github.com/repos/carlosefr/vagrant/branches{/branch}","tags_url":"https://api.github.com/repos/carlosefr/vagrant/tags","blobs_url":"https://api.github.com/repos/carlosefr/vagrant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/carlosefr/vagrant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/carlosefr/vagrant/git/refs{/sha}","trees_url":"https://api.github.com/repos/carlosefr/vagrant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/carlosefr/vagrant/statuses/{sha}","languages_url":"https://api.github.com/repos/carlosefr/vagrant/languages","stargazers_url":"https://api.github.com/repos/carlosefr/vagrant/stargazers","contributors_url":"https://api.github.com/repos/carlosefr/vagrant/contributors","subscribers_url":"https://api.github.com/repos/carlosefr/vagrant/subscribers","subscription_url":"https://api.github.com/repos/carlosefr/vagrant/subscription","commits_url":"https://api.github.com/repos/carlosefr/vagrant/commits{/sha}","git_commits_url":"https://api.github.com/repos/carlosefr/vagrant/git/commits{/sha}","comments_url":"https://api.github.com/repos/carlosefr/vagrant/comments{/number}","issue_comment_url":"https://api.github.com/repos/carlosefr/vagrant/issues/comments{/number}","contents_url":"https://api.github.com/repos/carlosefr/vagrant/contents/{+path}","compare_url":"https://api.github.com/repos/carlosefr/vagrant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/carlosefr/vagrant/merges","archive_url":"https://api.github.com/repos/carlosefr/vagrant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/carlosefr/vagrant/downloads","issues_url":"https://api.github.com/repos/carlosefr/vagrant/issues{/number}","pulls_url":"https://api.github.com/repos/carlosefr/vagrant/pulls{/number}","milestones_url":"https://api.github.com/repos/carlosefr/vagrant/milestones{/number}","notifications_url":"https://api.github.com/repos/carlosefr/vagrant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/carlosefr/vagrant/labels{/name}","releases_url":"https://api.github.com/repos/carlosefr/vagrant/releases{/id}","deployments_url":"https://api.github.com/repos/carlosefr/vagrant/deployments","created_at":"2016-07-22T12:48:42Z","updated_at":"2016-07-22T12:48:46Z","pushed_at":"2016-07-28T00:18:58Z","git_url":"git://github.com/carlosefr/vagrant.git","ssh_url":"git@github.com:carlosefr/vagrant.git","clone_url":"https://github.com/carlosefr/vagrant.git","svn_url":"https://github.com/carlosefr/vagrant","homepage":"https://www.vagrantup.com","size":17845,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"mitchellh:master","ref":"master","sha":"2418cb1e6060df44453a64804c43503836d0852a","user":{"login":"mitchellh","id":1299,"avatar_url":"https://avatars.githubusercontent.com/u/1299?v=3","gravatar_id":"","url":"https://api.github.com/users/mitchellh","html_url":"https://github.com/mitchellh","followers_url":"https://api.github.com/users/mitchellh/followers","following_url":"https://api.github.com/users/mitchellh/following{/other_user}","gists_url":"https://api.github.com/users/mitchellh/gists{/gist_id}","starred_url":"https://api.github.com/users/mitchellh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitchellh/subscriptions","organizations_url":"https://api.github.com/users/mitchellh/orgs","repos_url":"https://api.github.com/users/mitchellh/repos","events_url":"https://api.github.com/users/mitchellh/events{/privacy}","received_events_url":"https://api.github.com/users/mitchellh/received_events","type":"User","site_admin":false},"repo":{"id":481872,"name":"vagrant","full_name":"mitchellh/vagrant","owner":{"login":"mitchellh","id":1299,"avatar_url":"https://avatars.githubusercontent.com/u/1299?v=3","gravatar_id":"","url":"https://api.github.com/users/mitchellh","html_url":"https://github.com/mitchellh","followers_url":"https://api.github.com/users/mitchellh/followers","following_url":"https://api.github.com/users/mitchellh/following{/other_user}","gists_url":"https://api.github.com/users/mitchellh/gists{/gist_id}","starred_url":"https://api.github.com/users/mitchellh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitchellh/subscriptions","organizations_url":"https://api.github.com/users/mitchellh/orgs","repos_url":"https://api.github.com/users/mitchellh/repos","events_url":"https://api.github.com/users/mitchellh/events{/privacy}","received_events_url":"https://api.github.com/users/mitchellh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mitchellh/vagrant","description":"Vagrant is a tool for building and distributing development environments.","fork":false,"url":"https://api.github.com/repos/mitchellh/vagrant","forks_url":"https://api.github.com/repos/mitchellh/vagrant/forks","keys_url":"https://api.github.com/repos/mitchellh/vagrant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mitchellh/vagrant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mitchellh/vagrant/teams","hooks_url":"https://api.github.com/repos/mitchellh/vagrant/hooks","issue_events_url":"https://api.github.com/repos/mitchellh/vagrant/issues/events{/number}","events_url":"https://api.github.com/repos/mitchellh/vagrant/events","assignees_url":"https://api.github.com/repos/mitchellh/vagrant/assignees{/user}","branches_url":"https://api.github.com/repos/mitchellh/vagrant/branches{/branch}","tags_url":"https://api.github.com/repos/mitchellh/vagrant/tags","blobs_url":"https://api.github.com/repos/mitchellh/vagrant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mitchellh/vagrant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mitchellh/vagrant/git/refs{/sha}","trees_url":"https://api.github.com/repos/mitchellh/vagrant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mitchellh/vagrant/statuses/{sha}","languages_url":"https://api.github.com/repos/mitchellh/vagrant/languages","stargazers_url":"https://api.github.com/repos/mitchellh/vagrant/stargazers","contributors_url":"https://api.github.com/repos/mitchellh/vagrant/contributors","subscribers_url":"https://api.github.com/repos/mitchellh/vagrant/subscribers","subscription_url":"https://api.github.com/repos/mitchellh/vagrant/subscription","commits_url":"https://api.github.com/repos/mitchellh/vagrant/commits{/sha}","git_commits_url":"https://api.github.com/repos/mitchellh/vagrant/git/commits{/sha}","comments_url":"https://api.github.com/repos/mitchellh/vagrant/comments{/number}","issue_comment_url":"https://api.github.com/repos/mitchellh/vagrant/issues/comments{/number}","contents_url":"https://api.github.com/repos/mitchellh/vagrant/contents/{+path}","compare_url":"https://api.github.com/repos/mitchellh/vagrant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mitchellh/vagrant/merges","archive_url":"https://api.github.com/repos/mitchellh/vagrant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mitchellh/vagrant/downloads","issues_url":"https://api.github.com/repos/mitchellh/vagrant/issues{/number}","pulls_url":"https://api.github.com/repos/mitchellh/vagrant/pulls{/number}","milestones_url":"https://api.github.com/repos/mitchellh/vagrant/milestones{/number}","notifications_url":"https://api.github.com/repos/mitchellh/vagrant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mitchellh/vagrant/labels{/name}","releases_url":"https://api.github.com/repos/mitchellh/vagrant/releases{/id}","deployments_url":"https://api.github.com/repos/mitchellh/vagrant/deployments","created_at":"2010-01-21T08:34:27Z","updated_at":"2016-08-12T21:53:19Z","pushed_at":"2016-08-12T23:17:10Z","git_url":"git://github.com/mitchellh/vagrant.git","ssh_url":"git@github.com:mitchellh/vagrant.git","clone_url":"https://github.com/mitchellh/vagrant.git","svn_url":"https://github.com/mitchellh/vagrant","homepage":"https://www.vagrantup.com","size":26173,"stargazers_count":12804,"watchers_count":12804,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2716,"mirror_url":null,"open_issues_count":373,"forks":2716,"open_issues":373,"watchers":12804,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mitchellh/vagrant/pulls/7623"},"html":{"href":"https://github.com/mitchellh/vagrant/pull/7623"},"issue":{"href":"https://api.github.com/repos/mitchellh/vagrant/issues/7623"},"comments":{"href":"https://api.github.com/repos/mitchellh/vagrant/issues/7623/comments"},"review_comments":{"href":"https://api.github.com/repos/mitchellh/vagrant/pulls/7623/comments"},"review_comment":{"href":"https://api.github.com/repos/mitchellh/vagrant/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mitchellh/vagrant/pulls/7623/commits"},"statuses":{"href":"https://api.github.com/repos/mitchellh/vagrant/statuses/22a22e8bb6101492979bb907cc4f9c09ee7db0b8"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"chrisroberts","id":266674,"avatar_url":"https://avatars.githubusercontent.com/u/266674?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisroberts","html_url":"https://github.com/chrisroberts","followers_url":"https://api.github.com/users/chrisroberts/followers","following_url":"https://api.github.com/users/chrisroberts/following{/other_user}","gists_url":"https://api.github.com/users/chrisroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisroberts/subscriptions","organizations_url":"https://api.github.com/users/chrisroberts/orgs","repos_url":"https://api.github.com/users/chrisroberts/repos","events_url":"https://api.github.com/users/chrisroberts/events{/privacy}","received_events_url":"https://api.github.com/users/chrisroberts/received_events","type":"User","site_admin":false},"comments":9,"review_comments":0,"commits":10,"additions":88,"deletions":4,"changed_files":2}}
{"actor":{"display_login":"chrisroberts"}}