-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
BSR tags for googleapis/googleapis are missing #1380
Comments
We recently made a change to our managed buf.build/googleapis/googleapis repository before certifying BSR as v1 (even though googleapis is technically just a module, we know that it's a commonly-used module that we maintain, so we consider this to be important not to break post-v1). googleapis contains over 3800 files, mostly relating to Google's core APIs. This causes numerous issues for most users, such as timeouts when installing packages with huge swaths of unused code to pull in just a few files. Not only is this a lot of code over the network and on disk, but it can cause issues in editors that try to parse all of that code! However, there are only ~30 files used by 99.999% of developers, and these files are the most common dependency in the Protobuf ecosystem. For example:
We considered these commonly used packages and included a subset of them into the new, slim googleapis repository. We hate breaking anyone, even in an alpha, and our apologies that it's causing any difficulties here. The issues with googleapis were serious enough that we felt that we had to do this in this extraordinary circumstance. We're coming out of beta extremely soon, and once we do, we take our responsibility not to break customers (free users or otherwise) very seriously, we appreciate you riding the rough road for the moment! |
Thanks for the explanation! I have a couple follow-up questions if you don't mind:
|
A slight technical note though: modules can break, which is something the publisher is responsible for (just as source code can break on GitHub), and we can't control third-party module content of course. However, googleapis is a commonly-used dependency that we do publish ourselves, and we understand its importance to the Protobuf ecosystem, so post-v1, we won't be making changes like this to googleapis and deleting previous commits. Of course though, Google could choose to break some of the Protobuf definitions, and we can't control that, but we doubt this will happen for this commonly-used definitions. |
I have just one more follow-up question: What is the recommended course of action for users who relied on proto files that are no longer part of googleapis/googleapis? |
Side note: I didn't get the custom error message, probably because my version of buf is too old, so that's on me. |
What files are you depending on outside of the set now posted? Can you provide a list? |
Probably none - I don't know for sure since I haven't version bumped yet. I was asking on behalf of the .001% of users who have this problem, or on behalf of my future self if I want to use those extra protos at some point in the future. |
I've just got this issue.
We depend on Is there any way to get the original full repository? or any other workaround? |
Same issue here.
|
i have same issue |
i solved buf mod update under all buf.yaml |
Related to this issue: bufbuild/buf#1380
Related to this issue: bufbuild/buf#1380
Related to this: bufbuild/buf#1380
Related to this: bufbuild/buf#1380 Imports the google.iam protos.
I fixed this in my project using the solution below:
|
Related to this: bufbuild/buf#1380 Imports the google.iam protos.
Related to this issue: bufbuild/buf#1380
Now we are getting:
The page https://buf.build/googleapis/googleapis fails with
Update: it briefly reappeared and disappeared again |
The above was an unrelated issue, this is now fixed. |
My buf commands have started producing
Here is my buf.lock file
https://buf.build/googleapis/googleapis/tags/main contains only two tags, both from today

Seems like something deleted all tags from before today? Does anyone have any idea what is going on?
The text was updated successfully, but these errors were encountered: