Skip to content
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

refactor: remove deprecated InitializePluginVersion, replace with NewPluginVersion #13016

Conversation

IAMDAVID0920
Copy link
Contributor

Description:

This is just a minor refactor based on the awesome work here: hashicorp/packer-plugin-sdk#228
Replace all the InitializePluginVersion with NewPluginVersion in the packer code base.

Reason:

We've decided to deprecate InitializePluginVersion, so it is time for us to switch to NewPluginVersion which now supports VersionMetadata for plugin developers, and this can also be a seamless transition once we fully drop InitializePluginVersion in the future.

@IAMDAVID0920 IAMDAVID0920 requested a review from a team as a code owner June 3, 2024 01:37
Copy link

hashicorp-cla-app bot commented Jun 3, 2024

CLA assistant check
All committers have signed the CLA.

@lbajolet-hashicorp lbajolet-hashicorp added the tech-debt Issues and pull requests related to addressing technical debt or improving the codebase label Jun 3, 2024
Copy link
Contributor

@lbajolet-hashicorp lbajolet-hashicorp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @IAMDAVID0920,

Thanks for picking these up, forgot to update them when we bumped the SDK.

LGTM, will merge once tests go green!

@lbajolet-hashicorp lbajolet-hashicorp merged commit d625694 into hashicorp:main Jun 3, 2024
11 of 12 checks passed
Copy link

github-actions bot commented Jul 4, 2024

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
tech-debt Issues and pull requests related to addressing technical debt or improving the codebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants