Skip to content

Stop generating .packages #2756

Closed
Closed
@lrhn

Description

@lrhn

There is no need for a new SDK to generate a .packages file for itself. The only reason for having one is to support old third-party tools which have not started using the .dart_tool/package_config.json file yet.

We should identify any such tools blocking us from removing the .packages file, make sure they are updated, and then stop generating .packages files.

The sooner this is done, the better.

Would it be possible to stop generating the .packages file for Pub in SDK -dev builds? That should smoke out any remaining uses of the file. Maybe keep the feature available under a flag, so people really needing it can still get it that way?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions