Code Monkey home page Code Monkey logo

Comments (5)

jorinvo avatar jorinvo commented on August 23, 2024 1

I prefer it the other way around 😉
When you commit them the project stays installable via go get. Also I like being in as much control as possible about the code that goes into a project. If you have to commit to the dependencies you think twice if it's worth it to include yet another library. And when they are part of the repo, there is even a chance that you might check some day what the code in vendor/ actually does.
I still think dep is super important because you need to keep the dependencies up to date.

But that's just my personal preference. In the end it doesn't matter much for me.

from godownloader.

client9 avatar client9 commented on August 23, 2024 1

I also prefer committing the vendor dir...for what @jorinvo said but also for other reasons too.

It makes builds and travis faster, and less brittle. GitHub and / or the network sometimes has problems, or even sometimes entire repos get moved. If vendor is checked in, I just eliminated a whole bunch of failure cases.

That said, I'm happy to follow the convention of goreleaser here.

from godownloader.

caarlos0 avatar caarlos0 commented on August 23, 2024

My 2 cents:

I always ignore them.

IMHO The purpose of using a dep manager is for the dep manager to manages deps :)

from godownloader.

jorinvo avatar jorinvo commented on August 23, 2024

@client9 especially with (currently) only GoReleaser as dependency a lot of the reasons for committing are weaker since both projects kinda belong together anyways.
Would also agree with you that for the case of this project it's probably a good decision to just add it to the .gitignore file 👍

from godownloader.

client9 avatar client9 commented on August 23, 2024

completely agree @jorinvo I'll add the .gitignore

from godownloader.

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.