{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/12354","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/12354/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/12354/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/12354/events","html_url":"https://github.com/dart-lang/sdk/issues/12354","id":84546279,"number":12354,"title":"Add pub command to list local paths to dependencies","user":{"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},"labels":[{"url":"https://api.github.com/repos/dart-lang/sdk/labels/Area-Pub","name":"Area-Pub","color":"ededed"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/Fixed","name":"Fixed","color":"ededed"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/Priority-Unassigned","name":"Priority-Unassigned","color":"ededed"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/Type-Enhancement","name":"Type-Enhancement","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":4,"created_at":"2013-08-09T18:38:02Z","updated_at":"2015-06-05T22:10:07Z","closed_at":"2015-06-03T12:48:52Z","body":"When the analyzer sees a &quot;package:&quot; import, it needs to find the local physical path to that file. Currently, it relies on &quot;packages&quot; directories to resolve these, but that means pub has to set up those directories and symlinks.\n\nIt would be nice if pub could just tell the analyzer where the packages are. After some discussion our current plan is to add a command to pub. This command will output a JSON map describing the local path to the root directory for each package that an application depends on. Like:\n\n{\n&nbsp;&nbsp;&quot;foo&quot;: &quot;/local/path/to/foo&quot;,\n&nbsp;&nbsp;&quot;bar&quot;: &quot;../bar&quot;\n&nbsp;&nbsp;...\n}\n\nThis will use whatever information is currently in the lockfile for the entrypoint package to determine what to print. If there is no lockfile, it will probably just fail with an error."},"comment":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/comments/109456169","html_url":"https://github.com/dart-lang/sdk/issues/12354#issuecomment-109456169","issue_url":"https://api.github.com/repos/dart-lang/sdk/issues/12354","id":109456169,"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-05T22:10:07Z","updated_at":"2015-06-05T22:10:07Z","body":"This issue has been moved to dart-lang/pub#612."}}