Giter Site home page Giter Site logo

Comments (3)

ryanpbrewster avatar ryanpbrewster commented on June 3, 2024 1

Confirming that when I upgrade from

to

dolthub/go-mysql-server@707f05909f9544d323f6223948ec01e686d18a37

(the commit from a few hours ago)
the sample test I provided above now passes

$ go test foo_test.go 
ok      command-line-arguments  0.005s

from vitess.

ryanpbrewster avatar ryanpbrewster commented on June 3, 2024

I managed to reproduce this from within this repo, and in the process discovered that my proposed fix is not quite sufficient. The protoregistry actually expects all .proto files to have globally unique files paths relative to their proto root. In this repo's case, the proto root is proto/, so proto/topodata.proto will conflict with any other topodata.proto that exists in any other dependency.

I think there is a very simple fix here: move all the proto files from proto/*.proto to proto/dolthub/vt/*.proto. That ensures that they will only conflict with other projects that also lay out their protos in proto/dolthub/vt/ directory structure.

from vitess.

ryanpbrewster avatar ryanpbrewster commented on June 3, 2024

Fixed by #166

from vitess.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.