Fork me on GitHub
#tools-deps
<
2018-05-06
>
hagmonk19:05:29

Ok, another riddle for you guys

hagmonk19:05:54

If I include :mvn/repos in deps.edn for project A, because one of the coordinates has to come from a private maven server, then I depend on project A from project B via :local/root, clojure -Sdeps dies saying it can't find the artifact in the private repo

hagmonk19:05:53

I keep running into these instances that are encouraging me to go back to producing a maven artifact, rather than using :local/root or :git/url

Alex Miller (Clojure team)21:05:07

This is a known bug, haven’t had a chance to fix it yet

👍 4
hagmonk22:05:31

I created a little tool to help me convert troublesome project.clj files into deps.edn. There are probably a dozen of these but I couldn't find one that actually worked for me :)

mfikes23:05:31

@hagmonk That's cool. I tried seeing what would happen if you made it run directly as a git dep, but the command line gets quite large https://github.com/mfikes/depify#usage

hagmonk23:05:40

@mfikes yah, I thought about doing that too, and wondered if you could specify the git coordinate + -Sresolve on the command line and make it work ... haven't tried yet

hagmonk23:05:57

git coordinate as in the repo location + ref

hagmonk23:05:57

ah: -Sresolve-tags, and no that doesn't work, since it wants to mutate the deps.edn file ¯\(ツ)