-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Clean up non-core commands #5917
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
Conversation
@swift-ci please smoke test |
eca189e
to
3462cbd
Compare
@swift-ci please smoke test |
3462cbd
to
9eb4caa
Compare
@swift-ci please smoke test |
Based on this, would you like |
I think it's fine to be in |
Looks like the change to |
This separates out the collections and registry commands from the `Commands` module, allowing to simplify the first stage of bootstrap: - Moves the command implementations to new modules `PackageCollectionsTool` and `PackageRegistryTool`. - Adds a new multi-tool entry point executable `swift-package-manager`. This used to be included in `swift-package`, but that would render the separation moot and also seems like a better structure. For installation into the toolchain, we're simply installing the new executable under the name `swift-package`, so nothing changes there. - Remove package-collections related stuff from the CMake build, it was anyway completely unused.
9eb4caa
to
4326336
Compare
@swift-ci please smoke test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥳
cc @yim-lee |
@swift-ci please test package compatibility |
Hmmmm
Is that an infra issue, @shahmishal? |
@swift-ci please test package compatibility |
Is this new multi-tool entry point supposed to be the only one available? Is there much sense in declaring separate |
Yes, for two reasons:
|
This separates out the collections and registry commands from the
Commands
module, allowing to simplify the first stage of bootstrap:PackageCollectionsTool
andPackageRegistryTool
.swift-package-manager
. This used to be included inswift-package
, but that would render the separation moot and also seems like a better structure. For installation into the toolchain, we're simply installing the new executable under the nameswift-package
, so nothing changes there.