{"action":"created","comment":{"url":"https://api.github.com/repos/conda/conda/pulls/comments/85456287","pull_request_review_id":6172563,"id":85456287,"diff_hunk":"@@ -618,10 +619,20 @@ def link(pkgs_dir, prefix, dist, linktype=LINK_HARD, index=None):\n         sys.exit('Error: pre-link failed: %s' % dist)\n \n     info_dir = join(source_dir, 'info')\n+\n+    if not os.path.isfile(join(info_dir, \"files\")):\n+        error_and_exit(\"Installing %s requires a minimum conda version of 4.3.\" % dist)\n+\n     files = list(yield_lines(join(info_dir, 'files')))\n     has_prefix_files = read_has_prefix(join(info_dir, 'has_prefix'))\n     no_link = read_no_link(info_dir)\n \n+    with open(join(info_dir, \"index.json\")) as index_json:\n+        data = json.load(index_json)","path":"conda/install.py","position":21,"original_position":21,"commit_id":"732df467e8e6d7c216784616aadde2bf8257a756","original_commit_id":"732df467e8e6d7c216784616aadde2bf8257a756","user":{"login":"kalefranz","id":1418419,"avatar_url":"https://avatars.githubusercontent.com/u/1418419?v=3","gravatar_id":"","url":"https://api.github.com/users/kalefranz","html_url":"https://github.com/kalefranz","followers_url":"https://api.github.com/users/kalefranz/followers","following_url":"https://api.github.com/users/kalefranz/following{/other_user}","gists_url":"https://api.github.com/users/kalefranz/gists{/gist_id}","starred_url":"https://api.github.com/users/kalefranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalefranz/subscriptions","organizations_url":"https://api.github.com/users/kalefranz/orgs","repos_url":"https://api.github.com/users/kalefranz/repos","events_url":"https://api.github.com/users/kalefranz/events{/privacy}","received_events_url":"https://api.github.com/users/kalefranz/received_events","type":"User","site_admin":false},"body":"Wait, no, this is wrong.  You don't need to do this here.  And in fact it probably won't be there.\r\n\r\nUse `index.get('dist', {}).get('noarch', None) in (True, False, \"generic\")`","created_at":"2016-10-28T00:50:06Z","updated_at":"2016-10-28T00:50:06Z","html_url":"https://github.com/conda/conda/pull/3726#discussion_r85456287","pull_request_url":"https://api.github.com/repos/conda/conda/pulls/3726","_links":{"self":{"href":"https://api.github.com/repos/conda/conda/pulls/comments/85456287"},"html":{"href":"https://github.com/conda/conda/pull/3726#discussion_r85456287"},"pull_request":{"href":"https://api.github.com/repos/conda/conda/pulls/3726"}}},"pull_request":{"url":"https://api.github.com/repos/conda/conda/pulls/3726","id":90897804,"html_url":"https://github.com/conda/conda/pull/3726","diff_url":"https://github.com/conda/conda/pull/3726.diff","patch_url":"https://github.com/conda/conda/pull/3726.patch","issue_url":"https://api.github.com/repos/conda/conda/issues/3726","number":3726,"state":"open","locked":false,"title":"Error and exit for upgrading noarch and info/files","user":{"login":"soapy1","id":976973,"avatar_url":"https://avatars.githubusercontent.com/u/976973?v=3","gravatar_id":"","url":"https://api.github.com/users/soapy1","html_url":"https://github.com/soapy1","followers_url":"https://api.github.com/users/soapy1/followers","following_url":"https://api.github.com/users/soapy1/following{/other_user}","gists_url":"https://api.github.com/users/soapy1/gists{/gist_id}","starred_url":"https://api.github.com/users/soapy1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soapy1/subscriptions","organizations_url":"https://api.github.com/users/soapy1/orgs","repos_url":"https://api.github.com/users/soapy1/repos","events_url":"https://api.github.com/users/soapy1/events{/privacy}","received_events_url":"https://api.github.com/users/soapy1/received_events","type":"User","site_admin":false},"body":"ref: https://github.com/conda/conda/issues/3692","created_at":"2016-10-25T21:43:55Z","updated_at":"2016-10-28T00:50:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d2f42ea20ef1ef43a80b6bf39af442d3092b63b2","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/conda/conda/pulls/3726/commits","review_comments_url":"https://api.github.com/repos/conda/conda/pulls/3726/comments","review_comment_url":"https://api.github.com/repos/conda/conda/pulls/comments{/number}","comments_url":"https://api.github.com/repos/conda/conda/issues/3726/comments","statuses_url":"https://api.github.com/repos/conda/conda/statuses/732df467e8e6d7c216784616aadde2bf8257a756","head":{"label":"soapy1:warning-for-old-things","ref":"warning-for-old-things","sha":"732df467e8e6d7c216784616aadde2bf8257a756","user":{"login":"soapy1","id":976973,"avatar_url":"https://avatars.githubusercontent.com/u/976973?v=3","gravatar_id":"","url":"https://api.github.com/users/soapy1","html_url":"https://github.com/soapy1","followers_url":"https://api.github.com/users/soapy1/followers","following_url":"https://api.github.com/users/soapy1/following{/other_user}","gists_url":"https://api.github.com/users/soapy1/gists{/gist_id}","starred_url":"https://api.github.com/users/soapy1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soapy1/subscriptions","organizations_url":"https://api.github.com/users/soapy1/orgs","repos_url":"https://api.github.com/users/soapy1/repos","events_url":"https://api.github.com/users/soapy1/events{/privacy}","received_events_url":"https://api.github.com/users/soapy1/received_events","type":"User","site_admin":false},"repo":{"id":66866992,"name":"conda","full_name":"soapy1/conda","owner":{"login":"soapy1","id":976973,"avatar_url":"https://avatars.githubusercontent.com/u/976973?v=3","gravatar_id":"","url":"https://api.github.com/users/soapy1","html_url":"https://github.com/soapy1","followers_url":"https://api.github.com/users/soapy1/followers","following_url":"https://api.github.com/users/soapy1/following{/other_user}","gists_url":"https://api.github.com/users/soapy1/gists{/gist_id}","starred_url":"https://api.github.com/users/soapy1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soapy1/subscriptions","organizations_url":"https://api.github.com/users/soapy1/orgs","repos_url":"https://api.github.com/users/soapy1/repos","events_url":"https://api.github.com/users/soapy1/events{/privacy}","received_events_url":"https://api.github.com/users/soapy1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/soapy1/conda","description":"OS-agnostic, system-level binary package manager and ecosystem","fork":true,"url":"https://api.github.com/repos/soapy1/conda","forks_url":"https://api.github.com/repos/soapy1/conda/forks","keys_url":"https://api.github.com/repos/soapy1/conda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/soapy1/conda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/soapy1/conda/teams","hooks_url":"https://api.github.com/repos/soapy1/conda/hooks","issue_events_url":"https://api.github.com/repos/soapy1/conda/issues/events{/number}","events_url":"https://api.github.com/repos/soapy1/conda/events","assignees_url":"https://api.github.com/repos/soapy1/conda/assignees{/user}","branches_url":"https://api.github.com/repos/soapy1/conda/branches{/branch}","tags_url":"https://api.github.com/repos/soapy1/conda/tags","blobs_url":"https://api.github.com/repos/soapy1/conda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/soapy1/conda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/soapy1/conda/git/refs{/sha}","trees_url":"https://api.github.com/repos/soapy1/conda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/soapy1/conda/statuses/{sha}","languages_url":"https://api.github.com/repos/soapy1/conda/languages","stargazers_url":"https://api.github.com/repos/soapy1/conda/stargazers","contributors_url":"https://api.github.com/repos/soapy1/conda/contributors","subscribers_url":"https://api.github.com/repos/soapy1/conda/subscribers","subscription_url":"https://api.github.com/repos/soapy1/conda/subscription","commits_url":"https://api.github.com/repos/soapy1/conda/commits{/sha}","git_commits_url":"https://api.github.com/repos/soapy1/conda/git/commits{/sha}","comments_url":"https://api.github.com/repos/soapy1/conda/comments{/number}","issue_comment_url":"https://api.github.com/repos/soapy1/conda/issues/comments{/number}","contents_url":"https://api.github.com/repos/soapy1/conda/contents/{+path}","compare_url":"https://api.github.com/repos/soapy1/conda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/soapy1/conda/merges","archive_url":"https://api.github.com/repos/soapy1/conda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/soapy1/conda/downloads","issues_url":"https://api.github.com/repos/soapy1/conda/issues{/number}","pulls_url":"https://api.github.com/repos/soapy1/conda/pulls{/number}","milestones_url":"https://api.github.com/repos/soapy1/conda/milestones{/number}","notifications_url":"https://api.github.com/repos/soapy1/conda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/soapy1/conda/labels{/name}","releases_url":"https://api.github.com/repos/soapy1/conda/releases{/id}","deployments_url":"https://api.github.com/repos/soapy1/conda/deployments","created_at":"2016-08-29T17:55:26Z","updated_at":"2016-08-29T17:55:28Z","pushed_at":"2016-10-26T23:11:07Z","git_url":"git://github.com/soapy1/conda.git","ssh_url":"git@github.com:soapy1/conda.git","clone_url":"https://github.com/soapy1/conda.git","svn_url":"https://github.com/soapy1/conda","homepage":"conda.pydata.org","size":13027,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"conda:3.x","ref":"3.x","sha":"a1154b128b388f69450e1d963ac9a9df67daf7d1","user":{"login":"conda","id":6392739,"avatar_url":"https://avatars.githubusercontent.com/u/6392739?v=3","gravatar_id":"","url":"https://api.github.com/users/conda","html_url":"https://github.com/conda","followers_url":"https://api.github.com/users/conda/followers","following_url":"https://api.github.com/users/conda/following{/other_user}","gists_url":"https://api.github.com/users/conda/gists{/gist_id}","starred_url":"https://api.github.com/users/conda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conda/subscriptions","organizations_url":"https://api.github.com/users/conda/orgs","repos_url":"https://api.github.com/users/conda/repos","events_url":"https://api.github.com/users/conda/events{/privacy}","received_events_url":"https://api.github.com/users/conda/received_events","type":"Organization","site_admin":false},"repo":{"id":6235174,"name":"conda","full_name":"conda/conda","owner":{"login":"conda","id":6392739,"avatar_url":"https://avatars.githubusercontent.com/u/6392739?v=3","gravatar_id":"","url":"https://api.github.com/users/conda","html_url":"https://github.com/conda","followers_url":"https://api.github.com/users/conda/followers","following_url":"https://api.github.com/users/conda/following{/other_user}","gists_url":"https://api.github.com/users/conda/gists{/gist_id}","starred_url":"https://api.github.com/users/conda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conda/subscriptions","organizations_url":"https://api.github.com/users/conda/orgs","repos_url":"https://api.github.com/users/conda/repos","events_url":"https://api.github.com/users/conda/events{/privacy}","received_events_url":"https://api.github.com/users/conda/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/conda/conda","description":"OS-agnostic, system-level binary package manager and ecosystem","fork":false,"url":"https://api.github.com/repos/conda/conda","forks_url":"https://api.github.com/repos/conda/conda/forks","keys_url":"https://api.github.com/repos/conda/conda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/conda/conda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/conda/conda/teams","hooks_url":"https://api.github.com/repos/conda/conda/hooks","issue_events_url":"https://api.github.com/repos/conda/conda/issues/events{/number}","events_url":"https://api.github.com/repos/conda/conda/events","assignees_url":"https://api.github.com/repos/conda/conda/assignees{/user}","branches_url":"https://api.github.com/repos/conda/conda/branches{/branch}","tags_url":"https://api.github.com/repos/conda/conda/tags","blobs_url":"https://api.github.com/repos/conda/conda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/conda/conda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/conda/conda/git/refs{/sha}","trees_url":"https://api.github.com/repos/conda/conda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/conda/conda/statuses/{sha}","languages_url":"https://api.github.com/repos/conda/conda/languages","stargazers_url":"https://api.github.com/repos/conda/conda/stargazers","contributors_url":"https://api.github.com/repos/conda/conda/contributors","subscribers_url":"https://api.github.com/repos/conda/conda/subscribers","subscription_url":"https://api.github.com/repos/conda/conda/subscription","commits_url":"https://api.github.com/repos/conda/conda/commits{/sha}","git_commits_url":"https://api.github.com/repos/conda/conda/git/commits{/sha}","comments_url":"https://api.github.com/repos/conda/conda/comments{/number}","issue_comment_url":"https://api.github.com/repos/conda/conda/issues/comments{/number}","contents_url":"https://api.github.com/repos/conda/conda/contents/{+path}","compare_url":"https://api.github.com/repos/conda/conda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/conda/conda/merges","archive_url":"https://api.github.com/repos/conda/conda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/conda/conda/downloads","issues_url":"https://api.github.com/repos/conda/conda/issues{/number}","pulls_url":"https://api.github.com/repos/conda/conda/pulls{/number}","milestones_url":"https://api.github.com/repos/conda/conda/milestones{/number}","notifications_url":"https://api.github.com/repos/conda/conda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/conda/conda/labels{/name}","releases_url":"https://api.github.com/repos/conda/conda/releases{/id}","deployments_url":"https://api.github.com/repos/conda/conda/deployments","created_at":"2012-10-15T22:08:03Z","updated_at":"2016-10-27T07:41:57Z","pushed_at":"2016-10-28T00:46:35Z","git_url":"git://github.com/conda/conda.git","ssh_url":"git@github.com:conda/conda.git","clone_url":"https://github.com/conda/conda.git","svn_url":"https://github.com/conda/conda","homepage":"conda.pydata.org","size":36394,"stargazers_count":929,"watchers_count":929,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":315,"mirror_url":null,"open_issues_count":1100,"forks":315,"open_issues":1100,"watchers":929,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/conda/conda/pulls/3726"},"html":{"href":"https://github.com/conda/conda/pull/3726"},"issue":{"href":"https://api.github.com/repos/conda/conda/issues/3726"},"comments":{"href":"https://api.github.com/repos/conda/conda/issues/3726/comments"},"review_comments":{"href":"https://api.github.com/repos/conda/conda/pulls/3726/comments"},"review_comment":{"href":"https://api.github.com/repos/conda/conda/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/conda/conda/pulls/3726/commits"},"statuses":{"href":"https://api.github.com/repos/conda/conda/statuses/732df467e8e6d7c216784616aadde2bf8257a756"}}}}
{"actor":{"display_login":"kalefranz"}}