Skip to content

Rename "extension" to "plugin" in the implementation of SE-0303 to align with the proposal #3311

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

Merged

Conversation

abertelrud
Copy link
Contributor

@abertelrud abertelrud commented Feb 25, 2021

Rename "extension" to "plugin" to align with the proposal SE-0303.

This is a fairly large diff but is just the renaming from "extension" to "plugin" and the related variables and comments. The name of the runtime library changes too, and some of the methods use different verbs that work better with the noun "plugin". In some cases there are temporary typealiases to ease transition for clients.

No change in functionality.

@abertelrud abertelrud self-assigned this Feb 25, 2021
@abertelrud abertelrud marked this pull request as draft February 25, 2021 23:17
@abertelrud abertelrud force-pushed the align-implementation-to-proposal-names branch from 3d1fc0d to 9ccee3d Compare February 25, 2021 23:20
@abertelrud abertelrud changed the title WIP: Rename Extension to Plugin and separate out the use of plugins from dependencies WIP: Rename Extension to Plugin to align with proposal SE-303 Feb 26, 2021
@abertelrud abertelrud force-pushed the align-implementation-to-proposal-names branch 3 times, most recently from c2cb3b7 to bb6c969 Compare February 26, 2021 02:30
@abertelrud abertelrud marked this pull request as ready for review February 26, 2021 02:31
@abertelrud
Copy link
Contributor Author

@swift-ci please smoke test

@abertelrud abertelrud changed the title WIP: Rename Extension to Plugin to align with proposal SE-303 Rename Extension to Plugin to align with proposal SE-303 Feb 26, 2021
@abertelrud abertelrud changed the title Rename Extension to Plugin to align with proposal SE-303 Rename "extension" to "plugin" in the implementation of SE-0303 to align with the proposal Feb 26, 2021
This is a fairly large diff but is just the renaming from "extension" to "plugin" and the related variables and comments.  The name of the runtime library changes too, and some of the methods use different verbs that work better with the noun "plugin".  In some cases there are temporary typealiases to ease transition for clients.
@abertelrud abertelrud force-pushed the align-implementation-to-proposal-names branch from bb6c969 to df3aa06 Compare February 26, 2021 04:18
@abertelrud
Copy link
Contributor Author

@swift-ci please smoke test

@abertelrud abertelrud added the ready Author believes the PR is ready to be merged & any feedback has been addressed label Feb 26, 2021
@tomerd
Copy link
Contributor

tomerd commented Feb 26, 2021

😅

@abertelrud
Copy link
Contributor Author

:) This was a big one. Once the tests pass and this is merged, I'll move #3312 out of Draft since it will be much easier to review. That one and the upcoming PRs all stack on top of this one.

@abertelrud abertelrud merged commit a904bf3 into swiftlang:main Feb 26, 2021
@abertelrud abertelrud deleted the align-implementation-to-proposal-names branch February 26, 2021 07:29
friedbunny added a commit to swiftlang/swift-package-collection-generator that referenced this pull request Mar 5, 2021
…ension` → `.plugin` renaming

Fix a build failure caused by SwiftPM upstream renaming `ProductType.extension` to `ProductType.plugin` in swiftlang/swift-package-manager#3311.

Note that SwiftPM's `PackageCollectionModel.V1` hasn't gotten this rename yet and still has `ProductType.extension`, which seems like a mismatch that probably needs to be resolved upstream (and then again here).
friedbunny added a commit that referenced this pull request Mar 5, 2021
Follow-up to #3311 where "extension" was renamed to "plugin". This commit makes that same change in `PackageCollectionModel.V1.ProductType` and other related sites.
abertelrud pushed a commit that referenced this pull request Mar 6, 2021
Follow-up to #3311 where "extension" was renamed to "plugin". This commit makes that same change in `PackageCollectionModel.V1.ProductType` and other related sites.
yim-lee pushed a commit to swiftlang/swift-package-collection-generator that referenced this pull request Mar 6, 2021
…ension` → `.plugin` renaming (#21)

* Update PackageCollectionModel.V1.ProductType init extension for `.extension` → `.plugin` renaming

Fix a build failure caused by SwiftPM upstream renaming `ProductType.extension` to `ProductType.plugin` in swiftlang/swift-package-manager#3311.

Note that SwiftPM's `PackageCollectionModel.V1` hasn't gotten this rename yet and still has `ProductType.extension`, which seems like a mismatch that probably needs to be resolved upstream (and then again here).

* Adopt pending upstream change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready Author believes the PR is ready to be merged & any feedback has been addressed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants