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

Add beta plugin command (remove alpha plugin) #2128

Merged
merged 1 commit into from May 30, 2023
Merged

Conversation

mfridman
Copy link
Member

This PR removes the old buf alpha plugin {push,delete} commands and promotes them to buf beta plugin {push,delete}.

Notable changes:

  1. The host is now buf.build instead of plugins.buf.build (drop subdomain)
  2. The plugin visibility is now mandatory, similar to buf beta registry repository create command

We might want to nest the buf beta plugin command under registry, like buf beta registry plugin {push,delete} .. but this is less an API command and more like buf push, so there's an argument to keep it under buf beta plugin push and eventually promote it to just buf plugin push

@mfridman mfridman requested a review from pkwarren May 30, 2023 15:56
Short: "Manage plugins on the Buf Schema Registry",
SubCommands: []*appcmd.Command{
pluginpush.NewCommand("push", builder),
curatedplugindelete.NewCommand("delete", builder),
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
curatedplugindelete.NewCommand("delete", builder),
plugindelete.NewCommand("delete", builder),

Maybe as part of this we remove the old buf beta registry plugin and buf beta registry template commands since the old RPCs no longer support making changes?

Copy link
Member Author

Choose a reason for hiding this comment

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

Any objections if we do this in a follow-up PR, I'd like to keep the removal of the legacy bits separate from feature work?

@mfridman mfridman marked this pull request as ready for review May 30, 2023 16:26
@mfridman mfridman merged commit 05b76d4 into main May 30, 2023
7 checks passed
@mfridman mfridman deleted the buf-beta-plugin-push branch May 30, 2023 17:14
mfridman added a commit that referenced this pull request May 30, 2023
@mfridman mfridman restored the buf-beta-plugin-push branch May 30, 2023 17:29
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.

None yet

2 participants