{"action":"opened","number":30,"pull_request":{"url":"https://api.github.com/repos/vincenthz/hit/pulls/30","id":38032000,"html_url":"https://github.com/vincenthz/hit/pull/30","diff_url":"https://github.com/vincenthz/hit/pull/30.diff","patch_url":"https://github.com/vincenthz/hit/pull/30.patch","issue_url":"https://api.github.com/repos/vincenthz/hit/issues/30","number":30,"state":"open","locked":false,"title":"GitMonad: to replace Data.Git.FS","user":{"login":"NicolasDP","id":5445840,"avatar_url":"https://avatars.githubusercontent.com/u/5445840?v=3","gravatar_id":"","url":"https://api.github.com/users/NicolasDP","html_url":"https://github.com/NicolasDP","followers_url":"https://api.github.com/users/NicolasDP/followers","following_url":"https://api.github.com/users/NicolasDP/following{/other_user}","gists_url":"https://api.github.com/users/NicolasDP/gists{/gist_id}","starred_url":"https://api.github.com/users/NicolasDP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicolasDP/subscriptions","organizations_url":"https://api.github.com/users/NicolasDP/orgs","repos_url":"https://api.github.com/users/NicolasDP/repos","events_url":"https://api.github.com/users/NicolasDP/events{/privacy}","received_events_url":"https://api.github.com/users/NicolasDP/received_events","type":"User","site_admin":false},"body":"Hello @vincenthz , I would like to replace *Data.Git.FS* with this new module.\r\n\r\nActually, this module has the same goals as *Data.Git.FS*:\r\n* easier way to lookup git's Commits\r\n* easier methods to create new commits\r\n\r\nHowever, this module fixes issues you already reported to me in the precedent Pull Requests associated to *Data.Git.FS*:\r\n* separate the Creation of a commit from the /reading/ of a commit\r\n* use the WorkTree when creating a new commit:\r\n  * do not re-write existing tools\r\n  * WorkTree is more efficient than having the whole tree in-memory (in comparaison with BlobsMap in Data.Git.Fs)\r\n\r\nAlso, I think *Data.Git.Monad* is a better name for the module as it allows operation in a Git or Commit context.\r\n\r\nThis PR also depreciates *Data.Git.FS*.","created_at":"2015-06-18T17:33:03Z","updated_at":"2015-06-18T17:33:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/vincenthz/hit/pulls/30/commits","review_comments_url":"https://api.github.com/repos/vincenthz/hit/pulls/30/comments","review_comment_url":"https://api.github.com/repos/vincenthz/hit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vincenthz/hit/issues/30/comments","statuses_url":"https://api.github.com/repos/vincenthz/hit/statuses/032f65b6e5c750da9521ee36a7ac88751346a017","head":{"label":"NicolasDP:master","ref":"master","sha":"032f65b6e5c750da9521ee36a7ac88751346a017","user":{"login":"NicolasDP","id":5445840,"avatar_url":"https://avatars.githubusercontent.com/u/5445840?v=3","gravatar_id":"","url":"https://api.github.com/users/NicolasDP","html_url":"https://github.com/NicolasDP","followers_url":"https://api.github.com/users/NicolasDP/followers","following_url":"https://api.github.com/users/NicolasDP/following{/other_user}","gists_url":"https://api.github.com/users/NicolasDP/gists{/gist_id}","starred_url":"https://api.github.com/users/NicolasDP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicolasDP/subscriptions","organizations_url":"https://api.github.com/users/NicolasDP/orgs","repos_url":"https://api.github.com/users/NicolasDP/repos","events_url":"https://api.github.com/users/NicolasDP/events{/privacy}","received_events_url":"https://api.github.com/users/NicolasDP/received_events","type":"User","site_admin":false},"repo":{"id":15167023,"name":"hit","full_name":"NicolasDP/hit","owner":{"login":"NicolasDP","id":5445840,"avatar_url":"https://avatars.githubusercontent.com/u/5445840?v=3","gravatar_id":"","url":"https://api.github.com/users/NicolasDP","html_url":"https://github.com/NicolasDP","followers_url":"https://api.github.com/users/NicolasDP/followers","following_url":"https://api.github.com/users/NicolasDP/following{/other_user}","gists_url":"https://api.github.com/users/NicolasDP/gists{/gist_id}","starred_url":"https://api.github.com/users/NicolasDP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicolasDP/subscriptions","organizations_url":"https://api.github.com/users/NicolasDP/orgs","repos_url":"https://api.github.com/users/NicolasDP/repos","events_url":"https://api.github.com/users/NicolasDP/events{/privacy}","received_events_url":"https://api.github.com/users/NicolasDP/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NicolasDP/hit","description":"library to manipulate git repositories in haskell (no bindings)","fork":true,"url":"https://api.github.com/repos/NicolasDP/hit","forks_url":"https://api.github.com/repos/NicolasDP/hit/forks","keys_url":"https://api.github.com/repos/NicolasDP/hit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NicolasDP/hit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NicolasDP/hit/teams","hooks_url":"https://api.github.com/repos/NicolasDP/hit/hooks","issue_events_url":"https://api.github.com/repos/NicolasDP/hit/issues/events{/number}","events_url":"https://api.github.com/repos/NicolasDP/hit/events","assignees_url":"https://api.github.com/repos/NicolasDP/hit/assignees{/user}","branches_url":"https://api.github.com/repos/NicolasDP/hit/branches{/branch}","tags_url":"https://api.github.com/repos/NicolasDP/hit/tags","blobs_url":"https://api.github.com/repos/NicolasDP/hit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NicolasDP/hit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NicolasDP/hit/git/refs{/sha}","trees_url":"https://api.github.com/repos/NicolasDP/hit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NicolasDP/hit/statuses/{sha}","languages_url":"https://api.github.com/repos/NicolasDP/hit/languages","stargazers_url":"https://api.github.com/repos/NicolasDP/hit/stargazers","contributors_url":"https://api.github.com/repos/NicolasDP/hit/contributors","subscribers_url":"https://api.github.com/repos/NicolasDP/hit/subscribers","subscription_url":"https://api.github.com/repos/NicolasDP/hit/subscription","commits_url":"https://api.github.com/repos/NicolasDP/hit/commits{/sha}","git_commits_url":"https://api.github.com/repos/NicolasDP/hit/git/commits{/sha}","comments_url":"https://api.github.com/repos/NicolasDP/hit/comments{/number}","issue_comment_url":"https://api.github.com/repos/NicolasDP/hit/issues/comments{/number}","contents_url":"https://api.github.com/repos/NicolasDP/hit/contents/{+path}","compare_url":"https://api.github.com/repos/NicolasDP/hit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NicolasDP/hit/merges","archive_url":"https://api.github.com/repos/NicolasDP/hit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NicolasDP/hit/downloads","issues_url":"https://api.github.com/repos/NicolasDP/hit/issues{/number}","pulls_url":"https://api.github.com/repos/NicolasDP/hit/pulls{/number}","milestones_url":"https://api.github.com/repos/NicolasDP/hit/milestones{/number}","notifications_url":"https://api.github.com/repos/NicolasDP/hit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NicolasDP/hit/labels{/name}","releases_url":"https://api.github.com/repos/NicolasDP/hit/releases{/id}","created_at":"2013-12-13T15:30:15Z","updated_at":"2015-05-13T13:25:43Z","pushed_at":"2015-06-18T17:13:52Z","git_url":"git://github.com/NicolasDP/hit.git","ssh_url":"git@github.com:NicolasDP/hit.git","clone_url":"https://github.com/NicolasDP/hit.git","svn_url":"https://github.com/NicolasDP/hit","homepage":"","size":480,"stargazers_count":0,"watchers_count":0,"language":"Haskell","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":"vincenthz:master","ref":"master","sha":"6e51f64cf2824830bb077cfd680c1338116bcc88","user":{"login":"vincenthz","id":174631,"avatar_url":"https://avatars.githubusercontent.com/u/174631?v=3","gravatar_id":"","url":"https://api.github.com/users/vincenthz","html_url":"https://github.com/vincenthz","followers_url":"https://api.github.com/users/vincenthz/followers","following_url":"https://api.github.com/users/vincenthz/following{/other_user}","gists_url":"https://api.github.com/users/vincenthz/gists{/gist_id}","starred_url":"https://api.github.com/users/vincenthz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincenthz/subscriptions","organizations_url":"https://api.github.com/users/vincenthz/orgs","repos_url":"https://api.github.com/users/vincenthz/repos","events_url":"https://api.github.com/users/vincenthz/events{/privacy}","received_events_url":"https://api.github.com/users/vincenthz/received_events","type":"User","site_admin":false},"repo":{"id":2440313,"name":"hit","full_name":"vincenthz/hit","owner":{"login":"vincenthz","id":174631,"avatar_url":"https://avatars.githubusercontent.com/u/174631?v=3","gravatar_id":"","url":"https://api.github.com/users/vincenthz","html_url":"https://github.com/vincenthz","followers_url":"https://api.github.com/users/vincenthz/followers","following_url":"https://api.github.com/users/vincenthz/following{/other_user}","gists_url":"https://api.github.com/users/vincenthz/gists{/gist_id}","starred_url":"https://api.github.com/users/vincenthz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincenthz/subscriptions","organizations_url":"https://api.github.com/users/vincenthz/orgs","repos_url":"https://api.github.com/users/vincenthz/repos","events_url":"https://api.github.com/users/vincenthz/events{/privacy}","received_events_url":"https://api.github.com/users/vincenthz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vincenthz/hit","description":"library to manipulate git repositories in haskell (no bindings)","fork":false,"url":"https://api.github.com/repos/vincenthz/hit","forks_url":"https://api.github.com/repos/vincenthz/hit/forks","keys_url":"https://api.github.com/repos/vincenthz/hit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vincenthz/hit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vincenthz/hit/teams","hooks_url":"https://api.github.com/repos/vincenthz/hit/hooks","issue_events_url":"https://api.github.com/repos/vincenthz/hit/issues/events{/number}","events_url":"https://api.github.com/repos/vincenthz/hit/events","assignees_url":"https://api.github.com/repos/vincenthz/hit/assignees{/user}","branches_url":"https://api.github.com/repos/vincenthz/hit/branches{/branch}","tags_url":"https://api.github.com/repos/vincenthz/hit/tags","blobs_url":"https://api.github.com/repos/vincenthz/hit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vincenthz/hit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vincenthz/hit/git/refs{/sha}","trees_url":"https://api.github.com/repos/vincenthz/hit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vincenthz/hit/statuses/{sha}","languages_url":"https://api.github.com/repos/vincenthz/hit/languages","stargazers_url":"https://api.github.com/repos/vincenthz/hit/stargazers","contributors_url":"https://api.github.com/repos/vincenthz/hit/contributors","subscribers_url":"https://api.github.com/repos/vincenthz/hit/subscribers","subscription_url":"https://api.github.com/repos/vincenthz/hit/subscription","commits_url":"https://api.github.com/repos/vincenthz/hit/commits{/sha}","git_commits_url":"https://api.github.com/repos/vincenthz/hit/git/commits{/sha}","comments_url":"https://api.github.com/repos/vincenthz/hit/comments{/number}","issue_comment_url":"https://api.github.com/repos/vincenthz/hit/issues/comments{/number}","contents_url":"https://api.github.com/repos/vincenthz/hit/contents/{+path}","compare_url":"https://api.github.com/repos/vincenthz/hit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vincenthz/hit/merges","archive_url":"https://api.github.com/repos/vincenthz/hit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vincenthz/hit/downloads","issues_url":"https://api.github.com/repos/vincenthz/hit/issues{/number}","pulls_url":"https://api.github.com/repos/vincenthz/hit/pulls{/number}","milestones_url":"https://api.github.com/repos/vincenthz/hit/milestones{/number}","notifications_url":"https://api.github.com/repos/vincenthz/hit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vincenthz/hit/labels{/name}","releases_url":"https://api.github.com/repos/vincenthz/hit/releases{/id}","created_at":"2011-09-22T21:35:50Z","updated_at":"2015-06-09T09:53:20Z","pushed_at":"2015-06-15T20:34:26Z","git_url":"git://github.com/vincenthz/hit.git","ssh_url":"git@github.com:vincenthz/hit.git","clone_url":"https://github.com/vincenthz/hit.git","svn_url":"https://github.com/vincenthz/hit","homepage":"","size":633,"stargazers_count":29,"watchers_count":29,"language":"Haskell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":7,"forks":5,"open_issues":7,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vincenthz/hit/pulls/30"},"html":{"href":"https://github.com/vincenthz/hit/pull/30"},"issue":{"href":"https://api.github.com/repos/vincenthz/hit/issues/30"},"comments":{"href":"https://api.github.com/repos/vincenthz/hit/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/vincenthz/hit/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/vincenthz/hit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vincenthz/hit/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/vincenthz/hit/statuses/032f65b6e5c750da9521ee36a7ac88751346a017"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":798,"deletions":14,"changed_files":6}}