Code Monkey home page Code Monkey logo

Comments (5)

drasko avatar drasko commented on May 22, 2024

I have experimented with Glide. Nice tool.

However, Go seems to have this philosophy: http://stackoverflow.com/questions/24855081/how-do-i-import-a-specific-version-of-a-package-using-go-get

Adding new tools complicates the dev. KISS.

Mainflux imports only a handful of external packages, and all of them are well maintained. Our TDD tests should determine when things are broken. If ever something is broken, then we might consider what to do with this particular package and/or use Glide to lock package versions.

I think however that this case will not come, and that we might relay on simple go get and latest GitHub package braches (which by mentioned philosophy should be stable).

I will close the issue for now.

from magistrala.

drasko avatar drasko commented on May 22, 2024

@janko-isidorovic and @manuio run into the issue of Iris new version incompatibility with current Mainflux API.

Now number of dependencies is significant and we must lock the their versions.

Glide must be integrated in our project.

Look at Hydra for example of integration (https://github.com/ory-am/hydra#building-from-source)

from magistrala.

drasko avatar drasko commented on May 22, 2024

@mijicd @nmarcetic I see that this project: https://github.com/brocaar/loraserver for examples uploads in GitHub all the vendor packages - i.e. code. This is opposite to npm philosophy, but can be useful for end-user, so he do not care if some GitHub package does not exist anymore.

What is your opinion on this?

from magistrala.

drasko avatar drasko commented on May 22, 2024

I've added Glide, but would you consider maybe govendor - do you think it i s simpler to have than Glide?

from magistrala.

drasko avatar drasko commented on May 22, 2024

Finally, Glide it is.

Closing this one.

from magistrala.

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.