Git Product home page Git Product logo

Comments (5)

seancorfield avatar seancorfield commented on July 25, 2024

Why? What problem does that solve?

deps-new is designed to be installed as a CLI tool but you can also use it as a git dep.

from deps-new.

sg-qwt avatar sg-qwt commented on July 25, 2024

in the old mvn world, there is :mvn/version "RELEASE", but I don't find the equivalent in the new :git/tag way?

from deps-new.

seancorfield avatar seancorfield commented on July 25, 2024

If you install it as a tool, there's a built-in way to update tools to the latest version.

Can you explain the use case where you're trying to use this as a library instead of a tool?

from deps-new.

sg-qwt avatar sg-qwt commented on July 25, 2024

check the linked deps.edn for example: https://github.com/sg-qwt/nixos/blob/050fbb94e067645610dbe8f929776820c7f2a290/config/clojure/deps.edn

In the dev profile, I can simply defined that declaratively and call it a day. No need to worry about update latest git tag and hash. But as said, if deps-new is solely designed as used of tool, that's fine by me. I personally prefer the old dep.edn way though. Not the new tool way.

The tool way is more a imperative workflow to me, ie: if i go to a new computer, I run clj -Ttools install, remove,update manually.

While deps.edn way is declarative, I declare the deps.edn once and link it to anywhere, thats all.

from deps-new.

seancorfield avatar seancorfield commented on July 25, 2024

FWIW, I keep my user config for the Clojure CLI in git too -- https://github.com/seancorfield/dot-clojure/tree/develop/tools -- and I include the tools installations that way too, so I can leverage the idiomatic clojure -Ttools stuff for listing/updating etc.

deps-new requires templates that are git or local deps so making deps-new itself available as a Maven (Clojars) coordinate seems weird.

from deps-new.

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.