{"action":"created","issue":{"url":"https://api.github.com/repos/chevah/python-package/issues/28","labels_url":"https://api.github.com/repos/chevah/python-package/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/chevah/python-package/issues/28/comments","events_url":"https://api.github.com/repos/chevah/python-package/issues/28/events","html_url":"https://github.com/chevah/python-package/pull/28","id":59941767,"number":28,"title":"[#2728] Improved console messages.","user":{"login":"dumol","id":1620933,"avatar_url":"https://avatars.githubusercontent.com/u/1620933?v=3","gravatar_id":"","url":"https://api.github.com/users/dumol","html_url":"https://github.com/dumol","followers_url":"https://api.github.com/users/dumol/followers","following_url":"https://api.github.com/users/dumol/following{/other_user}","gists_url":"https://api.github.com/users/dumol/gists{/gist_id}","starred_url":"https://api.github.com/users/dumol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dumol/subscriptions","organizations_url":"https://api.github.com/users/dumol/orgs","repos_url":"https://api.github.com/users/dumol/repos","events_url":"https://api.github.com/users/dumol/events{/privacy}","received_events_url":"https://api.github.com/users/dumol/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-05T11:54:26Z","updated_at":"2015-03-05T11:58:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/chevah/python-package/pulls/28","html_url":"https://github.com/chevah/python-package/pull/28","diff_url":"https://github.com/chevah/python-package/pull/28.diff","patch_url":"https://github.com/chevah/python-package/pull/28.patch"},"body":"Problem?\r\n-----------\r\nIn AIX, Solaris, HP-UX and generic Linux we don't install any packages, but we still output this:\r\n```\r\n$ ./chevah_build build\r\nInstalling required packages...\r\n```\r\nWhich may be followed by a long wait for removing the `build` sub-directory if there is one, without any console message. Which has the potential to freak any admin running this as a user with unrestricted `sudo` powers.\r\n\r\nSolution?\r\n------------\r\nOnly inform the user of installing packages when actually installing packages. Do it a slightly more detailed way showing what is going to be installed and how.\r\n\r\n**Drive-by fix**:\r\n  * inform the user when removing previous build sub-directory. Sometimes this takes some time and there is no feedback for the user, eg. in our AIX WPARs.\r\n\r\nHow to check?\r\n-----------------\r\nPlease review changes.\r\nRun `./chevah_build build` on platforms when there are no packages to be installed, eg. AIX and generic Linux and also on platforms where there is something to install, eg. RHEL4 and Ubuntu 12.04\r\nRun the tests.\r\n\r\nreviewer: @adiroiban "},"comment":{"url":"https://api.github.com/repos/chevah/python-package/issues/comments/77352119","html_url":"https://github.com/chevah/python-package/pull/28#issuecomment-77352119","issue_url":"https://api.github.com/repos/chevah/python-package/issues/28","id":77352119,"user":{"login":"adiroiban","id":204609,"avatar_url":"https://avatars.githubusercontent.com/u/204609?v=3","gravatar_id":"","url":"https://api.github.com/users/adiroiban","html_url":"https://github.com/adiroiban","followers_url":"https://api.github.com/users/adiroiban/followers","following_url":"https://api.github.com/users/adiroiban/following{/other_user}","gists_url":"https://api.github.com/users/adiroiban/gists{/gist_id}","starred_url":"https://api.github.com/users/adiroiban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adiroiban/subscriptions","organizations_url":"https://api.github.com/users/adiroiban/orgs","repos_url":"https://api.github.com/users/adiroiban/repos","events_url":"https://api.github.com/users/adiroiban/events{/privacy}","received_events_url":"https://api.github.com/users/adiroiban/received_events","type":"User","site_admin":false},"created_at":"2015-03-05T11:58:25Z","updated_at":"2015-03-05T11:58:25Z","body":"looks good. thanks. changes-approved"}}