Skip to content

VM: Implementing the package spec proposal #23369

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
sethladd opened this issue May 4, 2015 · 12 comments
Closed

VM: Implementing the package spec proposal #23369

sethladd opened this issue May 4, 2015 · 12 comments
Assignees
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. P1 A high priority bug; for example, a single project is unusable or has many test failures type-enhancement A request for a change that isn't a bug
Milestone

Comments

@sethladd
Copy link
Contributor

sethladd commented May 4, 2015

Tracking issue for implementing the package spec proposal.

Main issue: dart-archive/dart_enhancement_proposals#5

Proposal: https://github.com/lrhn/dep-pkgspec/blob/master/DEP-pkgspec.md

@iposva-google
Copy link
Contributor

Set owner to @iposva-google.
Added Accepted label.

@sethladd
Copy link
Contributor Author

sethladd commented May 4, 2015

Marked this as blocking #23372.

@sethladd
Copy link
Contributor Author

sethladd commented May 7, 2015

Added this to the 1.11 milestone.

@sethladd sethladd added Type-Enhancement area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. labels May 7, 2015
@sethladd sethladd added this to the 1.11 milestone May 7, 2015
@nex3
Copy link
Member

nex3 commented Jun 8, 2015

Milestone 1.11 is in merge mode now. How is this progressing?

@sethladd sethladd added the P1 A high priority bug; for example, a single project is unusable or has many test failures label Jun 11, 2015
@sethladd sethladd modified the milestones: 1.12, 1.11 Jun 11, 2015
@nex3
Copy link
Member

nex3 commented Jun 29, 2015

Just to make sure: there will also be a --package-spec flag that allows the user to pass in a user-specified package location, right? This is important for pub.

@sethladd
Copy link
Contributor Author

sethladd commented Jul 6, 2015

The DEP specified --package-spec so I would expect that it will be supported. Thanks for raising this.

Curious, how/why would pub use it?

@nex3
Copy link
Member

nex3 commented Jul 6, 2015

@sethladd
Copy link
Contributor Author

PR just landed b07a9dd

@iposva-google
Copy link
Contributor

@sethladd
Copy link
Contributor Author

Thanks @iposva-google , very cool!

@nex3
Copy link
Member

nex3 commented Jul 31, 2015

Three questions:

  • Does this support support passing a packages file into Isolate.spawnUri? If not, should we open a new sub-issue of Generate and consume the package spec (.packages) #23372 for that?
  • b07a9dd mentions that it doesn't yet support .packages files for HTTP imports. Is that in yet? If not, should we wait to close this issue until it is?
  • Where do the tests for this feature live?

@sethladd
Copy link
Contributor Author

sethladd commented Aug 3, 2015

Does this support support passing a packages file into Isolate.spawnUri? If not, should we open a new sub-issue of #23372 for that?

I just checked the bleeding_edge docs for Isolate.spawnUri, and it looks like there isn't a named parameter for packages file. Thanks for the catch. I can open a new sub-issue for that. (cc @lrhn )

b07a9dd mentions that it doesn't yet support .packages files for HTTP imports. Is that in yet? If not, should we wait to close this issue until it is?

I'll open a new tracking issue for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. P1 A high priority bug; for example, a single project is unusable or has many test failures type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

4 participants