-
Notifications
You must be signed in to change notification settings - Fork 1
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
Sync one more gofeatures
reference
#822
Conversation
gofeatures
reference
The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).
|
Would it be better to instead remove the I don't understand pinning it to the newer 29.1 of wellknowntypes. That will never be able to compile, due to the duplicate |
v29.1 is the last release of WKT that didn't have |
Correct, to be more clear: If you look at Github, WKT actually included |
Ack about 29.1 not actually including the file in the BSR's version of protocolbuffers/wellknowntypes. Will it be a lot of work to make the BSR respect the version pins in these modules' In any event, this PR looks good to me. I'm just asking if there's some faster (but still sane/acceptable) path to getting the deprecated module sync'ed to BSRs. |
I don't expect it to be a lot, currently working on it now. We originally decided not to support it to avoid a foot gun and set commit IDs there (which would be different across BSR instances), but as long as we use synced references (ie labels), we should be good. |
Backend BSR currently does not respect
buf.yaml
dependency pins and instead it uses the latest synced dependency reference, as stated in the README, which means:gofeatures
synced references always depended at the latestwellknowntypes
available at the moment, not specificallyv27.0
(as its syncedbuf.yaml
suggested). Right now it depends onv29.1
.gofeatures
referencev1.36.1
is currently stuck and unsyncable in BSRs because it does not build, due to a duplicate proto path:go_features.proto
file, recently added towellknowntypes
module inv29.2
.Fix plan is:
buf.yaml
that pins to a specific dependency.[email protected]
reference as skippable, so it skips tov1.36.2
from this PR.gofeatures
dependency towellknowntypes
would jump backwards fromv29.1
(what currently depends on), tov27.0
(what's synced in the central bucket).Then we can merge this PR and release
modules
, so BSR picks up this new reference and syncs it.