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

Delete PLUGIN_REGISTRY_TYPE_ARCHIVE #2849

Merged
merged 4 commits into from
Mar 27, 2024
Merged

Conversation

bufdev
Copy link
Member

@bufdev bufdev commented Mar 27, 2024

All plugins can be used with archives.

@bufdev bufdev requested a review from mfridman March 27, 2024 20:16
PLUGIN_REGISTRY_TYPE_UNSPECIFIED = 0;
PLUGIN_REGISTRY_TYPE_GO = 1;
PLUGIN_REGISTRY_TYPE_NPM = 2;
PLUGIN_REGISTRY_TYPE_MAVEN = 3;
PLUGIN_REGISTRY_TYPE_SWIFT = 4;
PLUGIN_REGISTRY_TYPE_PYTHON = 5;
PLUGIN_REGISTRY_TYPE_ARCHIVE = 6;
Copy link
Member

Choose a reason for hiding this comment

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

The only time we would need this is if we want a default plugin option for a given plugin against the archive registry. Otherwise some plugins may not work out-of-the-box.

If we don't care about this property, then this makes sense.

Copy link
Member Author

Choose a reason for hiding this comment

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

Not sure what you mean here - I think this enum is denoting what package ecosystem something is a part of, is there something else it should represent?

Copy link
Member

@mfridman mfridman Mar 27, 2024

Choose a reason for hiding this comment

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

Ah, you only removed the enum, not the archive registry config.

Copy link
Member Author

Choose a reason for hiding this comment

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

I also removed that, just now, but still not sure what you mean

@bufdev bufdev merged commit 5cd3965 into main Mar 27, 2024
11 checks passed
@bufdev bufdev deleted the plugin-registry-type-archive-delete branch March 27, 2024 20:38
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.

2 participants