Git Product home page Git Product logo

Comments (6)

seancorfield avatar seancorfield commented on August 29, 2024 1

Yes, it would be good to align the SCM between deps-new and tools.deps.alpha at this point. It looks like t.d.a exposes some of the machinery in its git provider so I will update deps-new to leverage that and update the documentation to indicate that any SCM recognized by t.d.a will be recognized by deps-new (so I'm going to close your PR).

from deps-new.

ergodicbreak avatar ergodicbreak commented on August 29, 2024 1

Sorry, by 'downloading' I meant installing through the CLI. I wasn't sure if there was a way to run the already installed CLI tool with an optional sha to temporarily depend on a different git tag.

from deps-new.

seancorfield avatar seancorfield commented on August 29, 2024 1

This has been documented. Closing.

from deps-new.

seancorfield avatar seancorfield commented on August 29, 2024

Could you try deps-new with :git/sha "dba98b22f316018072f2490fcf801cf7c80d9b72" and see if that correctly resolves those SCM domains from the project name? I believe I've brought things in line with t.d.a.'s support.

from deps-new.

ergodicbreak avatar ergodicbreak commented on August 29, 2024

Thanks for doing that! I'm including the output for anyone curious:

lucretius:~/work$ clojure -Sdeps '{:deps {ht.sr.wakyct/fullstack-figwheel {:git/tag "0.1.0" :git/sha "00d9b26"}}}' 
-Tnew-git-test create :template wakyct/fullstack-figwheel :name myusername/mycoollib
data-fn returning nil
template-fn returning edn
Creating project from wakyct/fullstack-figwheel in mycoollib
lucretius:~/work$ ls -R mycoollib/
mycoollib/:
CHANGELOG.md       build.clj          doc                prod.cljs.edn      test
LICENSE            deps.edn           figwheel-main.edn  resources
README.md          dev.cljs.edn       pom.xml            src

mycoollib/doc:
intro.md

mycoollib/resources:
public

mycoollib/resources/public:
css         index.html

mycoollib/resources/public/css:
style.css

mycoollib/src:
myusername

mycoollib/src/myusername:
mycoollib

mycoollib/src/myusername/mycoollib:
backend.clj    frontend.cljs

mycoollib/test:
myusername

mycoollib/test/myusername:
mycoollib

mycoollib/test/myusername/mycoollib:
backend_test.clj    frontend_test.cljs
lucretius:~/work$ 

By the way, I wasn't sure the best way to try a specific sha of deps-new -- was downloading that specific version of the tool and naming it something other than 'new' like I did the way to do it?

from deps-new.

seancorfield avatar seancorfield commented on August 29, 2024

You should be able to install any version of a tool using the regular CLI. Specify the full :git/sha of the commit you want and omit :git/tag

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.