GithubHelp home page GithubHelp logo

Comments (6)

mvdan avatar mvdan commented on August 19, 2024

Surely you mean gb-vendor?

from gb.

crsmithdev avatar crsmithdev commented on August 19, 2024

More info after letting it time out:

gb vendor <host>/<path>/<repo>.git
2015/04/29 15:00:53 INFO project root "<project root>"
package code.google.com/p/snappy-go/snappy: Get https://code.google.com/p/snappy-go/source/checkout?repo=: read tcp 74.125.239.40:443: operation timed out
2015/04/29 15:08:50 exit status 1
2015/04/29 15:08:50 command "vendor" failed: exit status 1

code.google.com/p/snappy-go/snappy is directly go-gettable, though.

from gb.

crsmithdev avatar crsmithdev commented on August 19, 2024

interesting, both gb vendor and gb-vendor seem to be valid commands?

from gb.

crsmithdev avatar crsmithdev commented on August 19, 2024

Strange! gb-vendor works. Why are they both valid and why does the latter work but not the former?

from gb.

davecheney avatar davecheney commented on August 19, 2024

gb-vendor is a git style plugin. It's a bug that t doesn't properly protect itself from being run directly. I'll fix that.

As an aside, gb-vendor is just a thin shim that sets GOPATH to the project's vendor directory and shells out to go get.

Gb-vendor is just a hack to bootstrap your project, you can always just popular the vendor/src directory manually.

from gb.

crsmithdev avatar crsmithdev commented on August 19, 2024

OK thanks for the clarification, closing, although definitely fix the gb vendor issue, that was quite confusing.

from gb.

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.