Skip to content

API available to SwiftPM Commands is no longer available to other clients of the SwiftPM #7440

Closed
@krzyzanowskim

Description

@krzyzanowskim

Commands is a primary SwiftPM product client. Unfortunately, it uses API that recently became scoped as a package; therefore, it is no longer accessible to third-party clients of the SwiftPM product. It makes it impossible to use the same functionality by other clients (without reimplementing it, I guess). That wasn't an issue until recent changes #7387

For example, it's now impossible to build a tool similar to the swift-api-digester command using SwiftPM product as a dependency, as it lacks the API to build the package.

I see it as an oversight with a chance to revert and make it public again. Ideally, whatever is used by, e.g., Commands should be a public API available to other clients of the SwiftPM product (library).

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