{"action":"closed","number":280,"pull_request":{"url":"https://api.github.com/repos/tldr-pages/tldr/pulls/280","id":33296291,"html_url":"https://github.com/tldr-pages/tldr/pull/280","diff_url":"https://github.com/tldr-pages/tldr/pull/280.diff","patch_url":"https://github.com/tldr-pages/tldr/pull/280.patch","issue_url":"https://api.github.com/repos/tldr-pages/tldr/issues/280","number":280,"state":"closed","locked":false,"title":"Markdown linting","user":{"login":"rubenvereecken","id":5216553,"avatar_url":"https://avatars.githubusercontent.com/u/5216553?v=3","gravatar_id":"","url":"https://api.github.com/users/rubenvereecken","html_url":"https://github.com/rubenvereecken","followers_url":"https://api.github.com/users/rubenvereecken/followers","following_url":"https://api.github.com/users/rubenvereecken/following{/other_user}","gists_url":"https://api.github.com/users/rubenvereecken/gists{/gist_id}","starred_url":"https://api.github.com/users/rubenvereecken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubenvereecken/subscriptions","organizations_url":"https://api.github.com/users/rubenvereecken/orgs","repos_url":"https://api.github.com/users/rubenvereecken/repos","events_url":"https://api.github.com/users/rubenvereecken/events{/privacy}","received_events_url":"https://api.github.com/users/rubenvereecken/received_events","type":"User","site_admin":false},"body":"This pull request reflects part of the efforts for #278. \r\n\r\n- `make setup` now installs the gem 'markdownlint' in the `.gem` folder (@ostera is this rubyesque?). \r\n- `make lint` lints all markdown pages and reports on stderr. Takes some time.\r\n- `make lint-changed` lints only those files added to git. Its primary use is as a pre-commit hook. If a file is about to be committed with linting errors they will be shown to the contributor and the git commit wil fail. As of yet there is no message \"hey stuff failed\" but the output is fairly self-descriptive. \r\n\r\nFirst `make lint-changed` was not only for added files but I figured its main purpose would be as a git pre-commit hook.\r\n\r\nI'll leave this here for a bit until someone else can have a look at it. I have absolutely no explanation as to why the index is now apparently bigger. We still need to prettify that one so it's human-editable. In the meantime I'll look into Travis, make sure it fails when we want it to and points out the correct problems.","created_at":"2015-04-14T20:27:16Z","updated_at":"2015-05-17T09:30:40Z","closed_at":"2015-05-17T09:30:40Z","merged_at":"2015-05-17T09:30:40Z","merge_commit_sha":"520a8df26fb85b91cb7d1e7dcb6bbfb07a60d05f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tldr-pages/tldr/pulls/280/commits","review_comments_url":"https://api.github.com/repos/tldr-pages/tldr/pulls/280/comments","review_comment_url":"https://api.github.com/repos/tldr-pages/tldr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tldr-pages/tldr/issues/280/comments","statuses_url":"https://api.github.com/repos/tldr-pages/tldr/statuses/db18071a2c119acdd07c2437d57f353e2f8d1bb3","head":{"label":"rubenvereecken:markdown-lint","ref":"markdown-lint","sha":"db18071a2c119acdd07c2437d57f353e2f8d1bb3","user":{"login":"rubenvereecken","id":5216553,"avatar_url":"https://avatars.githubusercontent.com/u/5216553?v=3","gravatar_id":"","url":"https://api.github.com/users/rubenvereecken","html_url":"https://github.com/rubenvereecken","followers_url":"https://api.github.com/users/rubenvereecken/followers","following_url":"https://api.github.com/users/rubenvereecken/following{/other_user}","gists_url":"https://api.github.com/users/rubenvereecken/gists{/gist_id}","starred_url":"https://api.github.com/users/rubenvereecken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubenvereecken/subscriptions","organizations_url":"https://api.github.com/users/rubenvereecken/orgs","repos_url":"https://api.github.com/users/rubenvereecken/repos","events_url":"https://api.github.com/users/rubenvereecken/events{/privacy}","received_events_url":"https://api.github.com/users/rubenvereecken/received_events","type":"User","site_admin":false},"repo":{"id":17996724,"name":"tldr","full_name":"rubenvereecken/tldr","owner":{"login":"rubenvereecken","id":5216553,"avatar_url":"https://avatars.githubusercontent.com/u/5216553?v=3","gravatar_id":"","url":"https://api.github.com/users/rubenvereecken","html_url":"https://github.com/rubenvereecken","followers_url":"https://api.github.com/users/rubenvereecken/followers","following_url":"https://api.github.com/users/rubenvereecken/following{/other_user}","gists_url":"https://api.github.com/users/rubenvereecken/gists{/gist_id}","starred_url":"https://api.github.com/users/rubenvereecken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubenvereecken/subscriptions","organizations_url":"https://api.github.com/users/rubenvereecken/orgs","repos_url":"https://api.github.com/users/rubenvereecken/repos","events_url":"https://api.github.com/users/rubenvereecken/events{/privacy}","received_events_url":"https://api.github.com/users/rubenvereecken/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rubenvereecken/tldr","description":"Simplified and community-driven man pages","fork":true,"url":"https://api.github.com/repos/rubenvereecken/tldr","forks_url":"https://api.github.com/repos/rubenvereecken/tldr/forks","keys_url":"https://api.github.com/repos/rubenvereecken/tldr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rubenvereecken/tldr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rubenvereecken/tldr/teams","hooks_url":"https://api.github.com/repos/rubenvereecken/tldr/hooks","issue_events_url":"https://api.github.com/repos/rubenvereecken/tldr/issues/events{/number}","events_url":"https://api.github.com/repos/rubenvereecken/tldr/events","assignees_url":"https://api.github.com/repos/rubenvereecken/tldr/assignees{/user}","branches_url":"https://api.github.com/repos/rubenvereecken/tldr/branches{/branch}","tags_url":"https://api.github.com/repos/rubenvereecken/tldr/tags","blobs_url":"https://api.github.com/repos/rubenvereecken/tldr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rubenvereecken/tldr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rubenvereecken/tldr/git/refs{/sha}","trees_url":"https://api.github.com/repos/rubenvereecken/tldr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rubenvereecken/tldr/statuses/{sha}","languages_url":"https://api.github.com/repos/rubenvereecken/tldr/languages","stargazers_url":"https://api.github.com/repos/rubenvereecken/tldr/stargazers","contributors_url":"https://api.github.com/repos/rubenvereecken/tldr/contributors","subscribers_url":"https://api.github.com/repos/rubenvereecken/tldr/subscribers","subscription_url":"https://api.github.com/repos/rubenvereecken/tldr/subscription","commits_url":"https://api.github.com/repos/rubenvereecken/tldr/commits{/sha}","git_commits_url":"https://api.github.com/repos/rubenvereecken/tldr/git/commits{/sha}","comments_url":"https://api.github.com/repos/rubenvereecken/tldr/comments{/number}","issue_comment_url":"https://api.github.com/repos/rubenvereecken/tldr/issues/comments{/number}","contents_url":"https://api.github.com/repos/rubenvereecken/tldr/contents/{+path}","compare_url":"https://api.github.com/repos/rubenvereecken/tldr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rubenvereecken/tldr/merges","archive_url":"https://api.github.com/repos/rubenvereecken/tldr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rubenvereecken/tldr/downloads","issues_url":"https://api.github.com/repos/rubenvereecken/tldr/issues{/number}","pulls_url":"https://api.github.com/repos/rubenvereecken/tldr/pulls{/number}","milestones_url":"https://api.github.com/repos/rubenvereecken/tldr/milestones{/number}","notifications_url":"https://api.github.com/repos/rubenvereecken/tldr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rubenvereecken/tldr/labels{/name}","releases_url":"https://api.github.com/repos/rubenvereecken/tldr/releases{/id}","created_at":"2014-03-21T22:47:17Z","updated_at":"2015-05-07T10:24:09Z","pushed_at":"2015-05-17T09:02:35Z","git_url":"git://github.com/rubenvereecken/tldr.git","ssh_url":"git@github.com:rubenvereecken/tldr.git","clone_url":"https://github.com/rubenvereecken/tldr.git","svn_url":"https://github.com/rubenvereecken/tldr","homepage":null,"size":496,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":false,"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":1,"default_branch":"master"}},"base":{"label":"tldr-pages:master","ref":"master","sha":"318c8731d4996a61ddf2b05de63c0d86bd4e51c0","user":{"login":"tldr-pages","id":7366472,"avatar_url":"https://avatars.githubusercontent.com/u/7366472?v=3","gravatar_id":"","url":"https://api.github.com/users/tldr-pages","html_url":"https://github.com/tldr-pages","followers_url":"https://api.github.com/users/tldr-pages/followers","following_url":"https://api.github.com/users/tldr-pages/following{/other_user}","gists_url":"https://api.github.com/users/tldr-pages/gists{/gist_id}","starred_url":"https://api.github.com/users/tldr-pages/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tldr-pages/subscriptions","organizations_url":"https://api.github.com/users/tldr-pages/orgs","repos_url":"https://api.github.com/users/tldr-pages/repos","events_url":"https://api.github.com/users/tldr-pages/events{/privacy}","received_events_url":"https://api.github.com/users/tldr-pages/received_events","type":"Organization","site_admin":false},"repo":{"id":15019962,"name":"tldr","full_name":"tldr-pages/tldr","owner":{"login":"tldr-pages","id":7366472,"avatar_url":"https://avatars.githubusercontent.com/u/7366472?v=3","gravatar_id":"","url":"https://api.github.com/users/tldr-pages","html_url":"https://github.com/tldr-pages","followers_url":"https://api.github.com/users/tldr-pages/followers","following_url":"https://api.github.com/users/tldr-pages/following{/other_user}","gists_url":"https://api.github.com/users/tldr-pages/gists{/gist_id}","starred_url":"https://api.github.com/users/tldr-pages/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tldr-pages/subscriptions","organizations_url":"https://api.github.com/users/tldr-pages/orgs","repos_url":"https://api.github.com/users/tldr-pages/repos","events_url":"https://api.github.com/users/tldr-pages/events{/privacy}","received_events_url":"https://api.github.com/users/tldr-pages/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tldr-pages/tldr","description":"Simplified and community-driven man pages","fork":false,"url":"https://api.github.com/repos/tldr-pages/tldr","forks_url":"https://api.github.com/repos/tldr-pages/tldr/forks","keys_url":"https://api.github.com/repos/tldr-pages/tldr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tldr-pages/tldr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tldr-pages/tldr/teams","hooks_url":"https://api.github.com/repos/tldr-pages/tldr/hooks","issue_events_url":"https://api.github.com/repos/tldr-pages/tldr/issues/events{/number}","events_url":"https://api.github.com/repos/tldr-pages/tldr/events","assignees_url":"https://api.github.com/repos/tldr-pages/tldr/assignees{/user}","branches_url":"https://api.github.com/repos/tldr-pages/tldr/branches{/branch}","tags_url":"https://api.github.com/repos/tldr-pages/tldr/tags","blobs_url":"https://api.github.com/repos/tldr-pages/tldr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tldr-pages/tldr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tldr-pages/tldr/git/refs{/sha}","trees_url":"https://api.github.com/repos/tldr-pages/tldr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tldr-pages/tldr/statuses/{sha}","languages_url":"https://api.github.com/repos/tldr-pages/tldr/languages","stargazers_url":"https://api.github.com/repos/tldr-pages/tldr/stargazers","contributors_url":"https://api.github.com/repos/tldr-pages/tldr/contributors","subscribers_url":"https://api.github.com/repos/tldr-pages/tldr/subscribers","subscription_url":"https://api.github.com/repos/tldr-pages/tldr/subscription","commits_url":"https://api.github.com/repos/tldr-pages/tldr/commits{/sha}","git_commits_url":"https://api.github.com/repos/tldr-pages/tldr/git/commits{/sha}","comments_url":"https://api.github.com/repos/tldr-pages/tldr/comments{/number}","issue_comment_url":"https://api.github.com/repos/tldr-pages/tldr/issues/comments{/number}","contents_url":"https://api.github.com/repos/tldr-pages/tldr/contents/{+path}","compare_url":"https://api.github.com/repos/tldr-pages/tldr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tldr-pages/tldr/merges","archive_url":"https://api.github.com/repos/tldr-pages/tldr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tldr-pages/tldr/downloads","issues_url":"https://api.github.com/repos/tldr-pages/tldr/issues{/number}","pulls_url":"https://api.github.com/repos/tldr-pages/tldr/pulls{/number}","milestones_url":"https://api.github.com/repos/tldr-pages/tldr/milestones{/number}","notifications_url":"https://api.github.com/repos/tldr-pages/tldr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tldr-pages/tldr/labels{/name}","releases_url":"https://api.github.com/repos/tldr-pages/tldr/releases{/id}","created_at":"2013-12-08T07:34:43Z","updated_at":"2015-05-16T15:03:44Z","pushed_at":"2015-05-17T09:30:41Z","git_url":"git://github.com/tldr-pages/tldr.git","ssh_url":"git@github.com:tldr-pages/tldr.git","clone_url":"https://github.com/tldr-pages/tldr.git","svn_url":"https://github.com/tldr-pages/tldr","homepage":null,"size":2162,"stargazers_count":1757,"watchers_count":1757,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":139,"mirror_url":null,"open_issues_count":7,"forks":139,"open_issues":7,"watchers":1757,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tldr-pages/tldr/pulls/280"},"html":{"href":"https://github.com/tldr-pages/tldr/pull/280"},"issue":{"href":"https://api.github.com/repos/tldr-pages/tldr/issues/280"},"comments":{"href":"https://api.github.com/repos/tldr-pages/tldr/issues/280/comments"},"review_comments":{"href":"https://api.github.com/repos/tldr-pages/tldr/pulls/280/comments"},"review_comment":{"href":"https://api.github.com/repos/tldr-pages/tldr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tldr-pages/tldr/pulls/280/commits"},"statuses":{"href":"https://api.github.com/repos/tldr-pages/tldr/statuses/db18071a2c119acdd07c2437d57f353e2f8d1bb3"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"rubenvereecken","id":5216553,"avatar_url":"https://avatars.githubusercontent.com/u/5216553?v=3","gravatar_id":"","url":"https://api.github.com/users/rubenvereecken","html_url":"https://github.com/rubenvereecken","followers_url":"https://api.github.com/users/rubenvereecken/followers","following_url":"https://api.github.com/users/rubenvereecken/following{/other_user}","gists_url":"https://api.github.com/users/rubenvereecken/gists{/gist_id}","starred_url":"https://api.github.com/users/rubenvereecken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubenvereecken/subscriptions","organizations_url":"https://api.github.com/users/rubenvereecken/orgs","repos_url":"https://api.github.com/users/rubenvereecken/repos","events_url":"https://api.github.com/users/rubenvereecken/events{/privacy}","received_events_url":"https://api.github.com/users/rubenvereecken/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"commits":6,"additions":52,"deletions":2,"changed_files":8}}