{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/21625","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/21625/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/21625/comments","events_url":"https://api.github.com/repos/docker/docker/issues/21625/events","html_url":"https://github.com/docker/docker/pull/21625","id":144351691,"number":21625,"title":"Change the directory inside of tgz files.","user":{"login":"kencochrane","id":261601,"avatar_url":"https://avatars.githubusercontent.com/u/261601?v=3","gravatar_id":"","url":"https://api.github.com/users/kencochrane","html_url":"https://github.com/kencochrane","followers_url":"https://api.github.com/users/kencochrane/followers","following_url":"https://api.github.com/users/kencochrane/following{/other_user}","gists_url":"https://api.github.com/users/kencochrane/gists{/gist_id}","starred_url":"https://api.github.com/users/kencochrane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kencochrane/subscriptions","organizations_url":"https://api.github.com/users/kencochrane/orgs","repos_url":"https://api.github.com/users/kencochrane/repos","events_url":"https://api.github.com/users/kencochrane/events{/privacy}","received_events_url":"https://api.github.com/users/kencochrane/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/status/2-code-review","name":"status/2-code-review","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-29T18:44:12Z","updated_at":"2016-03-30T17:49:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/21625","html_url":"https://github.com/docker/docker/pull/21625","diff_url":"https://github.com/docker/docker/pull/21625.diff","patch_url":"https://github.com/docker/docker/pull/21625.patch"},"body":"**- What I did**\r\n\r\nCurrently the directory inside of the tgz files is /usr/local/bin\r\nand this is causing some confusion, and problems with people who already\r\nhave stuff in those directories. This commit changes the directory\r\nto /docker to help remove the confusion.\r\n\r\n**- How I did it**\r\n\r\nI changed the hack/make/tgz file so that the directory was /docker instead of /usr/local/bin under the tgz file.\r\n\r\n**- How to verify it**\r\n\r\nI ran it locally and the output looks correct. To do the same, run the following command.\r\n\r\n``$ hack/make.sh binary cross tgz``\r\n\r\nSigned-off-by: Ken Cochrane <kencochrane@gmail.com>\r\n\r\nCloses: #21530\r\n\r\n/cc @icecrime @thaJeztah @tiborvass "},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/203549248","html_url":"https://github.com/docker/docker/pull/21625#issuecomment-203549248","issue_url":"https://api.github.com/repos/docker/docker/issues/21625","id":203549248,"user":{"login":"mikedougherty","id":1046019,"avatar_url":"https://avatars.githubusercontent.com/u/1046019?v=3","gravatar_id":"","url":"https://api.github.com/users/mikedougherty","html_url":"https://github.com/mikedougherty","followers_url":"https://api.github.com/users/mikedougherty/followers","following_url":"https://api.github.com/users/mikedougherty/following{/other_user}","gists_url":"https://api.github.com/users/mikedougherty/gists{/gist_id}","starred_url":"https://api.github.com/users/mikedougherty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikedougherty/subscriptions","organizations_url":"https://api.github.com/users/mikedougherty/orgs","repos_url":"https://api.github.com/users/mikedougherty/repos","events_url":"https://api.github.com/users/mikedougherty/events{/privacy}","received_events_url":"https://api.github.com/users/mikedougherty/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T17:49:23Z","updated_at":"2016-03-30T17:49:23Z","body":"IMO having a directory would be better, specifically because of scattering in the working directory @thaJeztah.\r\n\r\nI've seen other tarball distributions even have the version in the directory name after unpacking. not sure how people feel about that. but if i always curl things into a particular downloads directory, and unpack them next to themselves, it would keep the distros separate from each other (especially if the files themselves don't have versions in their names)."}}