{"action":"opened","number":361,"pull_request":{"url":"https://api.github.com/repos/libgit2/git2go/pulls/361","id":102463554,"html_url":"https://github.com/libgit2/git2go/pull/361","diff_url":"https://github.com/libgit2/git2go/pull/361.diff","patch_url":"https://github.com/libgit2/git2go/pull/361.patch","issue_url":"https://api.github.com/repos/libgit2/git2go/issues/361","number":361,"state":"open","locked":false,"title":"Link dynamically or statically depending on build flags","user":{"login":"carlosmn","id":335443,"avatar_url":"https://avatars.githubusercontent.com/u/335443?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosmn","html_url":"https://github.com/carlosmn","followers_url":"https://api.github.com/users/carlosmn/followers","following_url":"https://api.github.com/users/carlosmn/following{/other_user}","gists_url":"https://api.github.com/users/carlosmn/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosmn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosmn/subscriptions","organizations_url":"https://api.github.com/users/carlosmn/orgs","repos_url":"https://api.github.com/users/carlosmn/repos","events_url":"https://api.github.com/users/carlosmn/events{/privacy}","received_events_url":"https://api.github.com/users/carlosmn/received_events","type":"User","site_admin":true},"body":"This lets us specify which set of rules to link to libgit2 we'll use during\r\nbuild. Together with the changes to the Makefile, this lets you specify\r\n\r\n    make install\r\n\r\nor\r\n\r\n    make install-static\r\n\r\nto build either dynamically against the system-provided library or against the\r\nversion specified in the submodule.\r\n\r\nThe dynamic linking against the system library is still the default in order to\r\nallow for the Go toolchain to build it when it's used as a dependency.","created_at":"2017-01-20T13:35:46Z","updated_at":"2017-01-20T13:35:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/libgit2/git2go/pulls/361/commits","review_comments_url":"https://api.github.com/repos/libgit2/git2go/pulls/361/comments","review_comment_url":"https://api.github.com/repos/libgit2/git2go/pulls/comments{/number}","comments_url":"https://api.github.com/repos/libgit2/git2go/issues/361/comments","statuses_url":"https://api.github.com/repos/libgit2/git2go/statuses/bbe9884c355ec805d55ec22eb5421402abc9d1fc","head":{"label":"libgit2:cmn/link-tags-v25","ref":"cmn/link-tags-v25","sha":"bbe9884c355ec805d55ec22eb5421402abc9d1fc","user":{"login":"libgit2","id":394745,"avatar_url":"https://avatars.githubusercontent.com/u/394745?v=3","gravatar_id":"","url":"https://api.github.com/users/libgit2","html_url":"https://github.com/libgit2","followers_url":"https://api.github.com/users/libgit2/followers","following_url":"https://api.github.com/users/libgit2/following{/other_user}","gists_url":"https://api.github.com/users/libgit2/gists{/gist_id}","starred_url":"https://api.github.com/users/libgit2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libgit2/subscriptions","organizations_url":"https://api.github.com/users/libgit2/orgs","repos_url":"https://api.github.com/users/libgit2/repos","events_url":"https://api.github.com/users/libgit2/events{/privacy}","received_events_url":"https://api.github.com/users/libgit2/received_events","type":"Organization","site_admin":false},"repo":{"id":8587669,"name":"git2go","full_name":"libgit2/git2go","owner":{"login":"libgit2","id":394745,"avatar_url":"https://avatars.githubusercontent.com/u/394745?v=3","gravatar_id":"","url":"https://api.github.com/users/libgit2","html_url":"https://github.com/libgit2","followers_url":"https://api.github.com/users/libgit2/followers","following_url":"https://api.github.com/users/libgit2/following{/other_user}","gists_url":"https://api.github.com/users/libgit2/gists{/gist_id}","starred_url":"https://api.github.com/users/libgit2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libgit2/subscriptions","organizations_url":"https://api.github.com/users/libgit2/orgs","repos_url":"https://api.github.com/users/libgit2/repos","events_url":"https://api.github.com/users/libgit2/events{/privacy}","received_events_url":"https://api.github.com/users/libgit2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/libgit2/git2go","description":"Git to Go. Like McDonald's but tastier.","fork":false,"url":"https://api.github.com/repos/libgit2/git2go","forks_url":"https://api.github.com/repos/libgit2/git2go/forks","keys_url":"https://api.github.com/repos/libgit2/git2go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/libgit2/git2go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/libgit2/git2go/teams","hooks_url":"https://api.github.com/repos/libgit2/git2go/hooks","issue_events_url":"https://api.github.com/repos/libgit2/git2go/issues/events{/number}","events_url":"https://api.github.com/repos/libgit2/git2go/events","assignees_url":"https://api.github.com/repos/libgit2/git2go/assignees{/user}","branches_url":"https://api.github.com/repos/libgit2/git2go/branches{/branch}","tags_url":"https://api.github.com/repos/libgit2/git2go/tags","blobs_url":"https://api.github.com/repos/libgit2/git2go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/libgit2/git2go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/libgit2/git2go/git/refs{/sha}","trees_url":"https://api.github.com/repos/libgit2/git2go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/libgit2/git2go/statuses/{sha}","languages_url":"https://api.github.com/repos/libgit2/git2go/languages","stargazers_url":"https://api.github.com/repos/libgit2/git2go/stargazers","contributors_url":"https://api.github.com/repos/libgit2/git2go/contributors","subscribers_url":"https://api.github.com/repos/libgit2/git2go/subscribers","subscription_url":"https://api.github.com/repos/libgit2/git2go/subscription","commits_url":"https://api.github.com/repos/libgit2/git2go/commits{/sha}","git_commits_url":"https://api.github.com/repos/libgit2/git2go/git/commits{/sha}","comments_url":"https://api.github.com/repos/libgit2/git2go/comments{/number}","issue_comment_url":"https://api.github.com/repos/libgit2/git2go/issues/comments{/number}","contents_url":"https://api.github.com/repos/libgit2/git2go/contents/{+path}","compare_url":"https://api.github.com/repos/libgit2/git2go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/libgit2/git2go/merges","archive_url":"https://api.github.com/repos/libgit2/git2go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/libgit2/git2go/downloads","issues_url":"https://api.github.com/repos/libgit2/git2go/issues{/number}","pulls_url":"https://api.github.com/repos/libgit2/git2go/pulls{/number}","milestones_url":"https://api.github.com/repos/libgit2/git2go/milestones{/number}","notifications_url":"https://api.github.com/repos/libgit2/git2go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/libgit2/git2go/labels{/name}","releases_url":"https://api.github.com/repos/libgit2/git2go/releases{/id}","deployments_url":"https://api.github.com/repos/libgit2/git2go/deployments","created_at":"2013-03-05T19:50:43Z","updated_at":"2017-01-20T06:29:49Z","pushed_at":"2017-01-20T13:12:24Z","git_url":"git://github.com/libgit2/git2go.git","ssh_url":"git@github.com:libgit2/git2go.git","clone_url":"https://github.com/libgit2/git2go.git","svn_url":"https://github.com/libgit2/git2go","homepage":null,"size":715,"stargazers_count":931,"watchers_count":931,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":165,"mirror_url":null,"open_issues_count":43,"forks":165,"open_issues":43,"watchers":931,"default_branch":"master"}},"base":{"label":"libgit2:v25","ref":"v25","sha":"f0554d8c8b926ea3a5ba0f04ea3ed47a6a6882ba","user":{"login":"libgit2","id":394745,"avatar_url":"https://avatars.githubusercontent.com/u/394745?v=3","gravatar_id":"","url":"https://api.github.com/users/libgit2","html_url":"https://github.com/libgit2","followers_url":"https://api.github.com/users/libgit2/followers","following_url":"https://api.github.com/users/libgit2/following{/other_user}","gists_url":"https://api.github.com/users/libgit2/gists{/gist_id}","starred_url":"https://api.github.com/users/libgit2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libgit2/subscriptions","organizations_url":"https://api.github.com/users/libgit2/orgs","repos_url":"https://api.github.com/users/libgit2/repos","events_url":"https://api.github.com/users/libgit2/events{/privacy}","received_events_url":"https://api.github.com/users/libgit2/received_events","type":"Organization","site_admin":false},"repo":{"id":8587669,"name":"git2go","full_name":"libgit2/git2go","owner":{"login":"libgit2","id":394745,"avatar_url":"https://avatars.githubusercontent.com/u/394745?v=3","gravatar_id":"","url":"https://api.github.com/users/libgit2","html_url":"https://github.com/libgit2","followers_url":"https://api.github.com/users/libgit2/followers","following_url":"https://api.github.com/users/libgit2/following{/other_user}","gists_url":"https://api.github.com/users/libgit2/gists{/gist_id}","starred_url":"https://api.github.com/users/libgit2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libgit2/subscriptions","organizations_url":"https://api.github.com/users/libgit2/orgs","repos_url":"https://api.github.com/users/libgit2/repos","events_url":"https://api.github.com/users/libgit2/events{/privacy}","received_events_url":"https://api.github.com/users/libgit2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/libgit2/git2go","description":"Git to Go. Like McDonald's but tastier.","fork":false,"url":"https://api.github.com/repos/libgit2/git2go","forks_url":"https://api.github.com/repos/libgit2/git2go/forks","keys_url":"https://api.github.com/repos/libgit2/git2go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/libgit2/git2go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/libgit2/git2go/teams","hooks_url":"https://api.github.com/repos/libgit2/git2go/hooks","issue_events_url":"https://api.github.com/repos/libgit2/git2go/issues/events{/number}","events_url":"https://api.github.com/repos/libgit2/git2go/events","assignees_url":"https://api.github.com/repos/libgit2/git2go/assignees{/user}","branches_url":"https://api.github.com/repos/libgit2/git2go/branches{/branch}","tags_url":"https://api.github.com/repos/libgit2/git2go/tags","blobs_url":"https://api.github.com/repos/libgit2/git2go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/libgit2/git2go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/libgit2/git2go/git/refs{/sha}","trees_url":"https://api.github.com/repos/libgit2/git2go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/libgit2/git2go/statuses/{sha}","languages_url":"https://api.github.com/repos/libgit2/git2go/languages","stargazers_url":"https://api.github.com/repos/libgit2/git2go/stargazers","contributors_url":"https://api.github.com/repos/libgit2/git2go/contributors","subscribers_url":"https://api.github.com/repos/libgit2/git2go/subscribers","subscription_url":"https://api.github.com/repos/libgit2/git2go/subscription","commits_url":"https://api.github.com/repos/libgit2/git2go/commits{/sha}","git_commits_url":"https://api.github.com/repos/libgit2/git2go/git/commits{/sha}","comments_url":"https://api.github.com/repos/libgit2/git2go/comments{/number}","issue_comment_url":"https://api.github.com/repos/libgit2/git2go/issues/comments{/number}","contents_url":"https://api.github.com/repos/libgit2/git2go/contents/{+path}","compare_url":"https://api.github.com/repos/libgit2/git2go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/libgit2/git2go/merges","archive_url":"https://api.github.com/repos/libgit2/git2go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/libgit2/git2go/downloads","issues_url":"https://api.github.com/repos/libgit2/git2go/issues{/number}","pulls_url":"https://api.github.com/repos/libgit2/git2go/pulls{/number}","milestones_url":"https://api.github.com/repos/libgit2/git2go/milestones{/number}","notifications_url":"https://api.github.com/repos/libgit2/git2go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/libgit2/git2go/labels{/name}","releases_url":"https://api.github.com/repos/libgit2/git2go/releases{/id}","deployments_url":"https://api.github.com/repos/libgit2/git2go/deployments","created_at":"2013-03-05T19:50:43Z","updated_at":"2017-01-20T06:29:49Z","pushed_at":"2017-01-20T13:12:24Z","git_url":"git://github.com/libgit2/git2go.git","ssh_url":"git@github.com:libgit2/git2go.git","clone_url":"https://github.com/libgit2/git2go.git","svn_url":"https://github.com/libgit2/git2go","homepage":null,"size":715,"stargazers_count":931,"watchers_count":931,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":165,"mirror_url":null,"open_issues_count":43,"forks":165,"open_issues":43,"watchers":931,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/libgit2/git2go/pulls/361"},"html":{"href":"https://github.com/libgit2/git2go/pull/361"},"issue":{"href":"https://api.github.com/repos/libgit2/git2go/issues/361"},"comments":{"href":"https://api.github.com/repos/libgit2/git2go/issues/361/comments"},"review_comments":{"href":"https://api.github.com/repos/libgit2/git2go/pulls/361/comments"},"review_comment":{"href":"https://api.github.com/repos/libgit2/git2go/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/libgit2/git2go/pulls/361/commits"},"statuses":{"href":"https://api.github.com/repos/libgit2/git2go/statuses/bbe9884c355ec805d55ec22eb5421402abc9d1fc"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":38,"deletions":2,"changed_files":6}}
{"actor":{"display_login":"carlosmn"}}