This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
Hi all, Looks like leiningen doesn't have plan to support git repos as deps, and all the third-party plugins I could find for this are unmaintained. How do you tackle this issue?
As long as the plugins work, it doesn't really matter whether they seem maintained or not...? A lot of Clojure libraries look unmaintained but there really just "done" and they do their one single purpose really well.
https://github.com/reifyhealth/lein-git-down works spectacularly well Too bad it's been archived (probably someone would have been happy to host it elsewhere), but I haven't stopped using it for some 5 years
I also use lein-git-down. Recently archived but it has the same functionality as deps.edn, and it supports git repos with project.clj too
@U04V70XH6 In this case they are actually unmaintained, not just look so. e.g. https://github.com/RickMoynihan/lein-tools-deps
Yes, sometimes a specific project will indicate that it probably shouldn't be used for various reasons. I have a number of projects that I have archived because there are better ways to solve the same problem now -- and with a few projects, I've searched online for other projects that use mine and created issues there suggesting those projects migrate to whatever is the better solution.
Here's my misguided attempt to integrate tools.deps
into Boot, for example: https://github.com/seancorfield/boot-tools-deps (basically the same as Rick's project but for Boot instead of Leiningen).
lein-git-down
uses tools.gitlibs
(rather than tools.deps
) and you can see what has changed there since the 1.0.100 version it uses: https://github.com/clojure/tools.gitlibs/blob/master/CHANGELOG.md
(if this sort of thing concerns you enough, you could consider migrating from Leiningen to the Clojure CLI / deps.edn
/ tools.build
/ build.clj
-- but as long as lein
and the plugins you are using continue to work, you're alright)