{"action":"created","issue":{"url":"https://api.github.com/repos/ipfs/go-ipfs/issues/1736","repository_url":"https://api.github.com/repos/ipfs/go-ipfs","labels_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/1736/labels{/name}","comments_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/1736/comments","events_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/1736/events","html_url":"https://github.com/ipfs/go-ipfs/pull/1736","id":107420949,"number":1736,"title":"add a ipfs repo ls-roots command","user":{"login":"MichaelMure","id":294669,"avatar_url":"https://avatars.githubusercontent.com/u/294669?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelMure","html_url":"https://github.com/MichaelMure","followers_url":"https://api.github.com/users/MichaelMure/followers","following_url":"https://api.github.com/users/MichaelMure/following{/other_user}","gists_url":"https://api.github.com/users/MichaelMure/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelMure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelMure/subscriptions","organizations_url":"https://api.github.com/users/MichaelMure/orgs","repos_url":"https://api.github.com/users/MichaelMure/repos","events_url":"https://api.github.com/users/MichaelMure/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelMure/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ipfs/go-ipfs/labels/commands","name":"commands","color":"207de5"},{"url":"https://api.github.com/repos/ipfs/go-ipfs/labels/repo","name":"repo","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-09-20T22:05:29Z","updated_at":"2016-03-06T06:37:30Z","closed_at":"2016-01-29T17:27:15Z","pull_request":{"url":"https://api.github.com/repos/ipfs/go-ipfs/pulls/1736","html_url":"https://github.com/ipfs/go-ipfs/pull/1736","diff_url":"https://github.com/ipfs/go-ipfs/pull/1736.diff","patch_url":"https://github.com/ipfs/go-ipfs/pull/1736.patch"},"body":"I made this mostly to get my hand dirty with golang, to get a better grasp of what's going on in go-ipfs internal, and because I somewhat needed it.\r\n\r\nIt adds a `ipfs repo ls` command that list the top hash (hash, type, size) available locally\r\nCurrently use the recursive pin to find the top hash, so it doesn't list everything. Is there something already there to find the root hash available locally ?\r\n\r\nLicense: MIT\r\nSigned-off-by: Michael Muré <batolettre@gmail.com>"},"comment":{"url":"https://api.github.com/repos/ipfs/go-ipfs/issues/comments/192814906","html_url":"https://github.com/ipfs/go-ipfs/pull/1736#issuecomment-192814906","issue_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/1736","id":192814906,"user":{"login":"whyrusleeping","id":1243164,"avatar_url":"https://avatars.githubusercontent.com/u/1243164?v=3","gravatar_id":"","url":"https://api.github.com/users/whyrusleeping","html_url":"https://github.com/whyrusleeping","followers_url":"https://api.github.com/users/whyrusleeping/followers","following_url":"https://api.github.com/users/whyrusleeping/following{/other_user}","gists_url":"https://api.github.com/users/whyrusleeping/gists{/gist_id}","starred_url":"https://api.github.com/users/whyrusleeping/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whyrusleeping/subscriptions","organizations_url":"https://api.github.com/users/whyrusleeping/orgs","repos_url":"https://api.github.com/users/whyrusleeping/repos","events_url":"https://api.github.com/users/whyrusleeping/events{/privacy}","received_events_url":"https://api.github.com/users/whyrusleeping/received_events","type":"User","site_admin":false},"created_at":"2016-03-06T06:37:30Z","updated_at":"2016-03-06T06:37:30Z","body":"@MichaelMure it won't let me reopen it for some reason, want to start a new PR?"}}