{"action":"created","comment":{"url":"https://api.github.com/repos/hpcugent/easybuild-framework/pulls/comments/57693407","id":57693407,"diff_hunk":"@@ -258,7 +258,7 @@ def override_options(self):\n                                             None, 'store_true', False),\n             'cleanup-builddir': (\"Cleanup build dir after successful installation.\", None, 'store_true', True),\n             'cleanup-tmpdir': (\"Cleanup tmp dir after successful run.\", None, 'store_true', True),\n-            'color': (\"Allow color output\", None, 'store_true', True),\n+            'color': (\"Colorize output\", 'choice', 'store', 'auto', ['auto', 'always', 'never'], {'metavar':'WHEN'}),","path":"easybuild/tools/options.py","position":5,"original_position":5,"commit_id":"d9f6a391cae75412b842873b7022da9c47ba24f4","original_commit_id":"d9f6a391cae75412b842873b7022da9c47ba24f4","user":{"login":"riccardomurri","id":447228,"avatar_url":"https://avatars.githubusercontent.com/u/447228?v=3","gravatar_id":"","url":"https://api.github.com/users/riccardomurri","html_url":"https://github.com/riccardomurri","followers_url":"https://api.github.com/users/riccardomurri/followers","following_url":"https://api.github.com/users/riccardomurri/following{/other_user}","gists_url":"https://api.github.com/users/riccardomurri/gists{/gist_id}","starred_url":"https://api.github.com/users/riccardomurri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riccardomurri/subscriptions","organizations_url":"https://api.github.com/users/riccardomurri/orgs","repos_url":"https://api.github.com/users/riccardomurri/repos","events_url":"https://api.github.com/users/riccardomurri/events{/privacy}","received_events_url":"https://api.github.com/users/riccardomurri/received_events","type":"User","site_admin":false},"body":"(Kenneth Hoste, Fri, Mar 25, 2016 at 03:44:00PM -0700:)\n> > @@ -258,7 +258,7 @@ def override_options(self):\n> >                                              None, 'store_true', False),\n> >              'cleanup-builddir': (\"Cleanup build dir after successful installation.\", None, 'store_true', True),\n> >              'cleanup-tmpdir': (\"Cleanup tmp dir after successful run.\", None, 'store_true', True),\n> > -            'color': (\"Allow color output\", None, 'store_true', True),\n> > +            'color': (\"Colorize output\", 'choice', 'store', 'auto', ['auto', 'always', 'never'], {'metavar':'WHEN'}),\n>\n> since enabling this requires having `humanfriendly` installed,\n\nNo it doesn't -- if you don't have the required packages, it will\nsilently fall back to \"no colorization\".\n\n> also, changing this may break people's configuration files, since they\n> may specify `False` or `True` now, so we'll need to be careful with\n> changing this to string, and at least translate `False` to `never` and\n> `True` to `auto`\n\nGood point, but how to I do that with vsc's option parsing framework?\n","created_at":"2016-03-29T09:17:10Z","updated_at":"2016-03-29T09:17:10Z","html_url":"https://github.com/hpcugent/easybuild-framework/pull/1701#discussion_r57693407","pull_request_url":"https://api.github.com/repos/hpcugent/easybuild-framework/pulls/1701","_links":{"self":{"href":"https://api.github.com/repos/hpcugent/easybuild-framework/pulls/comments/57693407"},"html":{"href":"https://github.com/hpcugent/easybuild-framework/pull/1701#discussion_r57693407"},"pull_request":{"href":"https://api.github.com/repos/hpcugent/easybuild-framework/pulls/1701"}}},"pull_request":{"url":"https://api.github.com/repos/hpcugent/easybuild-framework/pulls/1701","id":64172544,"html_url":"https://github.com/hpcugent/easybuild-framework/pull/1701","diff_url":"https://github.com/hpcugent/easybuild-framework/pull/1701.diff","patch_url":"https://github.com/hpcugent/easybuild-framework/pull/1701.patch","issue_url":"https://api.github.com/repos/hpcugent/easybuild-framework/issues/1701","number":1701,"state":"open","locked":false,"title":"Change option `--color` choices to auto/always/never","user":{"login":"riccardomurri","id":447228,"avatar_url":"https://avatars.githubusercontent.com/u/447228?v=3","gravatar_id":"","url":"https://api.github.com/users/riccardomurri","html_url":"https://github.com/riccardomurri","followers_url":"https://api.github.com/users/riccardomurri/followers","following_url":"https://api.github.com/users/riccardomurri/following{/other_user}","gists_url":"https://api.github.com/users/riccardomurri/gists{/gist_id}","starred_url":"https://api.github.com/users/riccardomurri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riccardomurri/subscriptions","organizations_url":"https://api.github.com/users/riccardomurri/orgs","repos_url":"https://api.github.com/users/riccardomurri/repos","events_url":"https://api.github.com/users/riccardomurri/events{/privacy}","received_events_url":"https://api.github.com/users/riccardomurri/received_events","type":"User","site_admin":false},"body":"The option values are as in `ls --color` and `grep --color`,\r\nexcept that \"auto\" is the default which colorizes logs and output\r\nwhenever EB's STDOUT is connected to a terminal.\r\n\r\n**Note that this requires PR #225 in vsc-base to be merged!**\r\n(Otherwise `fancylogger.logToScreen()` does not have a `color` parameter.)","created_at":"2016-03-25T15:21:47Z","updated_at":"2016-03-29T09:17:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9a09c6e460c4c77867e99eb4c2896bcd442ad403","assignee":null,"milestone":{"url":"https://api.github.com/repos/hpcugent/easybuild-framework/milestones/36","html_url":"https://github.com/hpcugent/easybuild-framework/milestones/v2.8.0","labels_url":"https://api.github.com/repos/hpcugent/easybuild-framework/milestones/36/labels","id":1612135,"number":36,"title":"v2.8.0","description":"","creator":{"login":"boegel","id":620876,"avatar_url":"https://avatars.githubusercontent.com/u/620876?v=3","gravatar_id":"","url":"https://api.github.com/users/boegel","html_url":"https://github.com/boegel","followers_url":"https://api.github.com/users/boegel/followers","following_url":"https://api.github.com/users/boegel/following{/other_user}","gists_url":"https://api.github.com/users/boegel/gists{/gist_id}","starred_url":"https://api.github.com/users/boegel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boegel/subscriptions","organizations_url":"https://api.github.com/users/boegel/orgs","repos_url":"https://api.github.com/users/boegel/repos","events_url":"https://api.github.com/users/boegel/events{/privacy}","received_events_url":"https://api.github.com/users/boegel/received_events","type":"User","site_admin":false},"open_issues":56,"closed_issues":9,"state":"open","created_at":"2016-02-29T15:00:32Z","updated_at":"2016-03-28T17:56:55Z","due_on":"2016-04-26T22:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/hpcugent/easybuild-framework/pulls/1701/commits","review_comments_url":"https://api.github.com/repos/hpcugent/easybuild-framework/pulls/1701/comments","review_comment_url":"https://api.github.com/repos/hpcugent/easybuild-framework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hpcugent/easybuild-framework/issues/1701/comments","statuses_url":"https://api.github.com/repos/hpcugent/easybuild-framework/statuses/d9f6a391cae75412b842873b7022da9c47ba24f4","head":{"label":"riccardomurri:coloredlogs","ref":"coloredlogs","sha":"d9f6a391cae75412b842873b7022da9c47ba24f4","user":{"login":"riccardomurri","id":447228,"avatar_url":"https://avatars.githubusercontent.com/u/447228?v=3","gravatar_id":"","url":"https://api.github.com/users/riccardomurri","html_url":"https://github.com/riccardomurri","followers_url":"https://api.github.com/users/riccardomurri/followers","following_url":"https://api.github.com/users/riccardomurri/following{/other_user}","gists_url":"https://api.github.com/users/riccardomurri/gists{/gist_id}","starred_url":"https://api.github.com/users/riccardomurri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riccardomurri/subscriptions","organizations_url":"https://api.github.com/users/riccardomurri/orgs","repos_url":"https://api.github.com/users/riccardomurri/repos","events_url":"https://api.github.com/users/riccardomurri/events{/privacy}","received_events_url":"https://api.github.com/users/riccardomurri/received_events","type":"User","site_admin":false},"repo":{"id":22921440,"name":"easybuild-framework","full_name":"riccardomurri/easybuild-framework","owner":{"login":"riccardomurri","id":447228,"avatar_url":"https://avatars.githubusercontent.com/u/447228?v=3","gravatar_id":"","url":"https://api.github.com/users/riccardomurri","html_url":"https://github.com/riccardomurri","followers_url":"https://api.github.com/users/riccardomurri/followers","following_url":"https://api.github.com/users/riccardomurri/following{/other_user}","gists_url":"https://api.github.com/users/riccardomurri/gists{/gist_id}","starred_url":"https://api.github.com/users/riccardomurri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riccardomurri/subscriptions","organizations_url":"https://api.github.com/users/riccardomurri/orgs","repos_url":"https://api.github.com/users/riccardomurri/repos","events_url":"https://api.github.com/users/riccardomurri/events{/privacy}","received_events_url":"https://api.github.com/users/riccardomurri/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/riccardomurri/easybuild-framework","description":"EasyBuild is a software installation framework in Python that allows you to install software in a structured and robust way. ","fork":true,"url":"https://api.github.com/repos/riccardomurri/easybuild-framework","forks_url":"https://api.github.com/repos/riccardomurri/easybuild-framework/forks","keys_url":"https://api.github.com/repos/riccardomurri/easybuild-framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/riccardomurri/easybuild-framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/riccardomurri/easybuild-framework/teams","hooks_url":"https://api.github.com/repos/riccardomurri/easybuild-framework/hooks","issue_events_url":"https://api.github.com/repos/riccardomurri/easybuild-framework/issues/events{/number}","events_url":"https://api.github.com/repos/riccardomurri/easybuild-framework/events","assignees_url":"https://api.github.com/repos/riccardomurri/easybuild-framework/assignees{/user}","branches_url":"https://api.github.com/repos/riccardomurri/easybuild-framework/branches{/branch}","tags_url":"https://api.github.com/repos/riccardomurri/easybuild-framework/tags","blobs_url":"https://api.github.com/repos/riccardomurri/easybuild-framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/riccardomurri/easybuild-framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/riccardomurri/easybuild-framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/riccardomurri/easybuild-framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/riccardomurri/easybuild-framework/statuses/{sha}","languages_url":"https://api.github.com/repos/riccardomurri/easybuild-framework/languages","stargazers_url":"https://api.github.com/repos/riccardomurri/easybuild-framework/stargazers","contributors_url":"https://api.github.com/repos/riccardomurri/easybuild-framework/contributors","subscribers_url":"https://api.github.com/repos/riccardomurri/easybuild-framework/subscribers","subscription_url":"https://api.github.com/repos/riccardomurri/easybuild-framework/subscription","commits_url":"https://api.github.com/repos/riccardomurri/easybuild-framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/riccardomurri/easybuild-framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/riccardomurri/easybuild-framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/riccardomurri/easybuild-framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/riccardomurri/easybuild-framework/contents/{+path}","compare_url":"https://api.github.com/repos/riccardomurri/easybuild-framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/riccardomurri/easybuild-framework/merges","archive_url":"https://api.github.com/repos/riccardomurri/easybuild-framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/riccardomurri/easybuild-framework/downloads","issues_url":"https://api.github.com/repos/riccardomurri/easybuild-framework/issues{/number}","pulls_url":"https://api.github.com/repos/riccardomurri/easybuild-framework/pulls{/number}","milestones_url":"https://api.github.com/repos/riccardomurri/easybuild-framework/milestones{/number}","notifications_url":"https://api.github.com/repos/riccardomurri/easybuild-framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/riccardomurri/easybuild-framework/labels{/name}","releases_url":"https://api.github.com/repos/riccardomurri/easybuild-framework/releases{/id}","deployments_url":"https://api.github.com/repos/riccardomurri/easybuild-framework/deployments","created_at":"2014-08-13T15:51:46Z","updated_at":"2016-03-24T10:36:18Z","pushed_at":"2016-03-25T20:56:12Z","git_url":"git://github.com/riccardomurri/easybuild-framework.git","ssh_url":"git@github.com:riccardomurri/easybuild-framework.git","clone_url":"https://github.com/riccardomurri/easybuild-framework.git","svn_url":"https://github.com/riccardomurri/easybuild-framework","homepage":"http://hpcugent.github.com/easybuild/","size":12927,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hpcugent:develop","ref":"develop","sha":"f89e3dee8c6cda49842ce4d6a273fc852a297993","user":{"login":"hpcugent","id":1515263,"avatar_url":"https://avatars.githubusercontent.com/u/1515263?v=3","gravatar_id":"","url":"https://api.github.com/users/hpcugent","html_url":"https://github.com/hpcugent","followers_url":"https://api.github.com/users/hpcugent/followers","following_url":"https://api.github.com/users/hpcugent/following{/other_user}","gists_url":"https://api.github.com/users/hpcugent/gists{/gist_id}","starred_url":"https://api.github.com/users/hpcugent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hpcugent/subscriptions","organizations_url":"https://api.github.com/users/hpcugent/orgs","repos_url":"https://api.github.com/users/hpcugent/repos","events_url":"https://api.github.com/users/hpcugent/events{/privacy}","received_events_url":"https://api.github.com/users/hpcugent/received_events","type":"Organization","site_admin":false},"repo":{"id":3662176,"name":"easybuild-framework","full_name":"hpcugent/easybuild-framework","owner":{"login":"hpcugent","id":1515263,"avatar_url":"https://avatars.githubusercontent.com/u/1515263?v=3","gravatar_id":"","url":"https://api.github.com/users/hpcugent","html_url":"https://github.com/hpcugent","followers_url":"https://api.github.com/users/hpcugent/followers","following_url":"https://api.github.com/users/hpcugent/following{/other_user}","gists_url":"https://api.github.com/users/hpcugent/gists{/gist_id}","starred_url":"https://api.github.com/users/hpcugent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hpcugent/subscriptions","organizations_url":"https://api.github.com/users/hpcugent/orgs","repos_url":"https://api.github.com/users/hpcugent/repos","events_url":"https://api.github.com/users/hpcugent/events{/privacy}","received_events_url":"https://api.github.com/users/hpcugent/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hpcugent/easybuild-framework","description":"EasyBuild is a software installation framework in Python that allows you to install software in a structured and robust way. ","fork":false,"url":"https://api.github.com/repos/hpcugent/easybuild-framework","forks_url":"https://api.github.com/repos/hpcugent/easybuild-framework/forks","keys_url":"https://api.github.com/repos/hpcugent/easybuild-framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hpcugent/easybuild-framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hpcugent/easybuild-framework/teams","hooks_url":"https://api.github.com/repos/hpcugent/easybuild-framework/hooks","issue_events_url":"https://api.github.com/repos/hpcugent/easybuild-framework/issues/events{/number}","events_url":"https://api.github.com/repos/hpcugent/easybuild-framework/events","assignees_url":"https://api.github.com/repos/hpcugent/easybuild-framework/assignees{/user}","branches_url":"https://api.github.com/repos/hpcugent/easybuild-framework/branches{/branch}","tags_url":"https://api.github.com/repos/hpcugent/easybuild-framework/tags","blobs_url":"https://api.github.com/repos/hpcugent/easybuild-framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hpcugent/easybuild-framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hpcugent/easybuild-framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/hpcugent/easybuild-framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hpcugent/easybuild-framework/statuses/{sha}","languages_url":"https://api.github.com/repos/hpcugent/easybuild-framework/languages","stargazers_url":"https://api.github.com/repos/hpcugent/easybuild-framework/stargazers","contributors_url":"https://api.github.com/repos/hpcugent/easybuild-framework/contributors","subscribers_url":"https://api.github.com/repos/hpcugent/easybuild-framework/subscribers","subscription_url":"https://api.github.com/repos/hpcugent/easybuild-framework/subscription","commits_url":"https://api.github.com/repos/hpcugent/easybuild-framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/hpcugent/easybuild-framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/hpcugent/easybuild-framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/hpcugent/easybuild-framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/hpcugent/easybuild-framework/contents/{+path}","compare_url":"https://api.github.com/repos/hpcugent/easybuild-framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hpcugent/easybuild-framework/merges","archive_url":"https://api.github.com/repos/hpcugent/easybuild-framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hpcugent/easybuild-framework/downloads","issues_url":"https://api.github.com/repos/hpcugent/easybuild-framework/issues{/number}","pulls_url":"https://api.github.com/repos/hpcugent/easybuild-framework/pulls{/number}","milestones_url":"https://api.github.com/repos/hpcugent/easybuild-framework/milestones{/number}","notifications_url":"https://api.github.com/repos/hpcugent/easybuild-framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hpcugent/easybuild-framework/labels{/name}","releases_url":"https://api.github.com/repos/hpcugent/easybuild-framework/releases{/id}","deployments_url":"https://api.github.com/repos/hpcugent/easybuild-framework/deployments","created_at":"2012-03-08T17:07:43Z","updated_at":"2016-03-24T09:46:23Z","pushed_at":"2016-03-28T14:56:06Z","git_url":"git://github.com/hpcugent/easybuild-framework.git","ssh_url":"git@github.com:hpcugent/easybuild-framework.git","clone_url":"https://github.com/hpcugent/easybuild-framework.git","svn_url":"https://github.com/hpcugent/easybuild-framework","homepage":"http://hpcugent.github.com/easybuild/","size":14097,"stargazers_count":54,"watchers_count":54,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":88,"mirror_url":null,"open_issues_count":321,"forks":88,"open_issues":321,"watchers":54,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hpcugent/easybuild-framework/pulls/1701"},"html":{"href":"https://github.com/hpcugent/easybuild-framework/pull/1701"},"issue":{"href":"https://api.github.com/repos/hpcugent/easybuild-framework/issues/1701"},"comments":{"href":"https://api.github.com/repos/hpcugent/easybuild-framework/issues/1701/comments"},"review_comments":{"href":"https://api.github.com/repos/hpcugent/easybuild-framework/pulls/1701/comments"},"review_comment":{"href":"https://api.github.com/repos/hpcugent/easybuild-framework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hpcugent/easybuild-framework/pulls/1701/commits"},"statuses":{"href":"https://api.github.com/repos/hpcugent/easybuild-framework/statuses/d9f6a391cae75412b842873b7022da9c47ba24f4"}}}}