GitHub PullRequestEvent at 2014-09-12 16:10:49
Repository: libvirt-go
Actor: cbosdo
Payload: {"action":"opened","number":32,"pull_request":{"url":"https://api.github.com/repos/alexzorin/libvirt-go/pulls/32","id":21162586,"html_url":"https://github.com/alexzorin/libvirt-go/pull/32","diff_url":"https://github.com/alexzorin/libvirt-go/pull/32.diff","patch_url":"https://github.com/alexzorin/libvirt-go/pull/32.patch","issue_url":"https://api.github.com/repos/alexzorin/libvirt-go/issues/32","number":32,"state":"open","locked":false,"title":"Mapping for errors","user":{"login":"cbosdo","id":397931,"avatar_url":"https://avatars.githubusercontent.com/u/397931?v=2","gravatar_id":"fff6fa0b25c99ce1b0e0f41d2519e301","url":"https://api.github.com/users/cbosdo","html_url":"https://github.com/cbosdo","followers_url":"https://api.github.com/users/cbosdo/followers","following_url":"https://api.github.com/users/cbosdo/following{/other_user}","gists_url":"https://api.github.com/users/cbosdo/gists{/gist_id}","starred_url":"https://api.github.com/users/cbosdo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbosdo/subscriptions","organizations_url":"https://api.github.com/users/cbosdo/orgs","repos_url":"https://api.github.com/users/cbosdo/repos","events_url":"https://api.github.com/users/cbosdo/events{/privacy}","received_events_url":"https://api.github.com/users/cbosdo/received_events","type":"User","site_admin":false},"body":"**Note**: this commit changes libvirt.GetLastError() return value. I'm not sure if it's OK to break API compatibility. Otherwise, we could try to find another name for it.\r\n\r\nChanged GetLastError to return VirError instead of a simple string.\r\nVirError helps getting easy access to the error code, level and domain.\r\nVirError implements the error interface for easy use.","created_at":"2014-09-12T16:10:49Z","updated_at":"2014-09-12T16:10:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alexzorin/libvirt-go/pulls/32/commits","review_comments_url":"https://api.github.com/repos/alexzorin/libvirt-go/pulls/32/comments","review_comment_url":"https://api.github.com/repos/alexzorin/libvirt-go/pulls/comments/{number}","comments_url":"https://api.github.com/repos/alexzorin/libvirt-go/issues/32/comments","statuses_url":"https://api.github.com/repos/alexzorin/libvirt-go/statuses/5d46518b134794b88ac32faec1ef8359ff225617","head":{"label":"cbosdo:master","ref":"master","sha":"5d46518b134794b88ac32faec1ef8359ff225617","user":{"login":"cbosdo","id":397931,"avatar_url":"https://avatars.githubusercontent.com/u/397931?v=2","gravatar_id":"fff6fa0b25c99ce1b0e0f41d2519e301","url":"https://api.github.com/users/cbosdo","html_url":"https://github.com/cbosdo","followers_url":"https://api.github.com/users/cbosdo/followers","following_url":"https://api.github.com/users/cbosdo/following{/other_user}","gists_url":"https://api.github.com/users/cbosdo/gists{/gist_id}","starred_url":"https://api.github.com/users/cbosdo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbosdo/subscriptions","organizations_url":"https://api.github.com/users/cbosdo/orgs","repos_url":"https://api.github.com/users/cbosdo/repos","events_url":"https://api.github.com/users/cbosdo/events{/privacy}","received_events_url":"https://api.github.com/users/cbosdo/received_events","type":"User","site_admin":false},"repo":{"id":23866613,"name":"libvirt-go","full_name":"cbosdo/libvirt-go","owner":{"login":"cbosdo","id":397931,"avatar_url":"https://avatars.githubusercontent.com/u/397931?v=2","gravatar_id":"fff6fa0b25c99ce1b0e0f41d2519e301","url":"https://api.github.com/users/cbosdo","html_url":"https://github.com/cbosdo","followers_url":"https://api.github.com/users/cbosdo/followers","following_url":"https://api.github.com/users/cbosdo/following{/other_user}","gists_url":"https://api.github.com/users/cbosdo/gists{/gist_id}","starred_url":"https://api.github.com/users/cbosdo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbosdo/subscriptions","organizations_url":"https://api.github.com/users/cbosdo/orgs","repos_url":"https://api.github.com/users/cbosdo/repos","events_url":"https://api.github.com/users/cbosdo/events{/privacy}","received_events_url":"https://api.github.com/users/cbosdo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cbosdo/libvirt-go","description":"Go bindings for libvirt","fork":true,"url":"https://api.github.com/repos/cbosdo/libvirt-go","forks_url":"https://api.github.com/repos/cbosdo/libvirt-go/forks","keys_url":"https://api.github.com/repos/cbosdo/libvirt-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cbosdo/libvirt-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cbosdo/libvirt-go/teams","hooks_url":"https://api.github.com/repos/cbosdo/libvirt-go/hooks","issue_events_url":"https://api.github.com/repos/cbosdo/libvirt-go/issues/events{/number}","events_url":"https://api.github.com/repos/cbosdo/libvirt-go/events","assignees_url":"https://api.github.com/repos/cbosdo/libvirt-go/assignees{/user}","branches_url":"https://api.github.com/repos/cbosdo/libvirt-go/branches{/branch}","tags_url":"https://api.github.com/repos/cbosdo/libvirt-go/tags","blobs_url":"https://api.github.com/repos/cbosdo/libvirt-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cbosdo/libvirt-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cbosdo/libvirt-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/cbosdo/libvirt-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cbosdo/libvirt-go/statuses/{sha}","languages_url":"https://api.github.com/repos/cbosdo/libvirt-go/languages","stargazers_url":"https://api.github.com/repos/cbosdo/libvirt-go/stargazers","contributors_url":"https://api.github.com/repos/cbosdo/libvirt-go/contributors","subscribers_url":"https://api.github.com/repos/cbosdo/libvirt-go/subscribers","subscription_url":"https://api.github.com/repos/cbosdo/libvirt-go/subscription","commits_url":"https://api.github.com/repos/cbosdo/libvirt-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/cbosdo/libvirt-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/cbosdo/libvirt-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/cbosdo/libvirt-go/issues/comments/{number}","contents_url":"https://api.github.com/repos/cbosdo/libvirt-go/contents/{+path}","compare_url":"https://api.github.com/repos/cbosdo/libvirt-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cbosdo/libvirt-go/merges","archive_url":"https://api.github.com/repos/cbosdo/libvirt-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cbosdo/libvirt-go/downloads","issues_url":"https://api.github.com/repos/cbosdo/libvirt-go/issues{/number}","pulls_url":"https://api.github.com/repos/cbosdo/libvirt-go/pulls{/number}","milestones_url":"https://api.github.com/repos/cbosdo/libvirt-go/milestones{/number}","notifications_url":"https://api.github.com/repos/cbosdo/libvirt-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cbosdo/libvirt-go/labels{/name}","releases_url":"https://api.github.com/repos/cbosdo/libvirt-go/releases{/id}","created_at":"2014-09-10T08:24:09Z","updated_at":"2014-09-10T08:29:06Z","pushed_at":"2014-09-12T16:09:05Z","git_url":"git://github.com/cbosdo/libvirt-go.git","ssh_url":"git@github.com:cbosdo/libvirt-go.git","clone_url":"https://github.com/cbosdo/libvirt-go.git","svn_url":"https://github.com/cbosdo/libvirt-go","homepage":null,"size":1262,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"alexzorin:master","ref":"master","sha":"6748d903e9bbd995667182e0c2f96aee7c1b0664","user":{"login":"alexzorin","id":311534,"avatar_url":"https://avatars.githubusercontent.com/u/311534?v=2","gravatar_id":"6733e571e6446e0836dc1f31c2bbeeaa","url":"https://api.github.com/users/alexzorin","html_url":"https://github.com/alexzorin","followers_url":"https://api.github.com/users/alexzorin/followers","following_url":"https://api.github.com/users/alexzorin/following{/other_user}","gists_url":"https://api.github.com/users/alexzorin/gists{/gist_id}","starred_url":"https://api.github.com/users/alexzorin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexzorin/subscriptions","organizations_url":"https://api.github.com/users/alexzorin/orgs","repos_url":"https://api.github.com/users/alexzorin/repos","events_url":"https://api.github.com/users/alexzorin/events{/privacy}","received_events_url":"https://api.github.com/users/alexzorin/received_events","type":"User","site_admin":false},"repo":{"id":12176520,"name":"libvirt-go","full_name":"alexzorin/libvirt-go","owner":{"login":"alexzorin","id":311534,"avatar_url":"https://avatars.githubusercontent.com/u/311534?v=2","gravatar_id":"6733e571e6446e0836dc1f31c2bbeeaa","url":"https://api.github.com/users/alexzorin","html_url":"https://github.com/alexzorin","followers_url":"https://api.github.com/users/alexzorin/followers","following_url":"https://api.github.com/users/alexzorin/following{/other_user}","gists_url":"https://api.github.com/users/alexzorin/gists{/gist_id}","starred_url":"https://api.github.com/users/alexzorin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexzorin/subscriptions","organizations_url":"https://api.github.com/users/alexzorin/orgs","repos_url":"https://api.github.com/users/alexzorin/repos","events_url":"https://api.github.com/users/alexzorin/events{/privacy}","received_events_url":"https://api.github.com/users/alexzorin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alexzorin/libvirt-go","description":"Go bindings for libvirt","fork":false,"url":"https://api.github.com/repos/alexzorin/libvirt-go","forks_url":"https://api.github.com/repos/alexzorin/libvirt-go/forks","keys_url":"https://api.github.com/repos/alexzorin/libvirt-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alexzorin/libvirt-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alexzorin/libvirt-go/teams","hooks_url":"https://api.github.com/repos/alexzorin/libvirt-go/hooks","issue_events_url":"https://api.github.com/repos/alexzorin/libvirt-go/issues/events{/number}","events_url":"https://api.github.com/repos/alexzorin/libvirt-go/events","assignees_url":"https://api.github.com/repos/alexzorin/libvirt-go/assignees{/user}","branches_url":"https://api.github.com/repos/alexzorin/libvirt-go/branches{/branch}","tags_url":"https://api.github.com/repos/alexzorin/libvirt-go/tags","blobs_url":"https://api.github.com/repos/alexzorin/libvirt-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alexzorin/libvirt-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alexzorin/libvirt-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/alexzorin/libvirt-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alexzorin/libvirt-go/statuses/{sha}","languages_url":"https://api.github.com/repos/alexzorin/libvirt-go/languages","stargazers_url":"https://api.github.com/repos/alexzorin/libvirt-go/stargazers","contributors_url":"https://api.github.com/repos/alexzorin/libvirt-go/contributors","subscribers_url":"https://api.github.com/repos/alexzorin/libvirt-go/subscribers","subscription_url":"https://api.github.com/repos/alexzorin/libvirt-go/subscription","commits_url":"https://api.github.com/repos/alexzorin/libvirt-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/alexzorin/libvirt-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/alexzorin/libvirt-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/alexzorin/libvirt-go/issues/comments/{number}","contents_url":"https://api.github.com/repos/alexzorin/libvirt-go/contents/{+path}","compare_url":"https://api.github.com/repos/alexzorin/libvirt-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alexzorin/libvirt-go/merges","archive_url":"https://api.github.com/repos/alexzorin/libvirt-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alexzorin/libvirt-go/downloads","issues_url":"https://api.github.com/repos/alexzorin/libvirt-go/issues{/number}","pulls_url":"https://api.github.com/repos/alexzorin/libvirt-go/pulls{/number}","milestones_url":"https://api.github.com/repos/alexzorin/libvirt-go/milestones{/number}","notifications_url":"https://api.github.com/repos/alexzorin/libvirt-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alexzorin/libvirt-go/labels{/name}","releases_url":"https://api.github.com/repos/alexzorin/libvirt-go/releases{/id}","created_at":"2013-08-17T09:23:47Z","updated_at":"2014-09-04T01:51:37Z","pushed_at":"2014-09-11T10:13:32Z","git_url":"git://github.com/alexzorin/libvirt-go.git","ssh_url":"git@github.com:alexzorin/libvirt-go.git","clone_url":"https://github.com/alexzorin/libvirt-go.git","svn_url":"https://github.com/alexzorin/libvirt-go","homepage":null,"size":1262,"stargazers_count":38,"watchers_count":38,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":10,"mirror_url":null,"open_issues_count":2,"forks":10,"open_issues":2,"watchers":38,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alexzorin/libvirt-go/pulls/32"},"html":{"href":"https://github.com/alexzorin/libvirt-go/pull/32"},"issue":{"href":"https://api.github.com/repos/alexzorin/libvirt-go/issues/32"},"comments":{"href":"https://api.github.com/repos/alexzorin/libvirt-go/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/alexzorin/libvirt-go/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/alexzorin/libvirt-go/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/alexzorin/libvirt-go/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/alexzorin/libvirt-go/statuses/5d46518b134794b88ac32faec1ef8359ff225617"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":554,"deletions":61,"changed_files":2}}