{"action":"opened","number":132,"pull_request":{"url":"https://api.github.com/repos/ocsigen/tyxml/pulls/132","id":67091211,"html_url":"https://github.com/ocsigen/tyxml/pull/132","diff_url":"https://github.com/ocsigen/tyxml/pull/132.diff","patch_url":"https://github.com/ocsigen/tyxml/pull/132.patch","issue_url":"https://api.github.com/repos/ocsigen/tyxml/issues/132","number":132,"state":"open","locked":false,"title":"Fix capitalization in Html5_types.mediadesc_token","user":{"login":"aantron","id":12073668,"avatar_url":"https://avatars.githubusercontent.com/u/12073668?v=3","gravatar_id":"","url":"https://api.github.com/users/aantron","html_url":"https://github.com/aantron","followers_url":"https://api.github.com/users/aantron/followers","following_url":"https://api.github.com/users/aantron/following{/other_user}","gists_url":"https://api.github.com/users/aantron/gists{/gist_id}","starred_url":"https://api.github.com/users/aantron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aantron/subscriptions","organizations_url":"https://api.github.com/users/aantron/orgs","repos_url":"https://api.github.com/users/aantron/repos","events_url":"https://api.github.com/users/aantron/events{/privacy}","received_events_url":"https://api.github.com/users/aantron/received_events","type":"User","site_admin":false},"body":"Without this change, the PPX generates `` `Raw_mediadesc \"tv\"`` for `media=tv`, and similarly for `media=tty`.\r\n\r\nAnother way to solve this is to do a case-insensitive search for a matching variand. That slightly decreases the consistency of the API, but would allow intuitive labels `` `TV`` and `` `TTY`` to work \"correctly\" with the PPX. Let me know if you prefer that.","created_at":"2016-04-19T21:15:29Z","updated_at":"2016-04-19T21:15:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5b7e1516a944b0de3ed1944beeea2c7459ca7dbf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ocsigen/tyxml/pulls/132/commits","review_comments_url":"https://api.github.com/repos/ocsigen/tyxml/pulls/132/comments","review_comment_url":"https://api.github.com/repos/ocsigen/tyxml/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ocsigen/tyxml/issues/132/comments","statuses_url":"https://api.github.com/repos/ocsigen/tyxml/statuses/4356d0ebe5c4885622578bbd6cb65b4701aa01d2","head":{"label":"aantron:mediadesc","ref":"mediadesc","sha":"4356d0ebe5c4885622578bbd6cb65b4701aa01d2","user":{"login":"aantron","id":12073668,"avatar_url":"https://avatars.githubusercontent.com/u/12073668?v=3","gravatar_id":"","url":"https://api.github.com/users/aantron","html_url":"https://github.com/aantron","followers_url":"https://api.github.com/users/aantron/followers","following_url":"https://api.github.com/users/aantron/following{/other_user}","gists_url":"https://api.github.com/users/aantron/gists{/gist_id}","starred_url":"https://api.github.com/users/aantron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aantron/subscriptions","organizations_url":"https://api.github.com/users/aantron/orgs","repos_url":"https://api.github.com/users/aantron/repos","events_url":"https://api.github.com/users/aantron/events{/privacy}","received_events_url":"https://api.github.com/users/aantron/received_events","type":"User","site_admin":false},"repo":{"id":52233212,"name":"tyxml","full_name":"aantron/tyxml","owner":{"login":"aantron","id":12073668,"avatar_url":"https://avatars.githubusercontent.com/u/12073668?v=3","gravatar_id":"","url":"https://api.github.com/users/aantron","html_url":"https://github.com/aantron","followers_url":"https://api.github.com/users/aantron/followers","following_url":"https://api.github.com/users/aantron/following{/other_user}","gists_url":"https://api.github.com/users/aantron/gists{/gist_id}","starred_url":"https://api.github.com/users/aantron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aantron/subscriptions","organizations_url":"https://api.github.com/users/aantron/orgs","repos_url":"https://api.github.com/users/aantron/repos","events_url":"https://api.github.com/users/aantron/events{/privacy}","received_events_url":"https://api.github.com/users/aantron/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aantron/tyxml","description":"OCaml library to build valid HTML5 and SVG trees.","fork":true,"url":"https://api.github.com/repos/aantron/tyxml","forks_url":"https://api.github.com/repos/aantron/tyxml/forks","keys_url":"https://api.github.com/repos/aantron/tyxml/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aantron/tyxml/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aantron/tyxml/teams","hooks_url":"https://api.github.com/repos/aantron/tyxml/hooks","issue_events_url":"https://api.github.com/repos/aantron/tyxml/issues/events{/number}","events_url":"https://api.github.com/repos/aantron/tyxml/events","assignees_url":"https://api.github.com/repos/aantron/tyxml/assignees{/user}","branches_url":"https://api.github.com/repos/aantron/tyxml/branches{/branch}","tags_url":"https://api.github.com/repos/aantron/tyxml/tags","blobs_url":"https://api.github.com/repos/aantron/tyxml/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aantron/tyxml/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aantron/tyxml/git/refs{/sha}","trees_url":"https://api.github.com/repos/aantron/tyxml/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aantron/tyxml/statuses/{sha}","languages_url":"https://api.github.com/repos/aantron/tyxml/languages","stargazers_url":"https://api.github.com/repos/aantron/tyxml/stargazers","contributors_url":"https://api.github.com/repos/aantron/tyxml/contributors","subscribers_url":"https://api.github.com/repos/aantron/tyxml/subscribers","subscription_url":"https://api.github.com/repos/aantron/tyxml/subscription","commits_url":"https://api.github.com/repos/aantron/tyxml/commits{/sha}","git_commits_url":"https://api.github.com/repos/aantron/tyxml/git/commits{/sha}","comments_url":"https://api.github.com/repos/aantron/tyxml/comments{/number}","issue_comment_url":"https://api.github.com/repos/aantron/tyxml/issues/comments{/number}","contents_url":"https://api.github.com/repos/aantron/tyxml/contents/{+path}","compare_url":"https://api.github.com/repos/aantron/tyxml/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aantron/tyxml/merges","archive_url":"https://api.github.com/repos/aantron/tyxml/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aantron/tyxml/downloads","issues_url":"https://api.github.com/repos/aantron/tyxml/issues{/number}","pulls_url":"https://api.github.com/repos/aantron/tyxml/pulls{/number}","milestones_url":"https://api.github.com/repos/aantron/tyxml/milestones{/number}","notifications_url":"https://api.github.com/repos/aantron/tyxml/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aantron/tyxml/labels{/name}","releases_url":"https://api.github.com/repos/aantron/tyxml/releases{/id}","deployments_url":"https://api.github.com/repos/aantron/tyxml/deployments","created_at":"2016-02-21T23:12:19Z","updated_at":"2016-02-21T23:12:20Z","pushed_at":"2016-04-19T21:12:28Z","git_url":"git://github.com/aantron/tyxml.git","ssh_url":"git@github.com:aantron/tyxml.git","clone_url":"https://github.com/aantron/tyxml.git","svn_url":"https://github.com/aantron/tyxml","homepage":"http://ocsigen.org/tyxml/","size":19848,"stargazers_count":0,"watchers_count":0,"language":"OCaml","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":"ocsigen:master","ref":"master","sha":"52eb8b830a1f9f9d437f09c3c1619c75f709c429","user":{"login":"ocsigen","id":4729424,"avatar_url":"https://avatars.githubusercontent.com/u/4729424?v=3","gravatar_id":"","url":"https://api.github.com/users/ocsigen","html_url":"https://github.com/ocsigen","followers_url":"https://api.github.com/users/ocsigen/followers","following_url":"https://api.github.com/users/ocsigen/following{/other_user}","gists_url":"https://api.github.com/users/ocsigen/gists{/gist_id}","starred_url":"https://api.github.com/users/ocsigen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocsigen/subscriptions","organizations_url":"https://api.github.com/users/ocsigen/orgs","repos_url":"https://api.github.com/users/ocsigen/repos","events_url":"https://api.github.com/users/ocsigen/events{/privacy}","received_events_url":"https://api.github.com/users/ocsigen/received_events","type":"Organization","site_admin":false},"repo":{"id":11750900,"name":"tyxml","full_name":"ocsigen/tyxml","owner":{"login":"ocsigen","id":4729424,"avatar_url":"https://avatars.githubusercontent.com/u/4729424?v=3","gravatar_id":"","url":"https://api.github.com/users/ocsigen","html_url":"https://github.com/ocsigen","followers_url":"https://api.github.com/users/ocsigen/followers","following_url":"https://api.github.com/users/ocsigen/following{/other_user}","gists_url":"https://api.github.com/users/ocsigen/gists{/gist_id}","starred_url":"https://api.github.com/users/ocsigen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocsigen/subscriptions","organizations_url":"https://api.github.com/users/ocsigen/orgs","repos_url":"https://api.github.com/users/ocsigen/repos","events_url":"https://api.github.com/users/ocsigen/events{/privacy}","received_events_url":"https://api.github.com/users/ocsigen/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ocsigen/tyxml","description":"OCaml library to build valid HTML5 and SVG trees.","fork":false,"url":"https://api.github.com/repos/ocsigen/tyxml","forks_url":"https://api.github.com/repos/ocsigen/tyxml/forks","keys_url":"https://api.github.com/repos/ocsigen/tyxml/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ocsigen/tyxml/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ocsigen/tyxml/teams","hooks_url":"https://api.github.com/repos/ocsigen/tyxml/hooks","issue_events_url":"https://api.github.com/repos/ocsigen/tyxml/issues/events{/number}","events_url":"https://api.github.com/repos/ocsigen/tyxml/events","assignees_url":"https://api.github.com/repos/ocsigen/tyxml/assignees{/user}","branches_url":"https://api.github.com/repos/ocsigen/tyxml/branches{/branch}","tags_url":"https://api.github.com/repos/ocsigen/tyxml/tags","blobs_url":"https://api.github.com/repos/ocsigen/tyxml/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ocsigen/tyxml/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ocsigen/tyxml/git/refs{/sha}","trees_url":"https://api.github.com/repos/ocsigen/tyxml/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ocsigen/tyxml/statuses/{sha}","languages_url":"https://api.github.com/repos/ocsigen/tyxml/languages","stargazers_url":"https://api.github.com/repos/ocsigen/tyxml/stargazers","contributors_url":"https://api.github.com/repos/ocsigen/tyxml/contributors","subscribers_url":"https://api.github.com/repos/ocsigen/tyxml/subscribers","subscription_url":"https://api.github.com/repos/ocsigen/tyxml/subscription","commits_url":"https://api.github.com/repos/ocsigen/tyxml/commits{/sha}","git_commits_url":"https://api.github.com/repos/ocsigen/tyxml/git/commits{/sha}","comments_url":"https://api.github.com/repos/ocsigen/tyxml/comments{/number}","issue_comment_url":"https://api.github.com/repos/ocsigen/tyxml/issues/comments{/number}","contents_url":"https://api.github.com/repos/ocsigen/tyxml/contents/{+path}","compare_url":"https://api.github.com/repos/ocsigen/tyxml/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ocsigen/tyxml/merges","archive_url":"https://api.github.com/repos/ocsigen/tyxml/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ocsigen/tyxml/downloads","issues_url":"https://api.github.com/repos/ocsigen/tyxml/issues{/number}","pulls_url":"https://api.github.com/repos/ocsigen/tyxml/pulls{/number}","milestones_url":"https://api.github.com/repos/ocsigen/tyxml/milestones{/number}","notifications_url":"https://api.github.com/repos/ocsigen/tyxml/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ocsigen/tyxml/labels{/name}","releases_url":"https://api.github.com/repos/ocsigen/tyxml/releases{/id}","deployments_url":"https://api.github.com/repos/ocsigen/tyxml/deployments","created_at":"2013-07-29T22:07:48Z","updated_at":"2016-02-29T23:53:09Z","pushed_at":"2016-04-19T21:15:29Z","git_url":"git://github.com/ocsigen/tyxml.git","ssh_url":"git@github.com:ocsigen/tyxml.git","clone_url":"https://github.com/ocsigen/tyxml.git","svn_url":"https://github.com/ocsigen/tyxml","homepage":"http://ocsigen.org/tyxml/","size":19850,"stargazers_count":30,"watchers_count":30,"language":"OCaml","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":20,"forks":20,"open_issues":20,"watchers":30,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ocsigen/tyxml/pulls/132"},"html":{"href":"https://github.com/ocsigen/tyxml/pull/132"},"issue":{"href":"https://api.github.com/repos/ocsigen/tyxml/issues/132"},"comments":{"href":"https://api.github.com/repos/ocsigen/tyxml/issues/132/comments"},"review_comments":{"href":"https://api.github.com/repos/ocsigen/tyxml/pulls/132/comments"},"review_comment":{"href":"https://api.github.com/repos/ocsigen/tyxml/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ocsigen/tyxml/pulls/132/commits"},"statuses":{"href":"https://api.github.com/repos/ocsigen/tyxml/statuses/4356d0ebe5c4885622578bbd6cb65b4701aa01d2"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":4,"changed_files":2}}