{"action":"created","issue":{"url":"https://api.github.com/repos/kerl/kerl/issues/134","repository_url":"https://api.github.com/repos/kerl/kerl","labels_url":"https://api.github.com/repos/kerl/kerl/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/kerl/kerl/issues/134/comments","events_url":"https://api.github.com/repos/kerl/kerl/issues/134/events","html_url":"https://github.com/kerl/kerl/issues/134","id":155157733,"number":134,"title":"kerl deploy does not work in 1.1.0 due to an error in (local?) installation directory check","user":{"login":"tatsuya6502","id":159403,"avatar_url":"https://avatars.githubusercontent.com/u/159403?v=3","gravatar_id":"","url":"https://api.github.com/users/tatsuya6502","html_url":"https://github.com/tatsuya6502","followers_url":"https://api.github.com/users/tatsuya6502/followers","following_url":"https://api.github.com/users/tatsuya6502/following{/other_user}","gists_url":"https://api.github.com/users/tatsuya6502/gists{/gist_id}","starred_url":"https://api.github.com/users/tatsuya6502/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tatsuya6502/subscriptions","organizations_url":"https://api.github.com/users/tatsuya6502/orgs","repos_url":"https://api.github.com/users/tatsuya6502/repos","events_url":"https://api.github.com/users/tatsuya6502/events{/privacy}","received_events_url":"https://api.github.com/users/tatsuya6502/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-05-17T01:27:44Z","updated_at":"2016-05-24T02:07:52Z","closed_at":"2016-05-22T02:18:42Z","body":"I just upgraded kerl from a very old version to the recent version (1.1.0) and I noticed `kerl deploy` command no longer works.\r\n\r\n```\r\n/home/tatsuya% kerl list installations\r\nr16b03-1_hipe /home/tatsuya/erlang/r16b03-1_hipe\r\n17.5.6.9_hipe /home/tatsuya/erlang/17.5.6.9_hipe\r\n18.3.3_hipe_ds /home/tatsuya/erlang/18.3.3_hipe_ds\r\n19.0-rc1_hipe_ds /home/tatsuya/erlang/19.0-rc1_hipe_ds\r\n\r\n/home/tatsuya% kerl deploy centos6-hibari2 /home/tatsuya/erlang/19.0-rc1_hipe_ds \r\nERROR: /home/tatsuya/erlang/19.0-rc1_hipe_ds does not appear to be an empty directory.\r\n```\r\n\r\n`deploy` command is supposed to copy an existing local installation to a remote location, and I think it is complaining the *local* installation is not empty.\r\n\r\nIt seems (though I have not verified) the following enhancement is causing the problem:\r\nhttps://github.com/kerl/kerl/commit/d7a6709aeb63345d1fc6d86e058df7fd6e33dd4c#diff-75743bad0452412b658dabebd6b439f4R768\r\n\r\n```shell\r\nis_valid_install_path()\r\n    ...\r\n\r\n    # if the install directory exists,\r\n    # do not allow installs into a directory\r\n    # that is not empty\r\n```\r\n\r\nI think `deploy` command needs to perform different check for local installation because it must exist.\r\n\r\nEDIT:\r\nMy environment:\r\n- kerl 1.1.0\r\n- Linux x86_64 (CentOS 6)\r\n"},"comment":{"url":"https://api.github.com/repos/kerl/kerl/issues/comments/221147742","html_url":"https://github.com/kerl/kerl/issues/134#issuecomment-221147742","issue_url":"https://api.github.com/repos/kerl/kerl/issues/134","id":221147742,"user":{"login":"mrallen1","id":204728,"avatar_url":"https://avatars.githubusercontent.com/u/204728?v=3","gravatar_id":"","url":"https://api.github.com/users/mrallen1","html_url":"https://github.com/mrallen1","followers_url":"https://api.github.com/users/mrallen1/followers","following_url":"https://api.github.com/users/mrallen1/following{/other_user}","gists_url":"https://api.github.com/users/mrallen1/gists{/gist_id}","starred_url":"https://api.github.com/users/mrallen1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrallen1/subscriptions","organizations_url":"https://api.github.com/users/mrallen1/orgs","repos_url":"https://api.github.com/users/mrallen1/repos","events_url":"https://api.github.com/users/mrallen1/events{/privacy}","received_events_url":"https://api.github.com/users/mrallen1/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T02:07:52Z","updated_at":"2016-05-24T02:07:52Z","body":"Thanks for the bug report. I don't use that feature myself, so I would've never known it was broken otherwise. 🍬 "}}
{"actor":{"display_login":"mrallen1"}}