GitHub PullRequestEvent at 2014-07-11 16:57:14
Repository: octopress
Actor: yous
Payload: {"action":"opened","number":1602,"pull_request":{"url":"https://api.github.com/repos/imathis/octopress/pulls/1602","id":18289401,"html_url":"https://github.com/imathis/octopress/pull/1602","diff_url":"https://github.com/imathis/octopress/pull/1602.diff","patch_url":"https://github.com/imathis/octopress/pull/1602.patch","issue_url":"https://api.github.com/repos/imathis/octopress/issues/1602","number":1602,"state":"open","title":"Escape double quotes of the post title","user":{"login":"yous","id":853977,"avatar_url":"https://avatars.githubusercontent.com/u/853977?","gravatar_id":"3d64d5cd76d42ebdc9fb8bd5c4aa848c","url":"https://api.github.com/users/yous","html_url":"https://github.com/yous","followers_url":"https://api.github.com/users/yous/followers","following_url":"https://api.github.com/users/yous/following{/other_user}","gists_url":"https://api.github.com/users/yous/gists{/gist_id}","starred_url":"https://api.github.com/users/yous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yous/subscriptions","organizations_url":"https://api.github.com/users/yous/orgs","repos_url":"https://api.github.com/users/yous/repos","events_url":"https://api.github.com/users/yous/events{/privacy}","received_events_url":"https://api.github.com/users/yous/received_events","type":"User","site_admin":false},"body":"This is how to produce this problem.\r\n\r\n1. Run `rake new_post` with a title that has double quotes:\r\n\r\n    ```\r\n    $ rake new_post\r\n    Enter a title for your post: Post with \"double quotes\"\r\n    mkdir -p source/_posts\r\n    Creating new post: source/_posts/2014-07-12-post-with-double-quotes.markdown\r\n    ```\r\n\r\n    either\r\n\r\n    ```\r\n    $ rake new_post[\"Post with \\\"double quotes\\\"\"]\r\n    mkdir -p source/_posts\r\n    Creating new post: source/_posts/2014-07-12-post-with-double-quotes.markdown\r\n    ```\r\n\r\n    Then the content of `2014-07-12-post-with-double-quotes.markdown`:\r\n\r\n    ``` yml\r\n    ---\r\n    layout: post\r\n    title: \"Post with \"double quotes\"\"\r\n    date: 2014-07-12 00:00:00 +0000\r\n    comments: true\r\n    categories: \r\n    ---\r\n    ```\r\n\r\n2. Run `rake generate`:\r\n\r\n    ```\r\n    $ rake generate\r\n    ## Generating Site with Jekyll\r\n    identical source/stylesheets/screen.css\r\n    Configuration file: /path/to/octopress/_config.yml\r\n                Source: source\r\n           Destination: public\r\n          Generating...\r\n    Error reading file /path/to/octopress/source/_posts/2014-07-12-post-with-double-quotes.markdown: (<unknown>): did not find expected key while parsing a block mapping at line 2 column 1\r\n                        done.\r\n    ```","created_at":"2014-07-11T16:57:13Z","updated_at":"2014-07-11T16:57:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/imathis/octopress/pulls/1602/commits","review_comments_url":"https://api.github.com/repos/imathis/octopress/pulls/1602/comments","review_comment_url":"https://api.github.com/repos/imathis/octopress/pulls/comments/{number}","comments_url":"https://api.github.com/repos/imathis/octopress/issues/1602/comments","statuses_url":"https://api.github.com/repos/imathis/octopress/statuses/cf6b05efa28d5a2cdeaf6cc3e3fcb71575dad2ac","head":{"label":"yous:patch-double-quotes-title","ref":"patch-double-quotes-title","sha":"cf6b05efa28d5a2cdeaf6cc3e3fcb71575dad2ac","user":{"login":"yous","id":853977,"avatar_url":"https://avatars.githubusercontent.com/u/853977?","gravatar_id":"3d64d5cd76d42ebdc9fb8bd5c4aa848c","url":"https://api.github.com/users/yous","html_url":"https://github.com/yous","followers_url":"https://api.github.com/users/yous/followers","following_url":"https://api.github.com/users/yous/following{/other_user}","gists_url":"https://api.github.com/users/yous/gists{/gist_id}","starred_url":"https://api.github.com/users/yous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yous/subscriptions","organizations_url":"https://api.github.com/users/yous/orgs","repos_url":"https://api.github.com/users/yous/repos","events_url":"https://api.github.com/users/yous/events{/privacy}","received_events_url":"https://api.github.com/users/yous/received_events","type":"User","site_admin":false},"repo":{"id":17412832,"name":"octopress","full_name":"yous/octopress","owner":{"login":"yous","id":853977,"avatar_url":"https://avatars.githubusercontent.com/u/853977?","gravatar_id":"3d64d5cd76d42ebdc9fb8bd5c4aa848c","url":"https://api.github.com/users/yous","html_url":"https://github.com/yous","followers_url":"https://api.github.com/users/yous/followers","following_url":"https://api.github.com/users/yous/following{/other_user}","gists_url":"https://api.github.com/users/yous/gists{/gist_id}","starred_url":"https://api.github.com/users/yous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yous/subscriptions","organizations_url":"https://api.github.com/users/yous/orgs","repos_url":"https://api.github.com/users/yous/repos","events_url":"https://api.github.com/users/yous/events{/privacy}","received_events_url":"https://api.github.com/users/yous/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yous/octopress","description":"Octopress is an obsessively designed framework for Jekyll blogging. It’s easy to configure and easy to deploy. Sweet huh?","fork":true,"url":"https://api.github.com/repos/yous/octopress","forks_url":"https://api.github.com/repos/yous/octopress/forks","keys_url":"https://api.github.com/repos/yous/octopress/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yous/octopress/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yous/octopress/teams","hooks_url":"https://api.github.com/repos/yous/octopress/hooks","issue_events_url":"https://api.github.com/repos/yous/octopress/issues/events{/number}","events_url":"https://api.github.com/repos/yous/octopress/events","assignees_url":"https://api.github.com/repos/yous/octopress/assignees{/user}","branches_url":"https://api.github.com/repos/yous/octopress/branches{/branch}","tags_url":"https://api.github.com/repos/yous/octopress/tags","blobs_url":"https://api.github.com/repos/yous/octopress/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yous/octopress/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yous/octopress/git/refs{/sha}","trees_url":"https://api.github.com/repos/yous/octopress/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yous/octopress/statuses/{sha}","languages_url":"https://api.github.com/repos/yous/octopress/languages","stargazers_url":"https://api.github.com/repos/yous/octopress/stargazers","contributors_url":"https://api.github.com/repos/yous/octopress/contributors","subscribers_url":"https://api.github.com/repos/yous/octopress/subscribers","subscription_url":"https://api.github.com/repos/yous/octopress/subscription","commits_url":"https://api.github.com/repos/yous/octopress/commits{/sha}","git_commits_url":"https://api.github.com/repos/yous/octopress/git/commits{/sha}","comments_url":"https://api.github.com/repos/yous/octopress/comments{/number}","issue_comment_url":"https://api.github.com/repos/yous/octopress/issues/comments/{number}","contents_url":"https://api.github.com/repos/yous/octopress/contents/{+path}","compare_url":"https://api.github.com/repos/yous/octopress/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yous/octopress/merges","archive_url":"https://api.github.com/repos/yous/octopress/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yous/octopress/downloads","issues_url":"https://api.github.com/repos/yous/octopress/issues{/number}","pulls_url":"https://api.github.com/repos/yous/octopress/pulls{/number}","milestones_url":"https://api.github.com/repos/yous/octopress/milestones{/number}","notifications_url":"https://api.github.com/repos/yous/octopress/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yous/octopress/labels{/name}","releases_url":"https://api.github.com/repos/yous/octopress/releases{/id}","created_at":"2014-03-04T18:46:57Z","updated_at":"2014-06-24T20:30:17Z","pushed_at":"2014-07-11T16:44:28Z","git_url":"git://github.com/yous/octopress.git","ssh_url":"git@github.com:yous/octopress.git","clone_url":"https://github.com/yous/octopress.git","svn_url":"https://github.com/yous/octopress","homepage":"http://github.com/imathis/octopress","size":3047,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"imathis:master","ref":"master","sha":"4fdae37e4294618084f652c99c0c06ba7663ac07","user":{"login":"imathis","id":12732,"avatar_url":"https://avatars.githubusercontent.com/u/12732?","gravatar_id":"c86443373fbfe92996aa882d0d7a59f8","url":"https://api.github.com/users/imathis","html_url":"https://github.com/imathis","followers_url":"https://api.github.com/users/imathis/followers","following_url":"https://api.github.com/users/imathis/following{/other_user}","gists_url":"https://api.github.com/users/imathis/gists{/gist_id}","starred_url":"https://api.github.com/users/imathis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imathis/subscriptions","organizations_url":"https://api.github.com/users/imathis/orgs","repos_url":"https://api.github.com/users/imathis/repos","events_url":"https://api.github.com/users/imathis/events{/privacy}","received_events_url":"https://api.github.com/users/imathis/received_events","type":"User","site_admin":false},"repo":{"id":341626,"name":"octopress","full_name":"imathis/octopress","owner":{"login":"imathis","id":12732,"avatar_url":"https://avatars.githubusercontent.com/u/12732?","gravatar_id":"c86443373fbfe92996aa882d0d7a59f8","url":"https://api.github.com/users/imathis","html_url":"https://github.com/imathis","followers_url":"https://api.github.com/users/imathis/followers","following_url":"https://api.github.com/users/imathis/following{/other_user}","gists_url":"https://api.github.com/users/imathis/gists{/gist_id}","starred_url":"https://api.github.com/users/imathis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imathis/subscriptions","organizations_url":"https://api.github.com/users/imathis/orgs","repos_url":"https://api.github.com/users/imathis/repos","events_url":"https://api.github.com/users/imathis/events{/privacy}","received_events_url":"https://api.github.com/users/imathis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/imathis/octopress","description":"Octopress is an obsessively designed framework for Jekyll blogging. It’s easy to configure and easy to deploy. Sweet huh?","fork":false,"url":"https://api.github.com/repos/imathis/octopress","forks_url":"https://api.github.com/repos/imathis/octopress/forks","keys_url":"https://api.github.com/repos/imathis/octopress/keys{/key_id}","collaborators_url":"https://api.github.com/repos/imathis/octopress/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/imathis/octopress/teams","hooks_url":"https://api.github.com/repos/imathis/octopress/hooks","issue_events_url":"https://api.github.com/repos/imathis/octopress/issues/events{/number}","events_url":"https://api.github.com/repos/imathis/octopress/events","assignees_url":"https://api.github.com/repos/imathis/octopress/assignees{/user}","branches_url":"https://api.github.com/repos/imathis/octopress/branches{/branch}","tags_url":"https://api.github.com/repos/imathis/octopress/tags","blobs_url":"https://api.github.com/repos/imathis/octopress/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/imathis/octopress/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/imathis/octopress/git/refs{/sha}","trees_url":"https://api.github.com/repos/imathis/octopress/git/trees{/sha}","statuses_url":"https://api.github.com/repos/imathis/octopress/statuses/{sha}","languages_url":"https://api.github.com/repos/imathis/octopress/languages","stargazers_url":"https://api.github.com/repos/imathis/octopress/stargazers","contributors_url":"https://api.github.com/repos/imathis/octopress/contributors","subscribers_url":"https://api.github.com/repos/imathis/octopress/subscribers","subscription_url":"https://api.github.com/repos/imathis/octopress/subscription","commits_url":"https://api.github.com/repos/imathis/octopress/commits{/sha}","git_commits_url":"https://api.github.com/repos/imathis/octopress/git/commits{/sha}","comments_url":"https://api.github.com/repos/imathis/octopress/comments{/number}","issue_comment_url":"https://api.github.com/repos/imathis/octopress/issues/comments/{number}","contents_url":"https://api.github.com/repos/imathis/octopress/contents/{+path}","compare_url":"https://api.github.com/repos/imathis/octopress/compare/{base}...{head}","merges_url":"https://api.github.com/repos/imathis/octopress/merges","archive_url":"https://api.github.com/repos/imathis/octopress/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/imathis/octopress/downloads","issues_url":"https://api.github.com/repos/imathis/octopress/issues{/number}","pulls_url":"https://api.github.com/repos/imathis/octopress/pulls{/number}","milestones_url":"https://api.github.com/repos/imathis/octopress/milestones{/number}","notifications_url":"https://api.github.com/repos/imathis/octopress/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/imathis/octopress/labels{/name}","releases_url":"https://api.github.com/repos/imathis/octopress/releases{/id}","created_at":"2009-10-18T21:41:32Z","updated_at":"2014-07-11T13:58:05Z","pushed_at":"2014-06-30T04:17:27Z","git_url":"git://github.com/imathis/octopress.git","ssh_url":"git@github.com:imathis/octopress.git","clone_url":"https://github.com/imathis/octopress.git","svn_url":"https://github.com/imathis/octopress","homepage":"http://github.com/imathis/octopress","size":123865,"stargazers_count":8077,"watchers_count":8077,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":2953,"mirror_url":null,"open_issues_count":226,"forks":2953,"open_issues":226,"watchers":8077,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/imathis/octopress/pulls/1602"},"html":{"href":"https://github.com/imathis/octopress/pull/1602"},"issue":{"href":"https://api.github.com/repos/imathis/octopress/issues/1602"},"comments":{"href":"https://api.github.com/repos/imathis/octopress/issues/1602/comments"},"review_comments":{"href":"https://api.github.com/repos/imathis/octopress/pulls/1602/comments"},"review_comment":{"href":"https://api.github.com/repos/imathis/octopress/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/imathis/octopress/pulls/1602/commits"},"statuses":{"href":"https://api.github.com/repos/imathis/octopress/statuses/cf6b05efa28d5a2cdeaf6cc3e3fcb71575dad2ac"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}