Skip to content

Add buf policy push command - #3804

Merged
emcfarlane merged 11 commits into
mainfrom
ed/bufPolicyPush
Aug 4, 2025
Merged

emcfarlane merged 11 commits into
mainfrom
ed/bufPolicyPush

Conversation

@emcfarlane

@emcfarlane emcfarlane commented Apr 29, 2025

Copy link
Copy Markdown
Contributor

This PR adds the command buf policy push for uploading Policies to the BSR. The current commands are in a hidden state. They are accessible from the CLI but BSR support is limited at this time. Commands will be unhidden with the appropriate release documentation and widespread BSR support later.

  push        Push a policy to a registry

@github-actions

github-actions Bot commented Apr 29, 2025

Copy link
Copy Markdown
Contributor

The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedJul 29, 2025, 9:42 PM

Base automatically changed from ed/bufPolicyAPI to main June 26, 2025 21:08
@emcfarlane
emcfarlane requested a review from doriable July 29, 2025 20:18
@emcfarlane
emcfarlane marked this pull request as ready for review July 29, 2025 20:18

@doriable doriable left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good, pretty straightforward addition, just a small/simple comment on the uploader that I missed earlier, sorry about that!

Comment thread private/buf/cmd/buf/command/policy/policypush/policypush.go
@emcfarlane
emcfarlane merged commit bf063a5 into main Aug 4, 2025
@emcfarlane
emcfarlane deleted the ed/bufPolicyPush branch August 4, 2025 16:50
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