Code Monkey home page Code Monkey logo

Comments (8)

dgryski avatar dgryski commented on June 18, 2024

Yes, we noticed this today when a travis build failed. @Civil will patch this.

from carbonzipper.

Civil avatar Civil commented on June 18, 2024

Please check if master now works for you

from carbonzipper.

StephenPCG avatar StephenPCG commented on June 18, 2024

It works now!

from carbonzipper.

Civil avatar Civil commented on June 18, 2024

Glad to hear!

As dep is still in Alpha phase and it's format stabilization is planed for May, this may happen in future. So please open a new issue if you'll spot that sooner than we do. But I hope there won't be a lot of that issues in future.

from carbonzipper.

StephenPCG avatar StephenPCG commented on June 18, 2024

It's not working again here, dep ensure complains solve error: No versions of github.com/gogo/protobuf met constraints (full output is pasted above).

With carbonzipper, a second dep ensure will succeed, but with carbonapi, dep ensure just keeps complaining.

I don't know too much about dep, what does dep ensure do? Does it recursively ensure all downloaded dependencies? Or should it be possible that it just fails due to my slow network?

BTW, github.com/gogo/protobuf is too large, it's about 21MB to clone, my network speed to github is just about 60KB/s, it's painful long running dep ensure everytime (I'm building docker images, so env is always clean each time). Are there any better ways to same this time?

from carbonzipper.

Civil avatar Civil commented on June 18, 2024

I'll remove gogo/protobuf dependency, it's now obsolete.

But I think that won't fully solve your problem. Currently most of vendoring types relies on fetching everything from git on each clean build. If that bothers you, I suggest you to find a way to cache GOPATH and preserve it between builds.

from carbonzipper.

StephenPCG avatar StephenPCG commented on June 18, 2024

Maybe it's really due to the poor network in my company. I tried several times at home hours ago, and always succeeded. I guess there maybe a timeout while dep ensure cloneing repositories. If network is really the problem, I'm sure going to find a way to cache GOPATH.

from carbonzipper.

Civil avatar Civil commented on June 18, 2024

Ok, I've checked and actually I can't remove gogo/protobuf from the dependeices, as carbonzipperpb3 imports it. Sorry, but the only option is to cache GOPATH. This will also significantly speedup 'dep ensure'.

from carbonzipper.

Related Issues (20)

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.