Fork me on GitHub

I'd like to comment on the previous discussion of referencing with tags. β€’ Personal opinion: a utility to rewrite a git ref (HEAD, some-tag, some SHA letters) into a full-blown 40-char SHA might help ease of use. That may be a task for a more high-level tool, though; it seems like more of a UI concern. Perhaps an alias. β€’ Personal opinions: refs should be resolved immediately, and only SHAs make it into the data

clj -A:install-dep --git-url  --git-ref HEAD
I'm guessing this might not be novel ideas, as I feel that tools.deps already embodies this kind of thinking.

Alex Miller (Clojure team)16:03:33

Have you looked at -Sresolve-tags option

πŸ‘ 4
Alex Miller (Clojure team)16:03:10

It resolves tags to shas in your deps.edn

πŸ‘ 4

You're way ahead of me πŸ’―

Jag Gunawardana23:03:59

I want to include my database migrations in my Uberjar. I am using juxt edge with onejar to build. In lein resource-paths did this. I am using ragtime with edn files. The only way I can get this to work is using β€œjar uf...” to update the jar after building it. There must be some deps .edn magic?


@jag I've no idea how Juxt/OneJar handle that but with depstar you would just use an alias that adds the resources (via :extra-paths) when you ask it to build the JAR.


We build uberjars at work using depstar that include DB migrations, HTML templates, and all sorts of non-code stuff.