{"action":"closed","issue":{"url":"https://api.github.com/repos/ipfs/go-ipfs/issues/3419","repository_url":"https://api.github.com/repos/ipfs/go-ipfs","labels_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/3419/labels{/name}","comments_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/3419/comments","events_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/3419/events","html_url":"https://github.com/ipfs/go-ipfs/issues/3419","id":191520092,"number":3419,"title":"ipfs pin ls <hash> fetches the object from the network","user":{"login":"hsanjuan","id":1027022,"avatar_url":"https://avatars.githubusercontent.com/u/1027022?v=3","gravatar_id":"","url":"https://api.github.com/users/hsanjuan","html_url":"https://github.com/hsanjuan","followers_url":"https://api.github.com/users/hsanjuan/followers","following_url":"https://api.github.com/users/hsanjuan/following{/other_user}","gists_url":"https://api.github.com/users/hsanjuan/gists{/gist_id}","starred_url":"https://api.github.com/users/hsanjuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsanjuan/subscriptions","organizations_url":"https://api.github.com/users/hsanjuan/orgs","repos_url":"https://api.github.com/users/hsanjuan/repos","events_url":"https://api.github.com/users/hsanjuan/events{/privacy}","received_events_url":"https://api.github.com/users/hsanjuan/received_events","type":"User","site_admin":false},"labels":[{"id":307172827,"url":"https://api.github.com/repos/ipfs/go-ipfs/labels/backlog","name":"backlog","color":"ededed","default":false},{"id":109732110,"url":"https://api.github.com/repos/ipfs/go-ipfs/labels/bug","name":"bug","color":"fc2929","default":true},{"id":129070658,"url":"https://api.github.com/repos/ipfs/go-ipfs/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-24T13:27:43Z","updated_at":"2016-11-25T09:29:44Z","closed_at":"2016-11-25T09:29:44Z","body":"<!-- Output From `ipfs version --all`) -->\r\n#### Version information: master\r\n\r\n<!-- Bug, Feature, Enhancement, Etc -->\r\n#### Type: Bug\r\n\r\n<!-- from `P0` \"Critical\" to `P5` \"Relatively Unimportant\") -->\r\n#### Priority: P5\r\n\r\n#### Description:\r\n`ipfs pin ls` seems by all means a local operation, but when the daemon is running and a `<ipfs_hash>` argument is passed, it will request blocks from the network when it does not know the hash. i.e:\r\n\r\n> ipfs pin ls QmXja3KdmLxxS5F7SxASEB1Kg9AbkQ9PZpF67hyauHEgZa\r\n\r\nThis has side effects like:\r\n  * Hanging when a hash is not pinned instead of simply showing that it is not pinned locally\r\n  * Fetching objects that the user don't expect to be fetched (and thus [probably] making them available to others). Really bad if you're checking for content you don't want to have. Also, it happens silently.\r\n  * If a user wants to check if a hash is pinned, it forces the user to do `ipfs pin ls` and then filter out the results, as `pin ls` without arguments seems to run locally entirely.\r\n\r\n\r\n\r\n\r\n\r\n<!--\r\nThis is for you! Please read, and then delete this text before posting it.\r\nThe go-ipfs issues are only for bug reports and directly actionable features.\r\nRead https://github.com/ipfs/community/blob/master/contributing.md#reporting-issues if your issue doesn't fit either of those categories.\r\nRead https://github.com/ipfs/go-ipfs/blob/master/docs/github-issue-guide.md if you are not sure how to fill in this issue.\r\n-->"}}
{"actor":{"display_login":"hsanjuan"}}