{"pull_request":{"title":"Build libgit2 as a static library target of objective-git","user":{"login":"rowanj","id":47049,"url":"https://api.github.com/users/rowanj","avatar_url":"https://secure.gravatar.com/avatar/9efe3f598aee1651a312c39df06c2583?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"9efe3f598aee1651a312c39df06c2583"},"created_at":"2011-12-25T08:07:16Z","merged_at":null,"review_comments":0,"state":"open","updated_at":"2011-12-25T08:07:16Z","id":629464,"patch_url":"https://github.com/libgit2/objective-git/pull/52.patch","closed_at":null,"deletions":6,"html_url":"https://github.com/libgit2/objective-git/pull/52","mergeable":null,"issue_url":"https://github.com/libgit2/objective-git/issues/52","base":{"ref":"master","user":{"login":"libgit2","id":394745,"url":"https://api.github.com/users/libgit2","avatar_url":"https://secure.gravatar.com/avatar/49c3453fbde5924367fe24c785c417c0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","gravatar_id":"49c3453fbde5924367fe24c785c417c0"},"sha":"d52ff873e76b7b186c95fa810cbcb24e8d3d3b81","repo":{"watchers":158,"git_url":"git://github.com/libgit2/objective-git.git","created_at":"2011-03-01T21:28:58Z","open_issues":9,"fork":false,"updated_at":"2011-12-24T04:32:58Z","id":1427977,"language":"Objective-C","html_url":"https://github.com/libgit2/objective-git","name":"objective-git","master_branch":null,"description":"Objective-C bindings to libgit2","url":"https://api.github.com/repos/libgit2/objective-git","clone_url":"https://github.com/libgit2/objective-git.git","ssh_url":"git@github.com:libgit2/objective-git.git","forks":22,"pushed_at":"2011-12-24T04:32:58Z","owner":{"login":"libgit2","id":394745,"url":"https://api.github.com/users/libgit2","avatar_url":"https://secure.gravatar.com/avatar/49c3453fbde5924367fe24c785c417c0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","gravatar_id":"49c3453fbde5924367fe24c785c417c0"},"homepage":"","svn_url":"https://github.com/libgit2/objective-git","size":136,"private":false},"label":"libgit2:master"},"body":"Build `libgit2.a` as a static library target of `ObjectiveGitFramework.xcodeproj` with a shell-script build stage via CMake.\r\n\r\nThis introduces the build-time dependencies of libgit2 (CMake + unix development environment, by default) but has the benefits of:\r\n\r\n * Doesn't require `libgit2.a` to be comitted to the repository\r\n  * Rebuilds `libgit2.a` when updated sources are present (or after a 'clean'); good for frequent tracking of upstream repos\r\n  * Build configuration of `libgit2.a` as used can be viewed and modified\r\n * Doesn't need the `ObjectiveGitFramework` project file to be upgraded when `libgit2` sources are added or renamed, as the upstream build system is used\r\n * Interoperates transparently with Xcode project 'target dependencies' and 'link binary with libraries' build stages. Good for when the host project also wants to use `libgit2` directly.\r\n * Runs the `libgit2_test` suite when a new library is built, before it is copied\r\n\r\nNotes:\r\n\r\n * this approach could be trivially converted to build a shared (`*.dylib`) library\r\n * this introduces build-time dependency on CMake\r\n * CMake's Makefile generator depends on a working unix dev environment\r\n","number":52,"additions":103,"commits":2,"url":"https://api.github.com/repos/libgit2/objective-git/pulls/52","_links":{"review_comments":{"href":"https://api.github.com/repos/libgit2/objective-git/pulls/52/comments"},"html":{"href":"https://github.com/libgit2/objective-git/pull/52"},"self":{"href":"https://api.github.com/repos/libgit2/objective-git/pulls/52"},"comments":{"href":"https://api.github.com/repos/libgit2/objective-git/issues/52/comments"}},"diff_url":"https://github.com/libgit2/objective-git/pull/52.diff","merged_by":null,"comments":0,"head":{"ref":"build","user":{"login":"rowanj","id":47049,"url":"https://api.github.com/users/rowanj","avatar_url":"https://secure.gravatar.com/avatar/9efe3f598aee1651a312c39df06c2583?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"9efe3f598aee1651a312c39df06c2583"},"sha":"d190aefdf0847d69750c5d8b395d6d78803efd29","repo":{"watchers":1,"git_url":"git://github.com/rowanj/objective-git.git","created_at":"2011-09-10T04:20:27Z","open_issues":0,"fork":true,"updated_at":"2011-12-25T07:19:12Z","id":2359508,"language":"Objective-C","html_url":"https://github.com/rowanj/objective-git","name":"objective-git","master_branch":null,"description":"Objective-C bindings to libgit2","url":"https://api.github.com/repos/rowanj/objective-git","clone_url":"https://github.com/rowanj/objective-git.git","ssh_url":"git@github.com:rowanj/objective-git.git","forks":0,"pushed_at":"2011-12-25T07:19:12Z","owner":{"login":"rowanj","id":47049,"url":"https://api.github.com/users/rowanj","avatar_url":"https://secure.gravatar.com/avatar/9efe3f598aee1651a312c39df06c2583?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"9efe3f598aee1651a312c39df06c2583"},"homepage":"","svn_url":"https://github.com/rowanj/objective-git","size":140,"private":false},"label":"rowanj:build"},"changed_files":2,"merged":false},"number":52,"action":"opened"}