{"action":"created","issue":{"url":"https://api.github.com/repos/mirage/irmin/issues/71","labels_url":"https://api.github.com/repos/mirage/irmin/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/mirage/irmin/issues/71/comments","events_url":"https://api.github.com/repos/mirage/irmin/issues/71/events","html_url":"https://github.com/mirage/irmin/issues/71","id":36564445,"number":71,"title":"Implement a simple GC","user":{"login":"samoht","id":103693,"avatar_url":"https://avatars.githubusercontent.com/u/103693?v=3","gravatar_id":"","url":"https://api.github.com/users/samoht","html_url":"https://github.com/samoht","followers_url":"https://api.github.com/users/samoht/followers","following_url":"https://api.github.com/users/samoht/following{/other_user}","gists_url":"https://api.github.com/users/samoht/gists{/gist_id}","starred_url":"https://api.github.com/users/samoht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samoht/subscriptions","organizations_url":"https://api.github.com/users/samoht/orgs","repos_url":"https://api.github.com/users/samoht/repos","events_url":"https://api.github.com/users/samoht/events{/privacy}","received_events_url":"https://api.github.com/users/samoht/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mirage/irmin/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mirage/irmin/milestones/6","labels_url":"https://api.github.com/repos/mirage/irmin/milestones/6/labels","id":922437,"number":6,"title":"Next","description":"","creator":{"login":"samoht","id":103693,"avatar_url":"https://avatars.githubusercontent.com/u/103693?v=3","gravatar_id":"","url":"https://api.github.com/users/samoht","html_url":"https://github.com/samoht","followers_url":"https://api.github.com/users/samoht/followers","following_url":"https://api.github.com/users/samoht/following{/other_user}","gists_url":"https://api.github.com/users/samoht/gists{/gist_id}","starred_url":"https://api.github.com/users/samoht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samoht/subscriptions","organizations_url":"https://api.github.com/users/samoht/orgs","repos_url":"https://api.github.com/users/samoht/repos","events_url":"https://api.github.com/users/samoht/events{/privacy}","received_events_url":"https://api.github.com/users/samoht/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":0,"state":"open","created_at":"2015-01-05T17:14:16Z","updated_at":"2015-01-05T17:17:57Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2014-06-26T10:44:02Z","updated_at":"2015-02-16T19:52:35Z","closed_at":null,"body":"If we want to have Irmin running on real systems we need a story about data recollection:\r\n\r\n1. unreachable blocks in the store should be collected\r\n2. very old objects might need to be removed\r\n\r\nFor simplicity, 2. can be transformed into 1. by rebasing the history. A downside with this is that two rebased stores are not able to sync anymore (if they pruned different parts of their history). Solving 2. without transforming it into 1. means supporting partial fetch/push, which the Git protocol doesn't handle very well (not sure if it is a limitation of the `git` command-line or of the protocol itself, need to investigate a bit more)."},"comment":{"url":"https://api.github.com/repos/mirage/irmin/issues/comments/74563338","html_url":"https://github.com/mirage/irmin/issues/71#issuecomment-74563338","issue_url":"https://api.github.com/repos/mirage/irmin/issues/71","id":74563338,"user":{"login":"samoht","id":103693,"avatar_url":"https://avatars.githubusercontent.com/u/103693?v=3","gravatar_id":"","url":"https://api.github.com/users/samoht","html_url":"https://github.com/samoht","followers_url":"https://api.github.com/users/samoht/followers","following_url":"https://api.github.com/users/samoht/following{/other_user}","gists_url":"https://api.github.com/users/samoht/gists{/gist_id}","starred_url":"https://api.github.com/users/samoht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samoht/subscriptions","organizations_url":"https://api.github.com/users/samoht/orgs","repos_url":"https://api.github.com/users/samoht/repos","events_url":"https://api.github.com/users/samoht/events{/privacy}","received_events_url":"https://api.github.com/users/samoht/received_events","type":"User","site_admin":false},"created_at":"2015-02-16T19:52:35Z","updated_at":"2015-02-16T19:52:35Z","body":"A first step would be to regularly call `git gc` in the Git backend ...."}}