{"action":"created","issue":{"url":"https://api.github.com/repos/Almehdi/pachist/issues/4","labels_url":"https://api.github.com/repos/Almehdi/pachist/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Almehdi/pachist/issues/4/comments","events_url":"https://api.github.com/repos/Almehdi/pachist/issues/4/events","html_url":"https://github.com/Almehdi/pachist/pull/4","id":90332553,"number":4,"title":"Remove colout dependency and add --quiet flag","user":{"login":"silentboatman","id":5294234,"avatar_url":"https://avatars.githubusercontent.com/u/5294234?v=3","gravatar_id":"","url":"https://api.github.com/users/silentboatman","html_url":"https://github.com/silentboatman","followers_url":"https://api.github.com/users/silentboatman/followers","following_url":"https://api.github.com/users/silentboatman/following{/other_user}","gists_url":"https://api.github.com/users/silentboatman/gists{/gist_id}","starred_url":"https://api.github.com/users/silentboatman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silentboatman/subscriptions","organizations_url":"https://api.github.com/users/silentboatman/orgs","repos_url":"https://api.github.com/users/silentboatman/repos","events_url":"https://api.github.com/users/silentboatman/events{/privacy}","received_events_url":"https://api.github.com/users/silentboatman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-23T09:16:18Z","updated_at":"2015-06-23T12:40:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Almehdi/pachist/pulls/4","html_url":"https://github.com/Almehdi/pachist/pull/4","diff_url":"https://github.com/Almehdi/pachist/pull/4.diff","patch_url":"https://github.com/Almehdi/pachist/pull/4.patch"},"body":"This pull request will:\r\n- Move logic into the *awk* code.\r\n- Remove the *colout* dependency by using color codes instead.\r\n- Add a *--quiet* flag.\r\n\r\nThe *--quiet* flag is great to have when you for instance installed a AUR package that has a lot of dependencies (or if the dependencies in turn has a lot dependencies) and you removed the original package but not every dependensy. Or if you canceled the installation process (e.g. in *yaourt*), resulting in that some dependencies were installed but not the original package. Anyhow, you could do something like this:\r\n```\r\nyaourt -S pkgWithAlotOfDependecies\r\npachist -q 22 | pacman -R -\r\n```\r\n\r\n*pachist* also runs faster with these changes (although it's already pretty fast :). On my laptop I got the following (average) times when running ```time pachist -v 2000 > /dev/null```.\r\n\r\n*before changes:*\r\n```\r\nreal\t0m0.423s\r\nuser\t0m0.663s\r\nsys\t\t0m0.117s\r\n```\r\n*after changes:*\r\n```\r\nreal\t0m0.097s\r\nuser\t0m0.077s\r\nsys\t\t0m0.003s\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/Almehdi/pachist/issues/comments/114480851","html_url":"https://github.com/Almehdi/pachist/pull/4#issuecomment-114480851","issue_url":"https://api.github.com/repos/Almehdi/pachist/issues/4","id":114480851,"user":{"login":"Almehdi","id":837668,"avatar_url":"https://avatars.githubusercontent.com/u/837668?v=3","gravatar_id":"","url":"https://api.github.com/users/Almehdi","html_url":"https://github.com/Almehdi","followers_url":"https://api.github.com/users/Almehdi/followers","following_url":"https://api.github.com/users/Almehdi/following{/other_user}","gists_url":"https://api.github.com/users/Almehdi/gists{/gist_id}","starred_url":"https://api.github.com/users/Almehdi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Almehdi/subscriptions","organizations_url":"https://api.github.com/users/Almehdi/orgs","repos_url":"https://api.github.com/users/Almehdi/repos","events_url":"https://api.github.com/users/Almehdi/events{/privacy}","received_events_url":"https://api.github.com/users/Almehdi/received_events","type":"User","site_admin":false},"created_at":"2015-06-23T12:40:55Z","updated_at":"2015-06-23T12:40:55Z","body":"Thanks! I have been too lazy.. should probably try to figure out some more functions me too. Removing the colout dependency have been on the todo a long time so nice for you to fix it."}}