{"action":"opened","number":169,"pull_request":{"url":"https://api.github.com/repos/samtools/htslib/pulls/169","id":28211891,"html_url":"https://github.com/samtools/htslib/pull/169","diff_url":"https://github.com/samtools/htslib/pull/169.diff","patch_url":"https://github.com/samtools/htslib/pull/169.patch","issue_url":"https://api.github.com/repos/samtools/htslib/issues/169","number":169,"state":"open","locked":false,"title":"Make change to htsExactFormat not break the ABI","user":{"login":"mp15","id":1655129,"avatar_url":"https://avatars.githubusercontent.com/u/1655129?v=3","gravatar_id":"","url":"https://api.github.com/users/mp15","html_url":"https://github.com/mp15","followers_url":"https://api.github.com/users/mp15/followers","following_url":"https://api.github.com/users/mp15/following{/other_user}","gists_url":"https://api.github.com/users/mp15/gists{/gist_id}","starred_url":"https://api.github.com/users/mp15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mp15/subscriptions","organizations_url":"https://api.github.com/users/mp15/orgs","repos_url":"https://api.github.com/users/mp15/repos","events_url":"https://api.github.com/users/mp15/events{/privacy}","received_events_url":"https://api.github.com/users/mp15/received_events","type":"User","site_admin":false},"body":"This is just an example.  It packs the enum and set the max value to force it into an int, this preserves the old binary interface.","created_at":"2015-01-28T17:21:53Z","updated_at":"2015-01-28T17:21:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/samtools/htslib/pulls/169/commits","review_comments_url":"https://api.github.com/repos/samtools/htslib/pulls/169/comments","review_comment_url":"https://api.github.com/repos/samtools/htslib/pulls/comments/{number}","comments_url":"https://api.github.com/repos/samtools/htslib/issues/169/comments","statuses_url":"https://api.github.com/repos/samtools/htslib/statuses/5ba34630e4aa7965aa25a6ed1c6308fd27004ede","head":{"label":"mp15:csiv2_abifix","ref":"csiv2_abifix","sha":"5ba34630e4aa7965aa25a6ed1c6308fd27004ede","user":{"login":"mp15","id":1655129,"avatar_url":"https://avatars.githubusercontent.com/u/1655129?v=3","gravatar_id":"","url":"https://api.github.com/users/mp15","html_url":"https://github.com/mp15","followers_url":"https://api.github.com/users/mp15/followers","following_url":"https://api.github.com/users/mp15/following{/other_user}","gists_url":"https://api.github.com/users/mp15/gists{/gist_id}","starred_url":"https://api.github.com/users/mp15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mp15/subscriptions","organizations_url":"https://api.github.com/users/mp15/orgs","repos_url":"https://api.github.com/users/mp15/repos","events_url":"https://api.github.com/users/mp15/events{/privacy}","received_events_url":"https://api.github.com/users/mp15/received_events","type":"User","site_admin":false},"repo":{"id":5687627,"name":"htslib","full_name":"mp15/htslib","owner":{"login":"mp15","id":1655129,"avatar_url":"https://avatars.githubusercontent.com/u/1655129?v=3","gravatar_id":"","url":"https://api.github.com/users/mp15","html_url":"https://github.com/mp15","followers_url":"https://api.github.com/users/mp15/followers","following_url":"https://api.github.com/users/mp15/following{/other_user}","gists_url":"https://api.github.com/users/mp15/gists{/gist_id}","starred_url":"https://api.github.com/users/mp15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mp15/subscriptions","organizations_url":"https://api.github.com/users/mp15/orgs","repos_url":"https://api.github.com/users/mp15/repos","events_url":"https://api.github.com/users/mp15/events{/privacy}","received_events_url":"https://api.github.com/users/mp15/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mp15/htslib","description":"C library for high-throughput sequencing data formats (MP15 private repo)","fork":true,"url":"https://api.github.com/repos/mp15/htslib","forks_url":"https://api.github.com/repos/mp15/htslib/forks","keys_url":"https://api.github.com/repos/mp15/htslib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mp15/htslib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mp15/htslib/teams","hooks_url":"https://api.github.com/repos/mp15/htslib/hooks","issue_events_url":"https://api.github.com/repos/mp15/htslib/issues/events{/number}","events_url":"https://api.github.com/repos/mp15/htslib/events","assignees_url":"https://api.github.com/repos/mp15/htslib/assignees{/user}","branches_url":"https://api.github.com/repos/mp15/htslib/branches{/branch}","tags_url":"https://api.github.com/repos/mp15/htslib/tags","blobs_url":"https://api.github.com/repos/mp15/htslib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mp15/htslib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mp15/htslib/git/refs{/sha}","trees_url":"https://api.github.com/repos/mp15/htslib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mp15/htslib/statuses/{sha}","languages_url":"https://api.github.com/repos/mp15/htslib/languages","stargazers_url":"https://api.github.com/repos/mp15/htslib/stargazers","contributors_url":"https://api.github.com/repos/mp15/htslib/contributors","subscribers_url":"https://api.github.com/repos/mp15/htslib/subscribers","subscription_url":"https://api.github.com/repos/mp15/htslib/subscription","commits_url":"https://api.github.com/repos/mp15/htslib/commits{/sha}","git_commits_url":"https://api.github.com/repos/mp15/htslib/git/commits{/sha}","comments_url":"https://api.github.com/repos/mp15/htslib/comments{/number}","issue_comment_url":"https://api.github.com/repos/mp15/htslib/issues/comments/{number}","contents_url":"https://api.github.com/repos/mp15/htslib/contents/{+path}","compare_url":"https://api.github.com/repos/mp15/htslib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mp15/htslib/merges","archive_url":"https://api.github.com/repos/mp15/htslib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mp15/htslib/downloads","issues_url":"https://api.github.com/repos/mp15/htslib/issues{/number}","pulls_url":"https://api.github.com/repos/mp15/htslib/pulls{/number}","milestones_url":"https://api.github.com/repos/mp15/htslib/milestones{/number}","notifications_url":"https://api.github.com/repos/mp15/htslib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mp15/htslib/labels{/name}","releases_url":"https://api.github.com/repos/mp15/htslib/releases{/id}","created_at":"2012-09-05T13:34:22Z","updated_at":"2014-04-08T15:53:47Z","pushed_at":"2015-01-28T17:16:20Z","git_url":"git://github.com/mp15/htslib.git","ssh_url":"git@github.com:mp15/htslib.git","clone_url":"https://github.com/mp15/htslib.git","svn_url":"https://github.com/mp15/htslib","homepage":"","size":4944,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"samtools:CSIv2","ref":"CSIv2","sha":"d69b87a3138a2ec3e5725f78fa0ba00570dc33ec","user":{"login":"samtools","id":1518450,"avatar_url":"https://avatars.githubusercontent.com/u/1518450?v=3","gravatar_id":"","url":"https://api.github.com/users/samtools","html_url":"https://github.com/samtools","followers_url":"https://api.github.com/users/samtools/followers","following_url":"https://api.github.com/users/samtools/following{/other_user}","gists_url":"https://api.github.com/users/samtools/gists{/gist_id}","starred_url":"https://api.github.com/users/samtools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samtools/subscriptions","organizations_url":"https://api.github.com/users/samtools/orgs","repos_url":"https://api.github.com/users/samtools/repos","events_url":"https://api.github.com/users/samtools/events{/privacy}","received_events_url":"https://api.github.com/users/samtools/received_events","type":"Organization","site_admin":false},"repo":{"id":4339773,"name":"htslib","full_name":"samtools/htslib","owner":{"login":"samtools","id":1518450,"avatar_url":"https://avatars.githubusercontent.com/u/1518450?v=3","gravatar_id":"","url":"https://api.github.com/users/samtools","html_url":"https://github.com/samtools","followers_url":"https://api.github.com/users/samtools/followers","following_url":"https://api.github.com/users/samtools/following{/other_user}","gists_url":"https://api.github.com/users/samtools/gists{/gist_id}","starred_url":"https://api.github.com/users/samtools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samtools/subscriptions","organizations_url":"https://api.github.com/users/samtools/orgs","repos_url":"https://api.github.com/users/samtools/repos","events_url":"https://api.github.com/users/samtools/events{/privacy}","received_events_url":"https://api.github.com/users/samtools/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/samtools/htslib","description":"C library for high-throughput sequencing data formats","fork":false,"url":"https://api.github.com/repos/samtools/htslib","forks_url":"https://api.github.com/repos/samtools/htslib/forks","keys_url":"https://api.github.com/repos/samtools/htslib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samtools/htslib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samtools/htslib/teams","hooks_url":"https://api.github.com/repos/samtools/htslib/hooks","issue_events_url":"https://api.github.com/repos/samtools/htslib/issues/events{/number}","events_url":"https://api.github.com/repos/samtools/htslib/events","assignees_url":"https://api.github.com/repos/samtools/htslib/assignees{/user}","branches_url":"https://api.github.com/repos/samtools/htslib/branches{/branch}","tags_url":"https://api.github.com/repos/samtools/htslib/tags","blobs_url":"https://api.github.com/repos/samtools/htslib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samtools/htslib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samtools/htslib/git/refs{/sha}","trees_url":"https://api.github.com/repos/samtools/htslib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samtools/htslib/statuses/{sha}","languages_url":"https://api.github.com/repos/samtools/htslib/languages","stargazers_url":"https://api.github.com/repos/samtools/htslib/stargazers","contributors_url":"https://api.github.com/repos/samtools/htslib/contributors","subscribers_url":"https://api.github.com/repos/samtools/htslib/subscribers","subscription_url":"https://api.github.com/repos/samtools/htslib/subscription","commits_url":"https://api.github.com/repos/samtools/htslib/commits{/sha}","git_commits_url":"https://api.github.com/repos/samtools/htslib/git/commits{/sha}","comments_url":"https://api.github.com/repos/samtools/htslib/comments{/number}","issue_comment_url":"https://api.github.com/repos/samtools/htslib/issues/comments/{number}","contents_url":"https://api.github.com/repos/samtools/htslib/contents/{+path}","compare_url":"https://api.github.com/repos/samtools/htslib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samtools/htslib/merges","archive_url":"https://api.github.com/repos/samtools/htslib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samtools/htslib/downloads","issues_url":"https://api.github.com/repos/samtools/htslib/issues{/number}","pulls_url":"https://api.github.com/repos/samtools/htslib/pulls{/number}","milestones_url":"https://api.github.com/repos/samtools/htslib/milestones{/number}","notifications_url":"https://api.github.com/repos/samtools/htslib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samtools/htslib/labels{/name}","releases_url":"https://api.github.com/repos/samtools/htslib/releases{/id}","created_at":"2012-05-15T19:34:48Z","updated_at":"2015-01-28T17:15:31Z","pushed_at":"2015-01-28T17:15:30Z","git_url":"git://github.com/samtools/htslib.git","ssh_url":"git@github.com:samtools/htslib.git","clone_url":"https://github.com/samtools/htslib.git","svn_url":"https://github.com/samtools/htslib","homepage":"","size":7864,"stargazers_count":100,"watchers_count":100,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":75,"mirror_url":null,"open_issues_count":38,"forks":75,"open_issues":38,"watchers":100,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/samtools/htslib/pulls/169"},"html":{"href":"https://github.com/samtools/htslib/pull/169"},"issue":{"href":"https://api.github.com/repos/samtools/htslib/issues/169"},"comments":{"href":"https://api.github.com/repos/samtools/htslib/issues/169/comments"},"review_comments":{"href":"https://api.github.com/repos/samtools/htslib/pulls/169/comments"},"review_comment":{"href":"https://api.github.com/repos/samtools/htslib/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/samtools/htslib/pulls/169/commits"},"statuses":{"href":"https://api.github.com/repos/samtools/htslib/statuses/5ba34630e4aa7965aa25a6ed1c6308fd27004ede"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":21,"deletions":4,"changed_files":2}}