This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-12-13
Channels
- # adventofcode (84)
- # aleph (1)
- # announcements (2)
- # aws (27)
- # beginners (52)
- # braveandtrue (2)
- # calva (440)
- # cider (7)
- # clara (2)
- # cljdoc (26)
- # cljs-dev (70)
- # clojure (131)
- # clojure-berlin (4)
- # clojure-brasil (1)
- # clojure-europe (2)
- # clojure-greece (4)
- # clojure-hamburg (1)
- # clojure-italy (4)
- # clojure-losangeles (6)
- # clojure-nl (14)
- # clojure-spec (7)
- # clojure-uk (25)
- # clojurescript (26)
- # component (2)
- # cursive (13)
- # datomic (60)
- # dirac (59)
- # docker (1)
- # figwheel (1)
- # figwheel-main (2)
- # fulcro (12)
- # graphql (5)
- # juxt (33)
- # leiningen (19)
- # nrepl (1)
- # off-topic (37)
- # protorepl (2)
- # re-frame (18)
- # reagent (46)
- # remote-jobs (1)
- # ring-swagger (1)
- # shadow-cljs (88)
- # sql (10)
- # tools-deps (64)
- # vim (24)
hey everyone! have been loving tools.deps
and have had no issues until i abruptly started receiving Error building classpath. [email protected]:<org>/<lib>.git: Auth fail
with no apparent configuration change. has anyone seen this? i’ve been using deps
in this way for a few weeks. anyone have any ideas on how to start debugging?
for the next person: ssh-add -l
may reveal that the identity previously being used is no longer there. still not sure exactly why that happened
must’ve. but it’s happily back at it now. i really appreciate what tools.deps
has done for us. can’t say it enough—thank you for all your work on it.
when I create clojure -Spom
can I tell clojure
not to include org.clojure/clojure
? I don't have it in my project deps.edn
uhm I have in the back my head a voice that says that that does not work...
will try it
it will likely break other things if you don't include a dependency on clojure somewhere
I am trying to build a pom.xml
for ClojureScript so it should be fine
yeah it still adds
<dependency>
<groupId>org.clojure</groupId>
<artifactId>clojure</artifactId>
<version>1.9.0</version>
</dependency>
I was just looking at this bit of code, I’m pretty sure -Spom
will include your system-wide deps too, eg /usr/local/lib/clojure/deps.edn
or whatever it’s called
well, I run clojure -Srepro -Spom
after having deleted it...my deps.edn
seems clean...dunno...
On the subject of pom generation, I’ve just published garamond, which rewrites the pom.xml
that -Spom
generates with a version ID from git tags: https://github.com/workframers/garamond
maaaan that's awesome I was fiddling with scripts 😄
I still have a few features I’m working on, but it’s ready for use. It uses itself plus juxt/pack
and deps-deploy
to publish itself to clojars sans a project.clj
using those as well at the moment 👍
thank you so much, this will definitely simplify my scripts!
Awesome
oh /home/arichiardi/.local/lib/clojure/deps.edn
is something I haven't created
and indeed it contains the clojure version above
tricky trick! thank you! 😄
I think the install scripts create that with the idea that it is the "system" level deps.edn
can I just get rid of :deps
in there?
lemme do that then 😄
yeah that's right it works!
thank you very much @hiredman
Deleting the "system" level deps.edn
will remove the default Maven repos and a few other things, right?
Yeah, :mvn/repos
and :paths
(which defaults to src
)...
is tools.deps officially supported on Windows as well? I didn’t think about this when choosing it as the thing for Advent of CLJC but I didn’t hear any complaints yet
Yup I do nearly all my clojure development on windows via wsl because of that.
we are only providing brew as a means of install, but you could basically use the linux instructions too I think - they’re both basically doing the same thing
it’s essentially just putting files in the right places
Hi there. I have some problems with pulling git deps from private repo. My ssh-agent is configured and running but I'm getting USERAUTH fail every time. Is there some corner cases where it might fail that I must be aware of?
@delaguardo Using https? If so, that's a known limitation of tools.deps
. This is the uber-ticket for possibly solving that https://dev.clojure.org/jira/browse/TDEPS-91
Note that it links to three related git/auth tickets.
No, I'm using git@...
it’s a star-shaped room, so mostly corners
so if you do ssh-add -l
- do you see your identity?
Yes, and I can clone that repo. But for some reason jgit throwing an exception
other common issues are having stuff you don’t need in ~/.ssh/config
and issues with host key types
the former being more common in my experience
if you can dump your config here, I can eyeball it (can’t remember off-hand the offending things)
but I would know it if I saw it
Hm.. everything is working on another laptop. Only one difference - my key has passphrase and it is added to agent via osx keychain
that should be ok. can you dump your config file?
I think it’s IdentityFile that causes problem in your config (and you should delete that line)
so something like this should be sufficient:
Host *
AddKeysToAgent yes
UseKeychain yes
Will try to do that. Thanks!
the macos version you’re using on the two machines can also make a difference - they have changed the keychain integration a couple times
@alexmiller RE: the AUTHFAIL issue, I added a patch to https://dev.clojure.org/jira/browse/TDEPS-49 that fixes the problem without having to remove the IdentityFile line in your config. Not sure if you saw it as it was just before Conj, but wanted to mention it.
Didn’t see it, thx