{"action":"created","issue":{"url":"https://api.github.com/repos/docker/compose/issues/1954","labels_url":"https://api.github.com/repos/docker/compose/issues/1954/labels{/name}","comments_url":"https://api.github.com/repos/docker/compose/issues/1954/comments","events_url":"https://api.github.com/repos/docker/compose/issues/1954/events","html_url":"https://github.com/docker/compose/pull/1954","id":104329732,"number":1954,"title":"Allow for user relative paths on EXTEND","user":{"login":"nhumrich","id":4661889,"avatar_url":"https://avatars.githubusercontent.com/u/4661889?v=3","gravatar_id":"","url":"https://api.github.com/users/nhumrich","html_url":"https://github.com/nhumrich","followers_url":"https://api.github.com/users/nhumrich/followers","following_url":"https://api.github.com/users/nhumrich/following{/other_user}","gists_url":"https://api.github.com/users/nhumrich/gists{/gist_id}","starred_url":"https://api.github.com/users/nhumrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhumrich/subscriptions","organizations_url":"https://api.github.com/users/nhumrich/orgs","repos_url":"https://api.github.com/users/nhumrich/repos","events_url":"https://api.github.com/users/nhumrich/events{/privacy}","received_events_url":"https://api.github.com/users/nhumrich/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/compose/labels/area/config","name":"area/config","color":"c7def8"},{"url":"https://api.github.com/repos/docker/compose/labels/status/0-triage","name":"status/0-triage","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-01T18:43:32Z","updated_at":"2015-09-04T11:15:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/compose/pulls/1954","html_url":"https://github.com/docker/compose/pull/1954","diff_url":"https://github.com/docker/compose/pull/1954.diff","patch_url":"https://github.com/docker/compose/pull/1954.patch"},"body":"Previously, user paths `~/somepath` did not resolve correctly.\r\n\r\nFor example:\r\n\r\n    web:\r\n      extends:\r\n        file: ~/some/path.yml\r\n        service: web\r\n\r\nThe `~/` currently doesnt work, you get the following error:\r\n\r\n    [Errno 2] No such file or directory: u'/home/USER/folder/~/some/path/.yml'\r\n\r\nThis fixes that issue."},"comment":{"url":"https://api.github.com/repos/docker/compose/issues/comments/137708958","html_url":"https://github.com/docker/compose/pull/1954#issuecomment-137708958","issue_url":"https://api.github.com/repos/docker/compose/issues/1954","id":137708958,"user":{"login":"mnowster","id":557287,"avatar_url":"https://avatars.githubusercontent.com/u/557287?v=3","gravatar_id":"","url":"https://api.github.com/users/mnowster","html_url":"https://github.com/mnowster","followers_url":"https://api.github.com/users/mnowster/followers","following_url":"https://api.github.com/users/mnowster/following{/other_user}","gists_url":"https://api.github.com/users/mnowster/gists{/gist_id}","starred_url":"https://api.github.com/users/mnowster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnowster/subscriptions","organizations_url":"https://api.github.com/users/mnowster/orgs","repos_url":"https://api.github.com/users/mnowster/repos","events_url":"https://api.github.com/users/mnowster/events{/privacy}","received_events_url":"https://api.github.com/users/mnowster/received_events","type":"User","site_admin":false},"created_at":"2015-09-04T11:15:01Z","updated_at":"2015-09-04T11:15:01Z","body":"`expand_path` is used by a few other functions as well as `extends`, like `resolve_build_path` and `resolve_volume_path` for example. Are there any potential concerns about allowing userpaths to be expanded in those situations as well? I can't think of any but thought it was worth raising @dnephin @aanand \r\n\r\nThe approach and test is LGTM from me."}}