Skip to content

Adds buf_push rule - #24

Merged
srikrsna-buf merged 5 commits into
mainfrom
buf-push
Dec 28, 2022
Merged

srikrsna-buf merged 5 commits into
mainfrom
buf-push

Conversation

@srikrsna-buf

Copy link
Copy Markdown
Contributor

Closes #23

Adds a basic buf_push rule. buf mod update still needs to happen outside bazel.

@srikrsna-buf
srikrsna-buf requested a review from amckinney August 5, 2022 17:04

@amckinney amckinney left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This looks great, well done! The buf_push interface is as simple as I could hope for.

Comment thread buf/internal/push.bzl
Comment on lines +79 to +83
"_zipper": attr.label(
default = Label("@bazel_tools//tools/zip:zipper"),
executable = True,
cfg = "exec",
),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I like it - using a .zip or .tar archive is perfect in this context 👍

@srikrsna-buf
srikrsna-buf marked this pull request as ready for review August 8, 2022 17:03
Comment thread buf/internal/push.bzl Resolved
@srikrsna-buf
srikrsna-buf merged commit 7b7aaf5 into main Dec 28, 2022
@srikrsna-buf
srikrsna-buf deleted the buf-push branch December 28, 2022 10:39
srikrsna-buf added a commit that referenced this pull request Dec 28, 2022
@srikrsna-buf srikrsna-buf mentioned this pull request Nov 7, 2023
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.

Support buf push

3 participants