you may want to try asking in #clojurescript?
hey, thanks, that's probably the right place
Are there any default aliases or good ways to get some extra resource paths added to the classpath for all local repls started with the clojure
command? (some key in ~/.clojure/deps.edn
perhaps?)
I’d prefer not to need to add a -A flag to all invocations across the several IDEs I use
if you mean an alias that is automatically supplied, no
:paths in ~/.clojure/deps.edn will be used everywhere
I thought :paths
got merged across the candidate deps.edn
s with a “last one wins” strategy
oh yes, sorry
Does :extra-paths
only exist for aliases? My use case is that I’ve got a local directory for various properties files that’s global to all projects (shared DB/service locations, and whatnot for local development, shared across several languages).
yes, only for aliases
Okay, thanks for your responsiveness and time 🙂
@alexmiller I see that :git/url "file:///foo"
isn't supported by gitlibs
I already find that it's a issue with clojure.tools.gitlibs.impl/clean-url
A PR/Patch is welcome about this problem?
I'm unclear why this is better than using :local/root
git deps let you get the dep from a remote git repo. if you already have it locally, just use it?
I guess a git dep would let you use multiple shas
can you walk back and say how you're using it?
stepping away for evening but will check later
Let's go:
I'm trying to deploy my application with clojure -Sdeps "{:deps {my/app {:git/url \"...\" :sha \"...\"}}}" -m my.app.start
But I'm on AWS/CodeCommit
CodeCommit on ephemeral EC2 recommends use https
with credential provider
jgit
do not support credential provider
so I'm trying to use git-cli to clone, then use local file
I can run directly but I want to keep my SHA control in the "start command line"
TL; DR: How to use git deps with CodeCommit?
@souenzzo You have to put some magic in your .gitconfig
. Something like:
[credential "<http://amazonaws.com|amazonaws.com>"]
helper = !aws --profile dev1 codecommit credential-helper $@
useHttpPath = true
And maybe enfore https (not sure, don’t remember):
[url "<https://github.com/>"]
insteadOf = git@github.com:
If I remember correctly this did work with tools.deps