GithubHelp home page GithubHelp logo

getgb.io's People

Contributors

ardan-bkennedy avatar ardan-erick avatar bobrik avatar davecheney avatar dchest avatar fern4lvarez avatar jbuberel avatar johnweldon avatar mxlje avatar natefinch avatar pzurek avatar seh avatar sevein avatar tobischo avatar zmb3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

getgb.io's Issues

Can't test with -coverprofile flag

gb test -coverprofile cover.out is failing with the following error:

testing: cannot use -test.coverprofile because test binary was not built with
coverage enabled
FATAL: command "test" failed: exit status 2

Is there any workaround at the moment?

getting started page forgets to commit the results

The getting started page http://getgb.io/examples/getting-started/ has a number of interesting examples in the "converting an existing project" section where it uses git clone to populate the vendor/src directory. However, the examples stop at building the result and don't show how to commit the whole project in the end back into a git repo. A simple git add .; git commit doesn't work because the result would be that the repo would have a bunch of submodules for everything that was git cloned into vendor/src, which defeats part of the whole vendoring. Is one supposed to run rm -rf $(find vendor/src -name .git) before the git add? That loses all info about where the sources came from ... I know that some of this is "beyond the scope of gb" but not talking about it in the examples makes new users stumble and wonder whether this gb thing really works... (Not trying to bash gb, I'm thankful for you trying to wrangle the beast down!)

fix title

All pages have the title gb, this is bad for seo and bookmarking.

"Getting started" guide leads people to check in vendor/src directory

In the FAQ (content/faq/externals.md) you clearly mentioned you disagree managing a copy of dependencies in project code base.

The Go authors agree that vendoring, taking a copy of your dependencies, is the path to repeatable builds โ€“ we just disagree on the method.

The Go authors are recommending vendoring by copying the source of your dependencies into a folder inside your package, then rewriting the source of those vendored depdendencies to accomodate.

Then please do NOT lead people to do that in the "getting started" guide (content/examples/getting-started.md) (the "Wrapping up" section):

you should check your $PROJECT directory into a source control repository. This includes any source you have copied from other projects into your $PROJECT/vendor/src/ directory.

I just started learning golang and got here when trying to pick the best dependency management tool out of the ~20 tools (!). Turns out a lot of tools recommend to copy dependencies and check into project source tree. I personally strongly disagree with that, I'd rather manage links to dependencies in project source tree, either using git submodule/subtree or tools like gom. If your opinions remain the same as mentioned in the FAQ, giving some more detailed examples would be very helpful.

Thanks for the great tool!

Incorrect documentation about go tool's vendoring

The Go authors are recommending vendoring by copying the source of your dependencies into a folder inside your package

That's true.

then rewriting the source of those vendored depdendencies to accomodate

That's no longer true with vendor experiment (which is no longer experiment).

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.