{"action":"created","comment":{"url":"https://api.github.com/repos/coala/coala/pulls/comments/124238904","pull_request_review_id":46508953,"id":124238904,"diff_hunk":"@@ -76,9 +76,42 @@ to find it. We can do that with the ``-d`` (``--bear-dirs``) argument:\n     argument ``--flush-cache`` when running coala) if you run a new bear on a\n     file which has been previously analyzed (by coala).\n \n-You should now see the debug message for our sample file.\n+You should now see an output like this on your command line:\n \n-The Bear class also supports ``warn`` and ``err``.\n+::\n+\n+\t[WARNING][15:07:39] Default coafile '.coafile' not found!\n+\tHere's what you can do:\n+\t* add `--save` to generate a config file with your current options\n+\t* add `-I` to suppress any use of config files\n+\t[DEBUG][15:07:39] Platform Linux -- Python 3.5.2, coalib \n+\t0.12.0.dev20170626132008\n+\t[DEBUG][15:07:39] The file cache was successfully flushed.\n+\t[DEBUG][15:07:39] Files that will be checked:\n+\t/home/LordVoldemort/programs/coa_dir/coala-tutorial/src/main.c\n+\t[DEBUG][15:07:40] coala is run only on changed files, bears' log \n+\tmessages from previous runs may not appear. You may use the \n+\t`--flush-cache` flag to see them.\n+\t[DEBUG][15:07:40] Running bear HelloWorldBear...\n+\t[DEBUG][15:07:40] Hello World! Checking file /home/LordVoldemort/\n+\tprograms/coa_dir/coala-tutorial/src/main.c .\n+\n+\tNotice that the last ``[DEBUG]`` message is what was coded in\n+\t``HelloWorldBear.py``. All the other messages are inherited from the\n+\t``LocalBear`` class or run by the code responsible for executing the\n+\tbear.\n+\n+.. note::\n+\n+\tThe first ``WARNING`` message is because our directory, does not \n+\tcontain a ``.coafile``. If you have followed the instructions in \n+\tour `main tutorial`_, you will have a ``.coafile`` in your working\n+\tdirectory. Its best if you delete that file before working on this ","path":"docs/Developers/Writing_Native_Bears.rst","position":36,"original_position":36,"commit_id":"f6e999b37c06520dae7a89c7293c57f42ace0bff","original_commit_id":"f6e999b37c06520dae7a89c7293c57f42ace0bff","user":{"login":"gitmate-bot","id":15421488,"avatar_url":"https://avatars3.githubusercontent.com/u/15421488?v=3","gravatar_id":"","url":"https://api.github.com/users/gitmate-bot","html_url":"https://github.com/gitmate-bot","followers_url":"https://api.github.com/users/gitmate-bot/followers","following_url":"https://api.github.com/users/gitmate-bot/following{/other_user}","gists_url":"https://api.github.com/users/gitmate-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/gitmate-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitmate-bot/subscriptions","organizations_url":"https://api.github.com/users/gitmate-bot/orgs","repos_url":"https://api.github.com/users/gitmate-bot/repos","events_url":"https://api.github.com/users/gitmate-bot/events{/privacy}","received_events_url":"https://api.github.com/users/gitmate-bot/received_events","type":"User","site_admin":false},"body":"Line contains following spacing inconsistencies:\n- Trailing whitespaces.\n- Tabs used instead of spaces.\n\n*SpaceConsistencyBear, severity NORMAL, section `docs`.*\n\nThe issue can be fixed by applying the following patch:\n\n```diff\n--- a/docs/Developers/Writing_Native_Bears.rst\n+++ b/docs/Developers/Writing_Native_Bears.rst\n@@ -106,7 +106,7 @@\n \tThe first ``WARNING`` message is because our directory, does not \n \tcontain a ``.coafile``. If you have followed the instructions in \n \tour `main tutorial`_, you will have a ``.coafile`` in your working\n-\tdirectory. Its best if you delete that file before working on this \n+    directory. Its best if you delete that file before working on this\n \ttutorial, else you will see a bunch of other outputs from other bears \n \tas well.\n \n```","created_at":"2017-06-27T10:40:02Z","updated_at":"2017-06-27T10:40:02Z","html_url":"https://github.com/coala/coala/pull/4416#discussion_r124238904","pull_request_url":"https://api.github.com/repos/coala/coala/pulls/4416","_links":{"self":{"href":"https://api.github.com/repos/coala/coala/pulls/comments/124238904"},"html":{"href":"https://github.com/coala/coala/pull/4416#discussion_r124238904"},"pull_request":{"href":"https://api.github.com/repos/coala/coala/pulls/4416"}}},"pull_request":{"url":"https://api.github.com/repos/coala/coala/pulls/4416","id":127662475,"html_url":"https://github.com/coala/coala/pull/4416","diff_url":"https://github.com/coala/coala/pull/4416.diff","patch_url":"https://github.com/coala/coala/pull/4416.patch","issue_url":"https://api.github.com/repos/coala/coala/issues/4416","number":4416,"state":"open","locked":false,"title":"Writing_Native_Bears.rst: Add explained outputs","user":{"login":"nityeshaga","id":24698858,"avatar_url":"https://avatars2.githubusercontent.com/u/24698858?v=3","gravatar_id":"","url":"https://api.github.com/users/nityeshaga","html_url":"https://github.com/nityeshaga","followers_url":"https://api.github.com/users/nityeshaga/followers","following_url":"https://api.github.com/users/nityeshaga/following{/other_user}","gists_url":"https://api.github.com/users/nityeshaga/gists{/gist_id}","starred_url":"https://api.github.com/users/nityeshaga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nityeshaga/subscriptions","organizations_url":"https://api.github.com/users/nityeshaga/orgs","repos_url":"https://api.github.com/users/nityeshaga/repos","events_url":"https://api.github.com/users/nityeshaga/events{/privacy}","received_events_url":"https://api.github.com/users/nityeshaga/received_events","type":"User","site_admin":false},"body":"Adds the outputs of various commands used as examples in the tutorial\r\nalong with their explanation when available.\r\n\r\nCloses https://github.com/coala/coala/issues/4406\r\n\r\n<!--\r\nThanks for your contribution!\r\n\r\nPlease take a quick look at those things down there. They're quite important.\r\nReally! We wrote them for you. Yes you! With utmost care. Read them.\r\n-->\r\n\r\n**For short term contributors:** we understand that getting your commits well\r\ndefined like we require is a hard task and takes some learning. If you\r\nlook to help without wanting to contribute long term there's no need\r\nfor you to learn this. Just drop us a message and we'll take care of brushing\r\nup your stuff for merge!\r\n\r\n### Checklist\r\n\r\n- [x] I read the [commit guidelines](http://coala.io/commit) and I've followed\r\n      them.\r\n- [x] I ran coala over my code locally. (*All commits have to pass\r\n      individually.* It is not sufficient to have \"fixup commits\" on your PR,\r\n      our bot will still report the issues for the previous commit.) You will\r\n      likely receive a lot of bot comments and build failures if coala does not\r\n      pass on every single commit!\r\n\r\nAfter you submit your pull request, **DO NOT click the 'Update Branch' button.**\r\nWhen asked for a rebase, consult [coala.io/rebase](https://coala.io/rebase)\r\ninstead.\r\n\r\nPlease consider helping us by reviewing other peoples pull requests as well:\r\n\r\n- pick up any PR at <https://coala.io/review>\r\n- review it (check <https://coala.io/reviewing> for more info)\r\n- if you are sure that it needs work, use `cobot mark wip <URL>` to get it out\r\n  of the review queue.\r\n\r\nThe more you review, the more your score will grow at coala.io and we will\r\nreview your PRs faster!\r\n","created_at":"2017-06-27T10:38:34Z","updated_at":"2017-06-27T10:40:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7e12d96ad0d15774670c56e78a5e1e423f98b9d1","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/coala/coala/pulls/4416/commits","review_comments_url":"https://api.github.com/repos/coala/coala/pulls/4416/comments","review_comment_url":"https://api.github.com/repos/coala/coala/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coala/coala/issues/4416/comments","statuses_url":"https://api.github.com/repos/coala/coala/statuses/f6e999b37c06520dae7a89c7293c57f42ace0bff","head":{"label":"nityeshaga:reclose/iss4406","ref":"reclose/iss4406","sha":"f6e999b37c06520dae7a89c7293c57f42ace0bff","user":{"login":"nityeshaga","id":24698858,"avatar_url":"https://avatars2.githubusercontent.com/u/24698858?v=3","gravatar_id":"","url":"https://api.github.com/users/nityeshaga","html_url":"https://github.com/nityeshaga","followers_url":"https://api.github.com/users/nityeshaga/followers","following_url":"https://api.github.com/users/nityeshaga/following{/other_user}","gists_url":"https://api.github.com/users/nityeshaga/gists{/gist_id}","starred_url":"https://api.github.com/users/nityeshaga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nityeshaga/subscriptions","organizations_url":"https://api.github.com/users/nityeshaga/orgs","repos_url":"https://api.github.com/users/nityeshaga/repos","events_url":"https://api.github.com/users/nityeshaga/events{/privacy}","received_events_url":"https://api.github.com/users/nityeshaga/received_events","type":"User","site_admin":false},"repo":{"id":86810259,"name":"coala","full_name":"nityeshaga/coala","owner":{"login":"nityeshaga","id":24698858,"avatar_url":"https://avatars2.githubusercontent.com/u/24698858?v=3","gravatar_id":"","url":"https://api.github.com/users/nityeshaga","html_url":"https://github.com/nityeshaga","followers_url":"https://api.github.com/users/nityeshaga/followers","following_url":"https://api.github.com/users/nityeshaga/following{/other_user}","gists_url":"https://api.github.com/users/nityeshaga/gists{/gist_id}","starred_url":"https://api.github.com/users/nityeshaga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nityeshaga/subscriptions","organizations_url":"https://api.github.com/users/nityeshaga/orgs","repos_url":"https://api.github.com/users/nityeshaga/repos","events_url":"https://api.github.com/users/nityeshaga/events{/privacy}","received_events_url":"https://api.github.com/users/nityeshaga/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nityeshaga/coala","description":"coala provides a unified command-line interface for linting and fixing all your code, regardless of the programming languages you use.","fork":true,"url":"https://api.github.com/repos/nityeshaga/coala","forks_url":"https://api.github.com/repos/nityeshaga/coala/forks","keys_url":"https://api.github.com/repos/nityeshaga/coala/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nityeshaga/coala/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nityeshaga/coala/teams","hooks_url":"https://api.github.com/repos/nityeshaga/coala/hooks","issue_events_url":"https://api.github.com/repos/nityeshaga/coala/issues/events{/number}","events_url":"https://api.github.com/repos/nityeshaga/coala/events","assignees_url":"https://api.github.com/repos/nityeshaga/coala/assignees{/user}","branches_url":"https://api.github.com/repos/nityeshaga/coala/branches{/branch}","tags_url":"https://api.github.com/repos/nityeshaga/coala/tags","blobs_url":"https://api.github.com/repos/nityeshaga/coala/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nityeshaga/coala/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nityeshaga/coala/git/refs{/sha}","trees_url":"https://api.github.com/repos/nityeshaga/coala/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nityeshaga/coala/statuses/{sha}","languages_url":"https://api.github.com/repos/nityeshaga/coala/languages","stargazers_url":"https://api.github.com/repos/nityeshaga/coala/stargazers","contributors_url":"https://api.github.com/repos/nityeshaga/coala/contributors","subscribers_url":"https://api.github.com/repos/nityeshaga/coala/subscribers","subscription_url":"https://api.github.com/repos/nityeshaga/coala/subscription","commits_url":"https://api.github.com/repos/nityeshaga/coala/commits{/sha}","git_commits_url":"https://api.github.com/repos/nityeshaga/coala/git/commits{/sha}","comments_url":"https://api.github.com/repos/nityeshaga/coala/comments{/number}","issue_comment_url":"https://api.github.com/repos/nityeshaga/coala/issues/comments{/number}","contents_url":"https://api.github.com/repos/nityeshaga/coala/contents/{+path}","compare_url":"https://api.github.com/repos/nityeshaga/coala/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nityeshaga/coala/merges","archive_url":"https://api.github.com/repos/nityeshaga/coala/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nityeshaga/coala/downloads","issues_url":"https://api.github.com/repos/nityeshaga/coala/issues{/number}","pulls_url":"https://api.github.com/repos/nityeshaga/coala/pulls{/number}","milestones_url":"https://api.github.com/repos/nityeshaga/coala/milestones{/number}","notifications_url":"https://api.github.com/repos/nityeshaga/coala/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nityeshaga/coala/labels{/name}","releases_url":"https://api.github.com/repos/nityeshaga/coala/releases{/id}","deployments_url":"https://api.github.com/repos/nityeshaga/coala/deployments","created_at":"2017-03-31T11:04:25Z","updated_at":"2017-03-31T11:04:27Z","pushed_at":"2017-06-27T10:37:06Z","git_url":"git://github.com/nityeshaga/coala.git","ssh_url":"git@github.com:nityeshaga/coala.git","clone_url":"https://github.com/nityeshaga/coala.git","svn_url":"https://github.com/nityeshaga/coala","homepage":"https://coala.io/","size":11662,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"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":"coala:master","ref":"master","sha":"66d0276f0a45f221bc2d880a4fd5d4c63f6d119e","user":{"login":"coala","id":10620750,"avatar_url":"https://avatars0.githubusercontent.com/u/10620750?v=3","gravatar_id":"","url":"https://api.github.com/users/coala","html_url":"https://github.com/coala","followers_url":"https://api.github.com/users/coala/followers","following_url":"https://api.github.com/users/coala/following{/other_user}","gists_url":"https://api.github.com/users/coala/gists{/gist_id}","starred_url":"https://api.github.com/users/coala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coala/subscriptions","organizations_url":"https://api.github.com/users/coala/orgs","repos_url":"https://api.github.com/users/coala/repos","events_url":"https://api.github.com/users/coala/events{/privacy}","received_events_url":"https://api.github.com/users/coala/received_events","type":"Organization","site_admin":false},"repo":{"id":19816973,"name":"coala","full_name":"coala/coala","owner":{"login":"coala","id":10620750,"avatar_url":"https://avatars0.githubusercontent.com/u/10620750?v=3","gravatar_id":"","url":"https://api.github.com/users/coala","html_url":"https://github.com/coala","followers_url":"https://api.github.com/users/coala/followers","following_url":"https://api.github.com/users/coala/following{/other_user}","gists_url":"https://api.github.com/users/coala/gists{/gist_id}","starred_url":"https://api.github.com/users/coala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coala/subscriptions","organizations_url":"https://api.github.com/users/coala/orgs","repos_url":"https://api.github.com/users/coala/repos","events_url":"https://api.github.com/users/coala/events{/privacy}","received_events_url":"https://api.github.com/users/coala/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coala/coala","description":"coala provides a unified command-line interface for linting and fixing all your code, regardless of the programming languages you use.","fork":false,"url":"https://api.github.com/repos/coala/coala","forks_url":"https://api.github.com/repos/coala/coala/forks","keys_url":"https://api.github.com/repos/coala/coala/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coala/coala/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coala/coala/teams","hooks_url":"https://api.github.com/repos/coala/coala/hooks","issue_events_url":"https://api.github.com/repos/coala/coala/issues/events{/number}","events_url":"https://api.github.com/repos/coala/coala/events","assignees_url":"https://api.github.com/repos/coala/coala/assignees{/user}","branches_url":"https://api.github.com/repos/coala/coala/branches{/branch}","tags_url":"https://api.github.com/repos/coala/coala/tags","blobs_url":"https://api.github.com/repos/coala/coala/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coala/coala/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coala/coala/git/refs{/sha}","trees_url":"https://api.github.com/repos/coala/coala/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coala/coala/statuses/{sha}","languages_url":"https://api.github.com/repos/coala/coala/languages","stargazers_url":"https://api.github.com/repos/coala/coala/stargazers","contributors_url":"https://api.github.com/repos/coala/coala/contributors","subscribers_url":"https://api.github.com/repos/coala/coala/subscribers","subscription_url":"https://api.github.com/repos/coala/coala/subscription","commits_url":"https://api.github.com/repos/coala/coala/commits{/sha}","git_commits_url":"https://api.github.com/repos/coala/coala/git/commits{/sha}","comments_url":"https://api.github.com/repos/coala/coala/comments{/number}","issue_comment_url":"https://api.github.com/repos/coala/coala/issues/comments{/number}","contents_url":"https://api.github.com/repos/coala/coala/contents/{+path}","compare_url":"https://api.github.com/repos/coala/coala/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coala/coala/merges","archive_url":"https://api.github.com/repos/coala/coala/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coala/coala/downloads","issues_url":"https://api.github.com/repos/coala/coala/issues{/number}","pulls_url":"https://api.github.com/repos/coala/coala/pulls{/number}","milestones_url":"https://api.github.com/repos/coala/coala/milestones{/number}","notifications_url":"https://api.github.com/repos/coala/coala/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coala/coala/labels{/name}","releases_url":"https://api.github.com/repos/coala/coala/releases{/id}","deployments_url":"https://api.github.com/repos/coala/coala/deployments","created_at":"2014-05-15T11:35:34Z","updated_at":"2017-06-27T00:19:29Z","pushed_at":"2017-06-27T10:38:35Z","git_url":"git://github.com/coala/coala.git","ssh_url":"git@github.com:coala/coala.git","clone_url":"https://github.com/coala/coala.git","svn_url":"https://github.com/coala/coala","homepage":"https://coala.io/","size":11717,"stargazers_count":1328,"watchers_count":1328,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":664,"mirror_url":null,"open_issues_count":640,"forks":664,"open_issues":640,"watchers":1328,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coala/coala/pulls/4416"},"html":{"href":"https://github.com/coala/coala/pull/4416"},"issue":{"href":"https://api.github.com/repos/coala/coala/issues/4416"},"comments":{"href":"https://api.github.com/repos/coala/coala/issues/4416/comments"},"review_comments":{"href":"https://api.github.com/repos/coala/coala/pulls/4416/comments"},"review_comment":{"href":"https://api.github.com/repos/coala/coala/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coala/coala/pulls/4416/commits"},"statuses":{"href":"https://api.github.com/repos/coala/coala/statuses/f6e999b37c06520dae7a89c7293c57f42ace0bff"}}}}
{"actor":{"display_login":"gitmate-bot"}}