{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/pub/issues/1191","labels_url":"https://api.github.com/repos/dart-lang/pub/issues/1191/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/pub/issues/1191/comments","events_url":"https://api.github.com/repos/dart-lang/pub/issues/1191/events","html_url":"https://github.com/dart-lang/pub/issues/1191","id":85646420,"number":1191,"title":"pub transformer does not get access to pubspec.yaml as an asset","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/duplicate","name":"duplicate","color":"cccccc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-05T22:24:14Z","updated_at":"2015-06-05T22:24:15Z","closed_at":null,"body":"<a href=\"https://github.com/paulevans\"><img src=\"https://avatars.githubusercontent.com/u/719048?v=3\" align=\"left\" width=\"96\" height=\"96\"hspace=\"10\"></img></a> **Issue by [paulevans](https://github.com/paulevans)**\n_Originally opened as dart-lang/sdk#21574_\n\n----\n\n**What steps will reproduce the problem?**\n1. Write a transformer that attempts to use information in pubspec.yaml\n\n**What is the expected output? What do you see instead?**\npubspec.yaml appears as asset\nActual:\npubspec.yaml never processed as asset\n\n**What version of the product are you using?**\n1.7.2\n\n**On what operating system?**\nMac OS X\n\n**Please provide any additional information below.**\nSome metadata provided in the pubspec.yaml file (e.g. version. name, description) would be useful to some pub transformers\n\nWork around:\nOn transformer construction current working directory is project root - so path can be constructed to pubspec.yaml at that point and read.\n"},"comment":{"url":"https://api.github.com/repos/dart-lang/pub/issues/comments/109461665","html_url":"https://github.com/dart-lang/pub/issues/1191#issuecomment-109461665","issue_url":"https://api.github.com/repos/dart-lang/pub/issues/1191","id":109461665,"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:24:15Z","updated_at":"2015-06-05T22:24:15Z","body":"<a href=\"https://github.com/nex3\"><img src=\"https://avatars.githubusercontent.com/u/188?v=3\" align=\"left\" width=\"48\" height=\"48\"hspace=\"10\"></img></a> **Comment by [nex3](https://github.com/nex3)**\n\n----\n\n*Added [Duplicate](../labels/Duplicate) label.*\n*Marked as being merged into dart-lang/sdk#19434.*\n"}}