Skip to content

Request: requesting a .packages file from http: import of an entry point #23952

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 Aug 3, 2015 · 1 comment
Closed
Assignees
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. type-enhancement A request for a change that isn't a bug
Milestone

Comments

@sethladd
Copy link
Contributor

sethladd commented Aug 3, 2015

If a Dart runtime fetches an entry point from an http: URI, according to DEP dart-archive/dart_enhancement_proposals#5 (detailed here: https://github.com/lrhn/dep-pkgspec/blob/master/DEP-pkgspec.md) , the Dart runtime should:

Look for a .packages file next to the program entry point (which can then not be given using a package: URI). For example running an application like:
dart http://example.com/smarty/main.dart
will cause the dart stand-alone VM to check for the existence of http://example.com/smarty/.packages, and if that URI returns a file, use the content for resolving package URIs in the application.

@sethladd sethladd added Type-Enhancement area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. labels Aug 3, 2015
@sethladd sethladd changed the title Request: requesting a .packages file from http: imports Request: requesting a .packages file from http: import of an entry point Aug 3, 2015
@iposva-google iposva-google self-assigned this Aug 3, 2015
@iposva-google iposva-google added this to the 1.12 milestone Aug 3, 2015
@iposva-google
Copy link
Contributor

@kevmoo kevmoo added type-enhancement A request for a change that isn't a bug and removed type-enhancement labels Mar 1, 2016
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. type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

3 participants