{"action":"opened","number":316,"pull_request":{"url":"https://api.github.com/repos/google/gumbo-parser/pulls/316","id":31369108,"html_url":"https://github.com/google/gumbo-parser/pull/316","diff_url":"https://github.com/google/gumbo-parser/pull/316.diff","patch_url":"https://github.com/google/gumbo-parser/pull/316.patch","issue_url":"https://api.github.com/repos/google/gumbo-parser/issues/316","number":316,"state":"open","locked":false,"title":"Fragment api cleanup","user":{"login":"nostrademons","id":16583,"avatar_url":"https://avatars.githubusercontent.com/u/16583?v=3","gravatar_id":"","url":"https://api.github.com/users/nostrademons","html_url":"https://github.com/nostrademons","followers_url":"https://api.github.com/users/nostrademons/followers","following_url":"https://api.github.com/users/nostrademons/following{/other_user}","gists_url":"https://api.github.com/users/nostrademons/gists{/gist_id}","starred_url":"https://api.github.com/users/nostrademons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nostrademons/subscriptions","organizations_url":"https://api.github.com/users/nostrademons/orgs","repos_url":"https://api.github.com/users/nostrademons/repos","events_url":"https://api.github.com/users/nostrademons/events{/privacy}","received_events_url":"https://api.github.com/users/nostrademons/received_events","type":"User","site_admin":false},"body":"This removes gumbo_parse_fragment and instead moves the fragment context and namespace to GumboOptions, where they have easy defaults.  The ctypes bindings now use 'fragment_context' and 'fragment_namespace' as keyword arguments instead of 'container' and 'container_ns', to match the C API.  Logic remains unchanged.\r\n\r\nThe main rationale for this is to keep the API surface small for wrapper libraries that may need to provide their own options.","created_at":"2015-03-17T19:26:07Z","updated_at":"2015-03-17T19:26:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/google/gumbo-parser/pulls/316/commits","review_comments_url":"https://api.github.com/repos/google/gumbo-parser/pulls/316/comments","review_comment_url":"https://api.github.com/repos/google/gumbo-parser/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/gumbo-parser/issues/316/comments","statuses_url":"https://api.github.com/repos/google/gumbo-parser/statuses/1d7b3f2989be4c2f9b81eb6e5e375bb64d57f5fe","head":{"label":"nostrademons:fragment_api_cleanup","ref":"fragment_api_cleanup","sha":"1d7b3f2989be4c2f9b81eb6e5e375bb64d57f5fe","user":{"login":"nostrademons","id":16583,"avatar_url":"https://avatars.githubusercontent.com/u/16583?v=3","gravatar_id":"","url":"https://api.github.com/users/nostrademons","html_url":"https://github.com/nostrademons","followers_url":"https://api.github.com/users/nostrademons/followers","following_url":"https://api.github.com/users/nostrademons/following{/other_user}","gists_url":"https://api.github.com/users/nostrademons/gists{/gist_id}","starred_url":"https://api.github.com/users/nostrademons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nostrademons/subscriptions","organizations_url":"https://api.github.com/users/nostrademons/orgs","repos_url":"https://api.github.com/users/nostrademons/repos","events_url":"https://api.github.com/users/nostrademons/events{/privacy}","received_events_url":"https://api.github.com/users/nostrademons/received_events","type":"User","site_admin":false},"repo":{"id":14825967,"name":"gumbo-parser","full_name":"nostrademons/gumbo-parser","owner":{"login":"nostrademons","id":16583,"avatar_url":"https://avatars.githubusercontent.com/u/16583?v=3","gravatar_id":"","url":"https://api.github.com/users/nostrademons","html_url":"https://github.com/nostrademons","followers_url":"https://api.github.com/users/nostrademons/followers","following_url":"https://api.github.com/users/nostrademons/following{/other_user}","gists_url":"https://api.github.com/users/nostrademons/gists{/gist_id}","starred_url":"https://api.github.com/users/nostrademons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nostrademons/subscriptions","organizations_url":"https://api.github.com/users/nostrademons/orgs","repos_url":"https://api.github.com/users/nostrademons/repos","events_url":"https://api.github.com/users/nostrademons/events{/privacy}","received_events_url":"https://api.github.com/users/nostrademons/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nostrademons/gumbo-parser","description":"","fork":true,"url":"https://api.github.com/repos/nostrademons/gumbo-parser","forks_url":"https://api.github.com/repos/nostrademons/gumbo-parser/forks","keys_url":"https://api.github.com/repos/nostrademons/gumbo-parser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nostrademons/gumbo-parser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nostrademons/gumbo-parser/teams","hooks_url":"https://api.github.com/repos/nostrademons/gumbo-parser/hooks","issue_events_url":"https://api.github.com/repos/nostrademons/gumbo-parser/issues/events{/number}","events_url":"https://api.github.com/repos/nostrademons/gumbo-parser/events","assignees_url":"https://api.github.com/repos/nostrademons/gumbo-parser/assignees{/user}","branches_url":"https://api.github.com/repos/nostrademons/gumbo-parser/branches{/branch}","tags_url":"https://api.github.com/repos/nostrademons/gumbo-parser/tags","blobs_url":"https://api.github.com/repos/nostrademons/gumbo-parser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nostrademons/gumbo-parser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nostrademons/gumbo-parser/git/refs{/sha}","trees_url":"https://api.github.com/repos/nostrademons/gumbo-parser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nostrademons/gumbo-parser/statuses/{sha}","languages_url":"https://api.github.com/repos/nostrademons/gumbo-parser/languages","stargazers_url":"https://api.github.com/repos/nostrademons/gumbo-parser/stargazers","contributors_url":"https://api.github.com/repos/nostrademons/gumbo-parser/contributors","subscribers_url":"https://api.github.com/repos/nostrademons/gumbo-parser/subscribers","subscription_url":"https://api.github.com/repos/nostrademons/gumbo-parser/subscription","commits_url":"https://api.github.com/repos/nostrademons/gumbo-parser/commits{/sha}","git_commits_url":"https://api.github.com/repos/nostrademons/gumbo-parser/git/commits{/sha}","comments_url":"https://api.github.com/repos/nostrademons/gumbo-parser/comments{/number}","issue_comment_url":"https://api.github.com/repos/nostrademons/gumbo-parser/issues/comments{/number}","contents_url":"https://api.github.com/repos/nostrademons/gumbo-parser/contents/{+path}","compare_url":"https://api.github.com/repos/nostrademons/gumbo-parser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nostrademons/gumbo-parser/merges","archive_url":"https://api.github.com/repos/nostrademons/gumbo-parser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nostrademons/gumbo-parser/downloads","issues_url":"https://api.github.com/repos/nostrademons/gumbo-parser/issues{/number}","pulls_url":"https://api.github.com/repos/nostrademons/gumbo-parser/pulls{/number}","milestones_url":"https://api.github.com/repos/nostrademons/gumbo-parser/milestones{/number}","notifications_url":"https://api.github.com/repos/nostrademons/gumbo-parser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nostrademons/gumbo-parser/labels{/name}","releases_url":"https://api.github.com/repos/nostrademons/gumbo-parser/releases{/id}","created_at":"2013-11-30T18:20:09Z","updated_at":"2015-03-03T04:51:47Z","pushed_at":"2015-03-17T19:03:13Z","git_url":"git://github.com/nostrademons/gumbo-parser.git","ssh_url":"git@github.com:nostrademons/gumbo-parser.git","clone_url":"https://github.com/nostrademons/gumbo-parser.git","svn_url":"https://github.com/nostrademons/gumbo-parser","homepage":null,"size":3822,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":0,"default_branch":"master"}},"base":{"label":"google:v0.10.0","ref":"v0.10.0","sha":"0e550f15cc96cae0193a5116335e36d83c2ddcb1","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":11850014,"name":"gumbo-parser","full_name":"google/gumbo-parser","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/gumbo-parser","description":"An HTML5 parsing library in pure C99","fork":false,"url":"https://api.github.com/repos/google/gumbo-parser","forks_url":"https://api.github.com/repos/google/gumbo-parser/forks","keys_url":"https://api.github.com/repos/google/gumbo-parser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/gumbo-parser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/gumbo-parser/teams","hooks_url":"https://api.github.com/repos/google/gumbo-parser/hooks","issue_events_url":"https://api.github.com/repos/google/gumbo-parser/issues/events{/number}","events_url":"https://api.github.com/repos/google/gumbo-parser/events","assignees_url":"https://api.github.com/repos/google/gumbo-parser/assignees{/user}","branches_url":"https://api.github.com/repos/google/gumbo-parser/branches{/branch}","tags_url":"https://api.github.com/repos/google/gumbo-parser/tags","blobs_url":"https://api.github.com/repos/google/gumbo-parser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/gumbo-parser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/gumbo-parser/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/gumbo-parser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/gumbo-parser/statuses/{sha}","languages_url":"https://api.github.com/repos/google/gumbo-parser/languages","stargazers_url":"https://api.github.com/repos/google/gumbo-parser/stargazers","contributors_url":"https://api.github.com/repos/google/gumbo-parser/contributors","subscribers_url":"https://api.github.com/repos/google/gumbo-parser/subscribers","subscription_url":"https://api.github.com/repos/google/gumbo-parser/subscription","commits_url":"https://api.github.com/repos/google/gumbo-parser/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/gumbo-parser/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/gumbo-parser/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/gumbo-parser/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/gumbo-parser/contents/{+path}","compare_url":"https://api.github.com/repos/google/gumbo-parser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/gumbo-parser/merges","archive_url":"https://api.github.com/repos/google/gumbo-parser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/gumbo-parser/downloads","issues_url":"https://api.github.com/repos/google/gumbo-parser/issues{/number}","pulls_url":"https://api.github.com/repos/google/gumbo-parser/pulls{/number}","milestones_url":"https://api.github.com/repos/google/gumbo-parser/milestones{/number}","notifications_url":"https://api.github.com/repos/google/gumbo-parser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/gumbo-parser/labels{/name}","releases_url":"https://api.github.com/repos/google/gumbo-parser/releases{/id}","created_at":"2013-08-02T18:33:38Z","updated_at":"2015-03-17T17:54:53Z","pushed_at":"2015-03-03T04:36:56Z","git_url":"git://github.com/google/gumbo-parser.git","ssh_url":"git@github.com:google/gumbo-parser.git","clone_url":"https://github.com/google/gumbo-parser.git","svn_url":"https://github.com/google/gumbo-parser","homepage":"","size":4619,"stargazers_count":3172,"watchers_count":3172,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":380,"mirror_url":null,"open_issues_count":18,"forks":380,"open_issues":18,"watchers":3172,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/gumbo-parser/pulls/316"},"html":{"href":"https://github.com/google/gumbo-parser/pull/316"},"issue":{"href":"https://api.github.com/repos/google/gumbo-parser/issues/316"},"comments":{"href":"https://api.github.com/repos/google/gumbo-parser/issues/316/comments"},"review_comments":{"href":"https://api.github.com/repos/google/gumbo-parser/pulls/316/comments"},"review_comment":{"href":"https://api.github.com/repos/google/gumbo-parser/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/gumbo-parser/pulls/316/commits"},"statuses":{"href":"https://api.github.com/repos/google/gumbo-parser/statuses/1d7b3f2989be4c2f9b81eb6e5e375bb64d57f5fe"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":38,"deletions":33,"changed_files":6}}