Skip to content

Add beta plugin command (remove alpha plugin)#2128

Merged
mfridman merged 1 commit intomainfrom
buf-beta-plugin-push
May 30, 2023
Merged

Add beta plugin command (remove alpha plugin)#2128
mfridman merged 1 commit intomainfrom
buf-beta-plugin-push

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
@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.

2 participants