Skip to content

pub transformer does not get access to pubspec.yaml as an asset #1191

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
DartBot opened this issue Jun 5, 2015 · 3 comments
Closed

pub transformer does not get access to pubspec.yaml as an asset #1191

DartBot opened this issue Jun 5, 2015 · 3 comments
Labels
closed-duplicate Closed in favor of an existing report type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@DartBot
Copy link

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/719048?v=3" align="left" width="96" height="96"hspace="10"> Issue by paulevans
Originally opened as dart-lang/sdk#21574


What steps will reproduce the problem?

  1. Write a transformer that attempts to use information in pubspec.yaml

What is the expected output? What do you see instead?
pubspec.yaml appears as asset
Actual:
pubspec.yaml never processed as asset

What version of the product are you using?
1.7.2

On what operating system?
Mac OS X

Please provide any additional information below.
Some metadata provided in the pubspec.yaml file (e.g. version. name, description) would be useful to some pub transformers

Work around:
On transformer construction current working directory is project root - so path can be constructed to pubspec.yaml at that point and read.

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/405837?v=3" align="left" width="48" height="48"hspace="10"> Comment by zoechi


Similar to http://dartbug.com/21020

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/2156198?v=3" align="left" width="48" height="48"hspace="10"> Comment by kasperl


Added Area-Pub, Triaged labels.

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/188?v=3" align="left" width="48" height="48"hspace="10"> Comment by nex3


Added Duplicate label.
Marked as being merged into dart-archive/barback#53.

@DartBot DartBot added type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) closed-duplicate Closed in favor of an existing report labels Jun 5, 2015
@DartBot DartBot closed this as completed Jun 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-duplicate Closed in favor of an existing report type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

1 participant