{"action":"created","comment":{"url":"https://api.github.com/repos/ipfs/go-ipfs/pulls/comments/30386246","id":30386246,"diff_hunk":"@@ -14,37 +13,46 @@ type ResolvedPath struct {\n \tPath path.Path\n }\n \n-var resolveCmd = &cmds.Command{\n+var ResolveCmd = &cmds.Command{\n \tHelptext: cmds.HelpText{\n-\t\tTagline: \"Gets the value currently published at an IPNS name\",\n+\t\tTagline: \"Resolve all supported protocols to IPFS\",","path":"core/commands/resolve.go","position":16,"original_position":16,"commit_id":"7e9db66326f1c27c02153d66800ce88c383b747b","original_commit_id":"7e9db66326f1c27c02153d66800ce88c383b747b","user":{"login":"wking","id":209920,"avatar_url":"https://avatars.githubusercontent.com/u/209920?v=3","gravatar_id":"","url":"https://api.github.com/users/wking","html_url":"https://github.com/wking","followers_url":"https://api.github.com/users/wking/followers","following_url":"https://api.github.com/users/wking/following{/other_user}","gists_url":"https://api.github.com/users/wking/gists{/gist_id}","starred_url":"https://api.github.com/users/wking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wking/subscriptions","organizations_url":"https://api.github.com/users/wking/orgs","repos_url":"https://api.github.com/users/wking/repos","events_url":"https://api.github.com/users/wking/events{/privacy}","received_events_url":"https://api.github.com/users/wking/received_events","type":"User","site_admin":false},"body":"On Thu, May 14, 2015 at 09:25:54PM -0700, Juan Batiz-Benet wrote:\n> >  \tHelptext: cmds.HelpText{\n> > -\t\tTagline: \"Gets the value currently published at an IPNS name\",\n> > +\t\tTagline: \"Resolve all supported protocols to IPFS\",\n> \n> perhaps `Resolve the value of names`\n\nSure.\n","created_at":"2015-05-15T05:42:13Z","updated_at":"2015-05-15T05:42:13Z","html_url":"https://github.com/ipfs/go-ipfs/pull/1208#discussion_r30386246","pull_request_url":"https://api.github.com/repos/ipfs/go-ipfs/pulls/1208","_links":{"self":{"href":"https://api.github.com/repos/ipfs/go-ipfs/pulls/comments/30386246"},"html":{"href":"https://github.com/ipfs/go-ipfs/pull/1208#discussion_r30386246"},"pull_request":{"href":"https://api.github.com/repos/ipfs/go-ipfs/pulls/1208"}}},"pull_request":{"url":"https://api.github.com/repos/ipfs/go-ipfs/pulls/1208","id":34964819,"html_url":"https://github.com/ipfs/go-ipfs/pull/1208","diff_url":"https://github.com/ipfs/go-ipfs/pull/1208.diff","patch_url":"https://github.com/ipfs/go-ipfs/pull/1208.patch","issue_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/1208","number":1208,"state":"open","locked":false,"title":"Rework mutable namespace resolution to handle recursion","user":{"login":"wking","id":209920,"avatar_url":"https://avatars.githubusercontent.com/u/209920?v=3","gravatar_id":"","url":"https://api.github.com/users/wking","html_url":"https://github.com/wking","followers_url":"https://api.github.com/users/wking/followers","following_url":"https://api.github.com/users/wking/following{/other_user}","gists_url":"https://api.github.com/users/wking/gists{/gist_id}","starred_url":"https://api.github.com/users/wking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wking/subscriptions","organizations_url":"https://api.github.com/users/wking/orgs","repos_url":"https://api.github.com/users/wking/repos","events_url":"https://api.github.com/users/wking/events{/privacy}","received_events_url":"https://api.github.com/users/wking/received_events","type":"User","site_admin":false},"body":"There are detailed notes in the individual commits, but the meat is in\nthe opening \"namesys: Add recursive resolution\".  This is a work in\nprogress towards the separation sketched out [here][1] and endorsed\n[here][2].  For example, with this PR you can:\n\n    $ ipfs dns ipfs.tremily.us\n    /dnslink/tremily.us\n    $ ipfs dns tremily.us\n    /dnslink/tremily.us\n    $ ipfs dns --recursive ipfs.tremily.us\n    /ipns/QmbqDJaoZYoGNw4dz7FqFDCf6q9EcHoMBQtoGViVFw2qv7\n\nHowever, I'm currently sticking on the multihash encoding.  The\n/ipns/… and /ipfs/… multihashes are base-58, but there's also the\nproquint encoding.  However, proquint isn't a *protocol*, you can have\nproquint-encoded multihashes in the IPNS and IPFS protocol spaces.\nHow do we distinguish that?  The heavy approach is:\n\n  /ipfs-proquint/…\n  /ipns-proquint/…\n\nin which case maybe we want to be using:\n\n  /ipns-base-58/…\n  /ipfs-base-58/…\n\nwhere we currently use /ipns/… and /ipfs/….  Thoughts?  More clever\nsolutions?  Should the encoding-choice be part of a layer between\nbinary multihashes and the IP*S libraries?  For example, maybe encoded\nmultihashes should have a leading character or two representing their\nencoding (hex “a:1220…”, base-58 “b:Qm…”, proquint\n“c:bikad-fokor-zihoj-bajir”, …).\n\nAlso, do we want to use /dnslink/… (to match dnslink=…) or /dns/…\n(because “link” is mostly wasted space once we're in the context of\nresolvable names)?\n\n[1]: https://github.com/ipfs/go-ipfs/issues/1082#issuecomment-99255884\n[2]: https://github.com/ipfs/go-ipfs/issues/1082#issuecomment-99417421","created_at":"2015-05-07T22:27:07Z","updated_at":"2015-05-15T05:42:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a04c2f706a826ecedc095a540fa0be2a9bd60c72","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ipfs/go-ipfs/pulls/1208/commits","review_comments_url":"https://api.github.com/repos/ipfs/go-ipfs/pulls/1208/comments","review_comment_url":"https://api.github.com/repos/ipfs/go-ipfs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/1208/comments","statuses_url":"https://api.github.com/repos/ipfs/go-ipfs/statuses/7e9db66326f1c27c02153d66800ce88c383b747b","head":{"label":"wking:dns-resolver","ref":"dns-resolver","sha":"7e9db66326f1c27c02153d66800ce88c383b747b","user":{"login":"wking","id":209920,"avatar_url":"https://avatars.githubusercontent.com/u/209920?v=3","gravatar_id":"","url":"https://api.github.com/users/wking","html_url":"https://github.com/wking","followers_url":"https://api.github.com/users/wking/followers","following_url":"https://api.github.com/users/wking/following{/other_user}","gists_url":"https://api.github.com/users/wking/gists{/gist_id}","starred_url":"https://api.github.com/users/wking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wking/subscriptions","organizations_url":"https://api.github.com/users/wking/orgs","repos_url":"https://api.github.com/users/wking/repos","events_url":"https://api.github.com/users/wking/events{/privacy}","received_events_url":"https://api.github.com/users/wking/received_events","type":"User","site_admin":false},"repo":{"id":34468987,"name":"go-ipfs","full_name":"wking/go-ipfs","owner":{"login":"wking","id":209920,"avatar_url":"https://avatars.githubusercontent.com/u/209920?v=3","gravatar_id":"","url":"https://api.github.com/users/wking","html_url":"https://github.com/wking","followers_url":"https://api.github.com/users/wking/followers","following_url":"https://api.github.com/users/wking/following{/other_user}","gists_url":"https://api.github.com/users/wking/gists{/gist_id}","starred_url":"https://api.github.com/users/wking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wking/subscriptions","organizations_url":"https://api.github.com/users/wking/orgs","repos_url":"https://api.github.com/users/wking/repos","events_url":"https://api.github.com/users/wking/events{/privacy}","received_events_url":"https://api.github.com/users/wking/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wking/go-ipfs","description":"ipfs implementation in go","fork":true,"url":"https://api.github.com/repos/wking/go-ipfs","forks_url":"https://api.github.com/repos/wking/go-ipfs/forks","keys_url":"https://api.github.com/repos/wking/go-ipfs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wking/go-ipfs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wking/go-ipfs/teams","hooks_url":"https://api.github.com/repos/wking/go-ipfs/hooks","issue_events_url":"https://api.github.com/repos/wking/go-ipfs/issues/events{/number}","events_url":"https://api.github.com/repos/wking/go-ipfs/events","assignees_url":"https://api.github.com/repos/wking/go-ipfs/assignees{/user}","branches_url":"https://api.github.com/repos/wking/go-ipfs/branches{/branch}","tags_url":"https://api.github.com/repos/wking/go-ipfs/tags","blobs_url":"https://api.github.com/repos/wking/go-ipfs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wking/go-ipfs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wking/go-ipfs/git/refs{/sha}","trees_url":"https://api.github.com/repos/wking/go-ipfs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wking/go-ipfs/statuses/{sha}","languages_url":"https://api.github.com/repos/wking/go-ipfs/languages","stargazers_url":"https://api.github.com/repos/wking/go-ipfs/stargazers","contributors_url":"https://api.github.com/repos/wking/go-ipfs/contributors","subscribers_url":"https://api.github.com/repos/wking/go-ipfs/subscribers","subscription_url":"https://api.github.com/repos/wking/go-ipfs/subscription","commits_url":"https://api.github.com/repos/wking/go-ipfs/commits{/sha}","git_commits_url":"https://api.github.com/repos/wking/go-ipfs/git/commits{/sha}","comments_url":"https://api.github.com/repos/wking/go-ipfs/comments{/number}","issue_comment_url":"https://api.github.com/repos/wking/go-ipfs/issues/comments{/number}","contents_url":"https://api.github.com/repos/wking/go-ipfs/contents/{+path}","compare_url":"https://api.github.com/repos/wking/go-ipfs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wking/go-ipfs/merges","archive_url":"https://api.github.com/repos/wking/go-ipfs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wking/go-ipfs/downloads","issues_url":"https://api.github.com/repos/wking/go-ipfs/issues{/number}","pulls_url":"https://api.github.com/repos/wking/go-ipfs/pulls{/number}","milestones_url":"https://api.github.com/repos/wking/go-ipfs/milestones{/number}","notifications_url":"https://api.github.com/repos/wking/go-ipfs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wking/go-ipfs/labels{/name}","releases_url":"https://api.github.com/repos/wking/go-ipfs/releases{/id}","created_at":"2015-04-23T16:46:12Z","updated_at":"2015-05-04T16:34:10Z","pushed_at":"2015-05-13T17:45:40Z","git_url":"git://github.com/wking/go-ipfs.git","ssh_url":"git@github.com:wking/go-ipfs.git","clone_url":"https://github.com/wking/go-ipfs.git","svn_url":"https://github.com/wking/go-ipfs","homepage":"https://github.com/ipfs/ipfs","size":16444,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"ipfs:master","ref":"master","sha":"66fad5f1d7b89e02df6811fff563452903215693","user":{"login":"ipfs","id":10536621,"avatar_url":"https://avatars.githubusercontent.com/u/10536621?v=3","gravatar_id":"","url":"https://api.github.com/users/ipfs","html_url":"https://github.com/ipfs","followers_url":"https://api.github.com/users/ipfs/followers","following_url":"https://api.github.com/users/ipfs/following{/other_user}","gists_url":"https://api.github.com/users/ipfs/gists{/gist_id}","starred_url":"https://api.github.com/users/ipfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipfs/subscriptions","organizations_url":"https://api.github.com/users/ipfs/orgs","repos_url":"https://api.github.com/users/ipfs/repos","events_url":"https://api.github.com/users/ipfs/events{/privacy}","received_events_url":"https://api.github.com/users/ipfs/received_events","type":"Organization","site_admin":false},"repo":{"id":21233191,"name":"go-ipfs","full_name":"ipfs/go-ipfs","owner":{"login":"ipfs","id":10536621,"avatar_url":"https://avatars.githubusercontent.com/u/10536621?v=3","gravatar_id":"","url":"https://api.github.com/users/ipfs","html_url":"https://github.com/ipfs","followers_url":"https://api.github.com/users/ipfs/followers","following_url":"https://api.github.com/users/ipfs/following{/other_user}","gists_url":"https://api.github.com/users/ipfs/gists{/gist_id}","starred_url":"https://api.github.com/users/ipfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipfs/subscriptions","organizations_url":"https://api.github.com/users/ipfs/orgs","repos_url":"https://api.github.com/users/ipfs/repos","events_url":"https://api.github.com/users/ipfs/events{/privacy}","received_events_url":"https://api.github.com/users/ipfs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ipfs/go-ipfs","description":"ipfs implementation in go","fork":false,"url":"https://api.github.com/repos/ipfs/go-ipfs","forks_url":"https://api.github.com/repos/ipfs/go-ipfs/forks","keys_url":"https://api.github.com/repos/ipfs/go-ipfs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ipfs/go-ipfs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ipfs/go-ipfs/teams","hooks_url":"https://api.github.com/repos/ipfs/go-ipfs/hooks","issue_events_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/events{/number}","events_url":"https://api.github.com/repos/ipfs/go-ipfs/events","assignees_url":"https://api.github.com/repos/ipfs/go-ipfs/assignees{/user}","branches_url":"https://api.github.com/repos/ipfs/go-ipfs/branches{/branch}","tags_url":"https://api.github.com/repos/ipfs/go-ipfs/tags","blobs_url":"https://api.github.com/repos/ipfs/go-ipfs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ipfs/go-ipfs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ipfs/go-ipfs/git/refs{/sha}","trees_url":"https://api.github.com/repos/ipfs/go-ipfs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ipfs/go-ipfs/statuses/{sha}","languages_url":"https://api.github.com/repos/ipfs/go-ipfs/languages","stargazers_url":"https://api.github.com/repos/ipfs/go-ipfs/stargazers","contributors_url":"https://api.github.com/repos/ipfs/go-ipfs/contributors","subscribers_url":"https://api.github.com/repos/ipfs/go-ipfs/subscribers","subscription_url":"https://api.github.com/repos/ipfs/go-ipfs/subscription","commits_url":"https://api.github.com/repos/ipfs/go-ipfs/commits{/sha}","git_commits_url":"https://api.github.com/repos/ipfs/go-ipfs/git/commits{/sha}","comments_url":"https://api.github.com/repos/ipfs/go-ipfs/comments{/number}","issue_comment_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/comments{/number}","contents_url":"https://api.github.com/repos/ipfs/go-ipfs/contents/{+path}","compare_url":"https://api.github.com/repos/ipfs/go-ipfs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ipfs/go-ipfs/merges","archive_url":"https://api.github.com/repos/ipfs/go-ipfs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ipfs/go-ipfs/downloads","issues_url":"https://api.github.com/repos/ipfs/go-ipfs/issues{/number}","pulls_url":"https://api.github.com/repos/ipfs/go-ipfs/pulls{/number}","milestones_url":"https://api.github.com/repos/ipfs/go-ipfs/milestones{/number}","notifications_url":"https://api.github.com/repos/ipfs/go-ipfs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ipfs/go-ipfs/labels{/name}","releases_url":"https://api.github.com/repos/ipfs/go-ipfs/releases{/id}","created_at":"2014-06-26T08:14:34Z","updated_at":"2015-05-14T10:43:00Z","pushed_at":"2015-05-15T01:52:21Z","git_url":"git://github.com/ipfs/go-ipfs.git","ssh_url":"git@github.com:ipfs/go-ipfs.git","clone_url":"https://github.com/ipfs/go-ipfs.git","svn_url":"https://github.com/ipfs/go-ipfs","homepage":"https://github.com/ipfs/ipfs","size":36433,"stargazers_count":528,"watchers_count":528,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":92,"mirror_url":null,"open_issues_count":227,"forks":92,"open_issues":227,"watchers":528,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ipfs/go-ipfs/pulls/1208"},"html":{"href":"https://github.com/ipfs/go-ipfs/pull/1208"},"issue":{"href":"https://api.github.com/repos/ipfs/go-ipfs/issues/1208"},"comments":{"href":"https://api.github.com/repos/ipfs/go-ipfs/issues/1208/comments"},"review_comments":{"href":"https://api.github.com/repos/ipfs/go-ipfs/pulls/1208/comments"},"review_comment":{"href":"https://api.github.com/repos/ipfs/go-ipfs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ipfs/go-ipfs/pulls/1208/commits"},"statuses":{"href":"https://api.github.com/repos/ipfs/go-ipfs/statuses/7e9db66326f1c27c02153d66800ce88c383b747b"}}}}