{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/pub/issues/90","labels_url":"https://api.github.com/repos/dart-lang/pub/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/pub/issues/90/comments","events_url":"https://api.github.com/repos/dart-lang/pub/issues/90/events","html_url":"https://github.com/dart-lang/pub/issues/90","id":85641449,"number":90,"title":"Support new package layout conventions in pub","user":{"login":"DartBot","id":8958862,"avatar_url":"https://avatars.githubusercontent.com/u/8958862?v=3","gravatar_id":"","url":"https://api.github.com/users/DartBot","html_url":"https://github.com/DartBot","followers_url":"https://api.github.com/users/DartBot/followers","following_url":"https://api.github.com/users/DartBot/following{/other_user}","gists_url":"https://api.github.com/users/DartBot/gists{/gist_id}","starred_url":"https://api.github.com/users/DartBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DartBot/subscriptions","organizations_url":"https://api.github.com/users/DartBot/orgs","repos_url":"https://api.github.com/users/DartBot/repos","events_url":"https://api.github.com/users/DartBot/events{/privacy}","received_events_url":"https://api.github.com/users/DartBot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/pub/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/dart-lang/pub/labels/Fixed","name":"Fixed","color":"ededed"},{"url":"https://api.github.com/repos/dart-lang/pub/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"munificent","id":46275,"avatar_url":"https://avatars.githubusercontent.com/u/46275?v=3","gravatar_id":"","url":"https://api.github.com/users/munificent","html_url":"https://github.com/munificent","followers_url":"https://api.github.com/users/munificent/followers","following_url":"https://api.github.com/users/munificent/following{/other_user}","gists_url":"https://api.github.com/users/munificent/gists{/gist_id}","starred_url":"https://api.github.com/users/munificent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/munificent/subscriptions","organizations_url":"https://api.github.com/users/munificent/orgs","repos_url":"https://api.github.com/users/munificent/repos","events_url":"https://api.github.com/users/munificent/events{/privacy}","received_events_url":"https://api.github.com/users/munificent/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-06-05T21:58:27Z","updated_at":"2015-06-05T21:58:28Z","closed_at":"2015-06-05T21:58:28Z","body":"<a href=\"https://github.com/munificent\"><img src=\"https://avatars.githubusercontent.com/u/46275?v=3\" align=\"left\" width=\"96\" height=\"96\"hspace=\"10\"></img></a> **Issue by [munificent](https://github.com/munificent)**\n_Originally opened as dart-lang/sdk#4963_\n\n----\n\nSee John's proposal and my follow-up here: https://groups.google.com/a/dartlang.org/forum/#!topic/misc/a9hT6OPAlP0\n\nFirst, we will make pub support both the old and new style. When it's generating a symlink to a dependent package it will do:\n\n1. If the dependent package contains .dart files at the top-level (other than build.dart) then assume it's an old-style package and generate a symlink to the dependent's root directory.\n2. Otherwise, assume it's a new-style and generate a symlink to the dependent's lib directory. (If it doesn't have a lib directory, do nothing.)\n\nIt should follow this heursistic for self-links too. If you don't want the circular symlink, make sure your package follows the new package conventions."},"comment":{"url":"https://api.github.com/repos/dart-lang/pub/issues/comments/109451480","html_url":"https://github.com/dart-lang/pub/issues/90#issuecomment-109451480","issue_url":"https://api.github.com/repos/dart-lang/pub/issues/90","id":109451480,"user":{"login":"DartBot","id":8958862,"avatar_url":"https://avatars.githubusercontent.com/u/8958862?v=3","gravatar_id":"","url":"https://api.github.com/users/DartBot","html_url":"https://github.com/DartBot","followers_url":"https://api.github.com/users/DartBot/followers","following_url":"https://api.github.com/users/DartBot/following{/other_user}","gists_url":"https://api.github.com/users/DartBot/gists{/gist_id}","starred_url":"https://api.github.com/users/DartBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DartBot/subscriptions","organizations_url":"https://api.github.com/users/DartBot/orgs","repos_url":"https://api.github.com/users/DartBot/repos","events_url":"https://api.github.com/users/DartBot/events{/privacy}","received_events_url":"https://api.github.com/users/DartBot/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T21:58:28Z","updated_at":"2015-06-05T21:58:28Z","body":"<a href=\"https://github.com/munificent\"><img src=\"https://avatars.githubusercontent.com/u/46275?v=3\" align=\"left\" width=\"48\" height=\"48\"hspace=\"10\"></img></a> **Comment by [munificent](https://github.com/munificent)**\n\n----\n\n*Added [Fixed](../labels/Fixed) label.*\n"}}