Skip to content

Allow PUB (package manager) to be imported by other applications. #2435

Closed
@DartBot

Description

@DartBot

This issue was originally filed by @chrisbu


What steps will reproduce the problem?
Per the comment on Bob N's proposal document for pub, it would be able to "pub serve" files to dartium, which would allow translation of the url's through a "magic" function.

It would be useful for other applications to be able to #import pub itself and be able to call that magic function to translate any #import references on the fly (rather than having them served directly by pub).

Please provide any additional information below.

proposal document link:
https://docs.google.com/document/d/13y7yCwq9GtPChXtd6t0YMcUtMJLZq2IVwq546Dve_No/edit?disco=AAAAAEgzOT4

Activity

kasperl

kasperl commented on Apr 11, 2012

@kasperl

Added Area-Pub, Triaged labels.

munificent

munificent commented on Jun 6, 2012

@munificent
Member

I think having a programmatic interface to pub is on our radar, but not near-term.


Added this to the Later milestone.

munificent

munificent commented on Oct 30, 2012

@munificent
Member

Removed Type-Defect label.
Added Type-Enhancement label.

munificent

munificent commented on Apr 18, 2013

@munificent
Member

Issue #9456 has been merged into this issue.

munificent

munificent commented on Dec 6, 2013

@munificent
Member

I'm going to close this out because we don't have concrete use cases for a pub API yet. When/if we do, it will make more sense to file bugs then for the actual API we want to support.


Added NotPlanned label.

added this to the Later milestone on Dec 6, 2013
DartBot

DartBot commented on Jun 5, 2015

@DartBot
Author

This issue has been moved to dart-lang/pub#35.

added a commit that references this issue on May 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    closed-not-plannedClosed as we don't intend to take action on the reported issuetype-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @kevmoo@munificent@kasperl@DartBot

        Issue actions

          Allow PUB (package manager) to be imported by other applications. · Issue #2435 · dart-lang/sdk