Fork me on GitHub
#tools-deps
<
2018-03-21
>
Paco20:03:51

To be able to use :git/url sources the target repo has to also have a deps.edn file right?

Alex Miller (Clojure team)20:03:48

it needs to either not have deps or declare them with an understood manifest format

Alex Miller (Clojure team)20:03:05

currently tools.deps understands deps.edn and pom.xml

Alex Miller (Clojure team)20:03:55

or you can force deps.edn semantics with no deps by using :deps/manifest :deps

Paco20:03:56

I see. What about local mvn sources. I am having a hard time getting Artifactory sources working with deps :S

Alex Miller (Clojure team)20:03:11

what does “local mvn sources” mean?

danielcompton20:03:47

@kidpollo note that you won't be able to auth to Artifactory until https://dev.clojure.org/jira/browse/TDEPS-9 is fixed

Paco20:03:53

I am looking for a workaround for the “no username password sources supported”

Paco20:03:21

thanks for pointing that out @danielcompton

Alex Miller (Clojure team)20:03:22

you could mirror to an s3 repo accessed via aws creds

Paco20:03:57

ok thanks!

danielcompton21:03:39

I'm eagerly awaiting TDEPS-9 to be fixed, a few https://deps.co customers need it before they can start using it

danielcompton21:03:10

@alexmiller is there anything I can do to help there, or is it just waiting for review?

Alex Miller (Clojure team)21:03:35

it’s just down my queue a bit. We need it for Datomic too.

Alex Miller (Clojure team)21:03:18

I’m on a consulting project these days so only getting a few hours of Clojure time per week atm. My priority right now is the Windows installer which is getting close.

Alex Miller (Clojure team)21:03:33

Any testing or feedback on TDEPS-9 would be helpful.

danielcompton21:03:17

k, will take a look and see if I can verify that it works

dominicm21:03:39

@alexmiller which patch is it you want testing/feedback on? Or both?

Alex Miller (Clojure team)21:03:07

Don’t know, I haven’t looked at it at all

Alex Miller (Clojure team)21:03:35

my only constraint is - no passwords in deps.edn files :)

dominicm21:03:12

that seems like it discounts patch a.

dominicm22:03:39

@danielcompton I must say, I don't know if my patch works under java 9. I know reflection changed somehow in java 9, but I haven't taken the time to understand that change.

danielcompton22:03:42

I'll give that a go too 🙈

dominicm22:03:56

You've made yourself the expert on Java 9 by blogging about it one time 😛

Alex Miller (Clojure team)22:03:37

Based on what I know, it probably does or can be made to in the context of clj

Alex Miller (Clojure team)22:03:28

The best way to test stuff like this is to hack your active clojure script to prepend your tools.deps.alpha/src/main/clojure dir to your lib path

Alex Miller (Clojure team)22:03:06

Then you pick up all local changes immediately and can interactively test clj