Skip to content

Conversation

@dschaefer2
Copy link
Member

Eliminate the special generatePrepareManifest and just reuse the real one and add a couple of checks for the target/product prepareForIndexing buildParameter instead. This then enables us to make sure we're doing a full build of the plugin tools so they can generate code to be properly indexed.

Addresses #8216 for openapi generator.

Eliminate the special generatePrepareManifest and just reuse the real
one and add a couple of checks for the target/product prepareForIndexing
buildParameter instead. This then enables us to make sure we're doing
a full build of the plugin tools so they can generate code to be
properly indexed.

Addresses swiftlang#8216 for openapi generator.
@MahdiBM
Copy link

MahdiBM commented Jan 18, 2025

I think and hope this PR is related to this issue in this comment: swiftlang/sourcekit-lsp#1896 (comment) ?

@dschaefer2
Copy link
Member Author

dschaefer2 commented Jan 20, 2025

I think and hope this PR related to this issue in this comment: swiftlang/sourcekit-lsp#1896 (comment) ?

Not sure it does. The focus here is to make sure we run the plugin tools so that the code they may generate gets indexed.

@dschaefer2 dschaefer2 merged commit 083840e into swiftlang:main Jan 21, 2025
5 checks passed
@dschaefer2 dschaefer2 deleted the prepare-plugin-tools branch January 21, 2025 16:48
dschaefer2 added a commit to dschaefer2/swift-package-manager that referenced this pull request Jan 21, 2025
…ng#8230)

Eliminate the special generatePrepareManifest and just reuse the real
one and add a couple of checks for the target/product prepareForIndexing
buildParameter instead. This then enables us to make sure we're doing a
full build of the plugin tools so they can generate code to be properly
indexed.

Addresses swiftlang#8216 for openapi generator.
dschaefer2 added a commit that referenced this pull request Jan 22, 2025
…8236)

Back port of #8230 to release/6.1

Eliminate the special generatePrepareManifest and just reuse the real
one and add a couple of checks for the target/product prepareForIndexing
buildParameter instead. This then enables us to make sure we're doing a
full build of the plugin tools so they can generate code to be properly
indexed.

Addresses #8216 for openapi generator.
bripeticca pushed a commit to bripeticca/swift-package-manager that referenced this pull request Feb 28, 2025
…ng#8230)

Eliminate the special generatePrepareManifest and just reuse the real
one and add a couple of checks for the target/product prepareForIndexing
buildParameter instead. This then enables us to make sure we're doing a
full build of the plugin tools so they can generate code to be properly
indexed.

Addresses swiftlang#8216 for openapi generator.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants