{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/polymer-dart/issues/377","labels_url":"https://api.github.com/repos/dart-lang/polymer-dart/issues/377/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/polymer-dart/issues/377/comments","events_url":"https://api.github.com/repos/dart-lang/polymer-dart/issues/377/events","html_url":"https://github.com/dart-lang/polymer-dart/issues/377","id":85653901,"number":377,"title":"Polymer should warn if users use \"packages/\" URLs that do not point to the top-level \"packages\" directory","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/polymer-dart/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/dart-lang/polymer-dart/labels/PolymerMilestone-Next","name":"PolymerMilestone-Next","color":"ededed"},{"url":"https://api.github.com/repos/dart-lang/polymer-dart/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"sigmundch","id":2049220,"avatar_url":"https://avatars.githubusercontent.com/u/2049220?v=3","gravatar_id":"","url":"https://api.github.com/users/sigmundch","html_url":"https://github.com/sigmundch","followers_url":"https://api.github.com/users/sigmundch/followers","following_url":"https://api.github.com/users/sigmundch/following{/other_user}","gists_url":"https://api.github.com/users/sigmundch/gists{/gist_id}","starred_url":"https://api.github.com/users/sigmundch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sigmundch/subscriptions","organizations_url":"https://api.github.com/users/sigmundch/orgs","repos_url":"https://api.github.com/users/sigmundch/repos","events_url":"https://api.github.com/users/sigmundch/events{/privacy}","received_events_url":"https://api.github.com/users/sigmundch/received_events","type":"User","site_admin":false},"milestone":null,"comments":12,"created_at":"2015-06-05T23:11:51Z","updated_at":"2015-06-05T23:11:53Z","closed_at":null,"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#16643_\n\n----\n\nUsers shouldn't be able to assume that &quot;packages/foo/bar&quot; will work if that URL appears in a subdirectory of one of the main directories being built. I think polymer's own build script rewrite the URLs to make this work, but pub build will not.\n\nTo catch cases where they are doing this, we talked about adding a warning in polymer's linter."},"comment":{"url":"https://api.github.com/repos/dart-lang/polymer-dart/issues/comments/109476385","html_url":"https://github.com/dart-lang/polymer-dart/issues/377#issuecomment-109476385","issue_url":"https://api.github.com/repos/dart-lang/polymer-dart/issues/377","id":109476385,"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-05T23:11:53Z","updated_at":"2015-06-05T23:11:53Z","body":"<a href=\"https://github.com/sigmundch\"><img src=\"https://avatars.githubusercontent.com/u/2049220?v=3\" align=\"left\" width=\"48\" height=\"48\"hspace=\"10\"></img></a> **Comment by [sigmundch](https://github.com/sigmundch)**\n\n----\n\n*Removed this from the [1.6](../milestones/1.6) milestone.*\n*Added [Polymer-P-1](../labels/Polymer-P-1) label.*\n"}}