record.proto is too generic and results in conflict with other packages #788
Labels
effort/hours
Estimated to take one or several hours
kind/bug
A bug in existing code (including security flaws)
P2
Medium: Good to have, but can wait until someone steps up
Background
I work on the k3s project, which has a large dependency trail. Recently we attempted to move to a new version of spegel, which pulled in new versions of libp2p/go-libp2p-kad-dht which bumped boxo from from v0.10.0 -> v0.24.3
Issue
All these dependencies thrown together has resulted in conflicts around
record.proto
registration:Looking thru our vendor list you can see that there are a multitude of dependencies that use a very generic
record.proto
for some protobuf.Looking at the FAQ around how to resolve this that https://protobuf.dev/reference/go/faq#namespace-conflict, it seems that boxo does not define a unique enough
option go_package
for its protobuf. Additionally, it is likely a good idea to just change the name entirely from something so generic asrecord
.The text was updated successfully, but these errors were encountered: