[ANN] tools.deps.alpha 0.6.496 and clj 1.10.0.442

2019-03-18 Thread 'David Bürgin' via Clojure
Nice, thank you, Alex!

By the way, I am no longer getting email notifications from Jira, though
nothing has changed on my end … just to let you know.


-- 
David

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] tools.deps.alpha 0.6.488 and clj 1.10.0.414

2019-02-13 Thread Alex Miller
Oh, I mistakenly misread the successful test pass as a merge. Should be 
available in the next half day or so. (Or just 
watch https://github.com/Homebrew/homebrew-core/pull/36964)


On Wednesday, February 13, 2019 at 3:27:00 PM UTC-6, Sean Corfield wrote:
>
> Does it take some time for the brew repo to update? I'm getting this:
>
> (! 520)-> brew upgrade clojure
> Error: clojure 1.10.0.411 already installed
>
>
> And brew update says everything is up to date.
>
> Sean
>
> On Wednesday, February 13, 2019 at 12:19:03 PM UTC-8, Alex Miller wrote:
>>
>> tools.deps.alpha 0.6.488 and clj 1.10.0.414 are now available. 
>>
>> Changes:
>>
>> * TDEPS-114 Canonicalize Maven RELEASE or LATEST version marker
>> * Error handling improvements for unresolvable Maven versions
>>
>> If on Mac, use `brew upgrade clojure` or on Linux see 
>> https://clojure.org/guides/getting_started for updated scripts.
>>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] tools.deps.alpha 0.6.488 and clj 1.10.0.414

2019-02-13 Thread Sean Corfield
Does it take some time for the brew repo to update? I'm getting this:

(! 520)-> brew upgrade clojure
Error: clojure 1.10.0.411 already installed


And brew update says everything is up to date.

Sean

On Wednesday, February 13, 2019 at 12:19:03 PM UTC-8, Alex Miller wrote:
>
> tools.deps.alpha 0.6.488 and clj 1.10.0.414 are now available. 
>
> Changes:
>
> * TDEPS-114 Canonicalize Maven RELEASE or LATEST version marker
> * Error handling improvements for unresolvable Maven versions
>
> If on Mac, use `brew upgrade clojure` or on Linux see 
> https://clojure.org/guides/getting_started for updated scripts.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ANN] tools.deps.alpha 0.6.488 and clj 1.10.0.414

2019-02-13 Thread Alex Miller
tools.deps.alpha 0.6.488 and clj 1.10.0.414 are now available. 

Changes:

* TDEPS-114 Canonicalize Maven RELEASE or LATEST version marker
* Error handling improvements for unresolvable Maven versions

If on Mac, use `brew upgrade clojure` or on Linux see 
https://clojure.org/guides/getting_started for updated scripts.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] tools.deps.alpha 0.6.474 and clj 1.10.0.408

2019-01-11 Thread Sean Corfield
This didn't come through in email...

On Wednesday, January 2, 2019 at 1:30:01 PM UTC-8, Alex Miller wrote:
>
> tools.deps.alpha 0.6.474 and clj 1.10.0.408 are now available. 
>
> Changes:
>
> * TDEPS-79 , TDEPS-109 
>  Fix infinite loop in 
> resolving recursive deps tree (will often improve resolution perf in other 
> cases as well)
> * TDEPS-50 , TDEPS-109 
>  Fix handling of Maven 
> classifiers during resolution
>   To explicitly specify a Maven classifier in a dep, specify it in the lib 
> name as follows:  groupId/artifactId$classifier
>   Note: the :classifier attribute in Maven dep coordinates is no longer 
> supported and will now produce an error.
> * TDEPS-107  Canonicalize 
> exclusion groupIds in pom gen
> * TDEPS-82   Ensure 
> -Sdescribe doesn't trigger resolution
> * Error handling improvements when Maven artifact is not found
> * Error handling improvements for invalid syntax in deps.edn
>
> If on Mac, use `brew upgrade clojure` or on Linux see 
> https://clojure.org/guides/getting_started for updated scripts.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] tools.deps.alpha 0.6.480 and clj 1.10.0.411 are now available.

2019-01-11 Thread Sean Corfield
...and nor did this.

On Friday, January 4, 2019 at 12:21:55 PM UTC-8, Alex Miller wrote:
>
> Just a small additional bug fix over the release a couple days ago related 
> to classifiers.
>
> Changes:
>
>- TDEPS-112  
>- Exclusions don't exclude transitive classifier libs
>
> If on Mac, use `brew upgrade clojure` or on Linux see 
> https://clojure.org/guides/getting_started for updated scripts.
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: [ANN] tools.deps.alpha 0.5.452 and clj 1.9.0.394

2018-11-01 Thread Sean Corfield
Not really, the hold-up is primarily in figuring out the build packaging parts

Fair enough.

I merged master and 5140fe0b510f6aeda517711bc6433bef978d6cf6 is latest sha on 
that branch if that helps. Not sure when it will get in.

Thank you!

Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood


From: clojure@googlegroups.com  on behalf of Alex 
Miller 
Sent: Thursday, November 1, 2018 6:00:46 AM
To: Clojure
Subject: Re: [ANN] tools.deps.alpha 0.5.452 and clj 1.9.0.394



On Wednesday, October 31, 2018 at 1:02:50 PM UTC-5, Sean Corfield wrote:
Is there anything any of us can do to help speed up work on the Powershell 
version of clj/clojure? I’m feeling the lack of it more and more…

Not really, the hold-up is primarily in figuring out the build packaging parts


Also, is there anything any of us can do to help get add-lib into a finalized 
state and merged in? (I went to use it the other day via a SHA and realized 
that branch is now _way_ behind the released version and a lot of stuff I 
needed wasn’t in the add-lib branch ☹)

I merged master and 5140fe0b510f6aeda517711bc6433bef978d6cf6 is latest sha on 
that branch if that helps. Not sure when it will get in.


Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood


--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
clojure+unsubscr...@googlegroups.com<mailto:clojure+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] tools.deps.alpha 0.5.452 and clj 1.9.0.394

2018-11-01 Thread Alex Miller


On Wednesday, October 31, 2018 at 1:02:50 PM UTC-5, Sean Corfield wrote:
>
> Is there anything any of us can do to help speed up work on the Powershell 
> version of clj/clojure? I’m feeling the lack of it more and more…
>

Not really, the hold-up is primarily in figuring out the build packaging 
parts
 

>  
>
> Also, is there anything any of us can do to help get add-lib into a 
> finalized state and merged in? (I went to use it the other day via a SHA 
> and realized that branch is now _*way*_ behind the released version and a 
> lot of stuff I needed wasn’t in the add-lib branch ☹)
>

I merged master and 5140fe0b510f6aeda517711bc6433bef978d6cf6 is latest sha 
on that branch if that helps. Not sure when it will get in.
 

>  
>
> Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN
> An Architect's View -- http://corfield.org/
>
> "If you're not annoying somebody, you're not really alive."
> -- Margaret Atwood
>
>  
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: [ANN] tools.deps.alpha 0.5.452 and clj 1.9.0.394

2018-10-31 Thread Sean Corfield
Is there anything any of us can do to help speed up work on the Powershell 
version of clj/clojure? I’m feeling the lack of it more and more…

Also, is there anything any of us can do to help get add-lib into a finalized 
state and merged in? (I went to use it the other day via a SHA and realized 
that branch is now _way_ behind the released version and a lot of stuff I 
needed wasn’t in the add-lib branch ☹)

Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood


From: clojure@googlegroups.com  on behalf of Alex 
Miller 
Sent: Saturday, September 15, 2018 6:36:19 AM
To: Clojure
Subject: [ANN] tools.deps.alpha 0.5.452 and clj 1.9.0.394

Just a small bug fix/enhancement release of these...

* TDEPS-92<https://dev.clojure.org/jira/browse/TDEPS-92> error and report on 
unknown alias key
* TDEPS-12<https://dev.clojure.org/jira/browse/TDEPS-12> add support for 
multiple classifiers in libs
* TDEPS-95<https://dev.clojure.org/jira/browse/TDEPS-95> fix bug preventing 
:default-deps from working

If on Mac, use `brew upgrade clojure` or on Linux see 
https://clojure.org/guides/getting_started for updated scripts.

--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
clojure+unsubscr...@googlegroups.com<mailto:clojure+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] tools.deps.alpha 0.5.452 and clj 1.9.0.394

2018-10-31 Thread Jeroen van Dijk
Hi Alex,

Thanks for this new release!

I just want to point out that for Linux, there is also the `brew install
clojure` option via http://linuxbrew.sh/ . Not sure how well spread this
tool is, but we've used it successfully to distribute an internal tool to
both our Mac and Linux users.

Thanks,
Jeroen

On Sat, Sep 15, 2018 at 3:36 PM Alex Miller  wrote:

> Just a small bug fix/enhancement release of these...
>
> * TDEPS-92  error and
> report on unknown alias key
> * TDEPS-12  add support for
> multiple classifiers in libs
> * TDEPS-95  fix bug
> preventing :default-deps from working
>
> If on Mac, use `brew upgrade clojure` or on Linux see
> https://clojure.org/guides/getting_started for updated scripts.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ANN] tools.deps.alpha 0.5.460 and clj 1.9.0.397

2018-10-17 Thread Alex Miller
tools.deps.alpha 0.5.460 and clj 1.9.0.397 are now available.

The only change in this version are some dependency updates and 
clarification on how to best connect to private s3 Maven repos.

The prior directions indicated that this should be done using the standard 
AWS credential chain (ambient environment variables, ~/.aws/credentials, 
etc). The problem with this approach is that the credentials are in effect 
for ALL private s3 Maven repos in the process. 

The new version resolves some issues allowing you to instead specify AWS 
creds on a per-server basis in the ~/.m2/settings.xml file:


  ...
  
my-private-repo
AWS_ACCESS_KEY_HERE
AWS_SECRET_ACCESS_KEY_HERE
  
  ...



This is now the preferred mechanism (but the other mechanisms also work).

See https://clojure.org/guides/getting_started for installation or upgrade.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] tools.deps.alpha 0.5.452 and clj 1.9.0.394

2018-09-15 Thread Reid McKenzie
Thanks Alex!

- Reid

On Saturday, September 15, 2018 at 6:36:19 AM UTC-7, Alex Miller wrote:
>
> Just a small bug fix/enhancement release of these...
>
> * TDEPS-92  error and 
> report on unknown alias key
> * TDEPS-12  add support for 
> multiple classifiers in libs
> * TDEPS-95  fix bug 
> preventing :default-deps from working
>
> If on Mac, use `brew upgrade clojure` or on Linux see 
> https://clojure.org/guides/getting_started for updated scripts.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ANN] tools.deps.alpha 0.5.452 and clj 1.9.0.394

2018-09-15 Thread Alex Miller
Just a small bug fix/enhancement release of these...

* TDEPS-92  error and report 
on unknown alias key
* TDEPS-12  add support for 
multiple classifiers in libs
* TDEPS-95  fix bug 
preventing :default-deps from working

If on Mac, use `brew upgrade clojure` or on Linux 
see https://clojure.org/guides/getting_started for updated scripts.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ANN] tools.deps.alpha 0.5.442, clj 1.9.0.391

2018-07-19 Thread Alex Miller
Just a few minor bug fixes.

Now available:

   - tools.deps.alpha 0.5.442
   - clj 1.9.0.391
  - Mac: brew upgrade clojure
  - Linux: see https://clojure.org/guides/getting_started
  - Windows: working on it! 
   
Changelog:

   - Throw error if unknown aliases are used (TDEPS-85)
   - Fix bad break character in rlwrap (TDEPS-77)
   - Use non-0 exit code in clj if rlwrap doesn't exist (TDEPS-86 - thanks 
   Martin Klepsch!)
   - Change wording for -Sdeps in help and man for clarity (TDEPS-87)
   
   

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ANN] tools.deps.alpha 0.5.435, clj 1.9.0.381

2018-05-13 Thread Alex Miller
Now available:

   - tools.deps.alpha 0.5.435
   - clj 1.9.0.381
  - Mac: brew upgrade clojure
  - Linux: see https://clojure.org/guides/getting_started
  - Windows: working on it! 
   
Changelog:

   - Support for Maven deps in authenticated repositories (TDEPS-9 - thanks 
Dominic 
   Monroe!)
   - In local jar dependencies like {:local/root "path/to.jar"}, if the jar 
   has an embedded pom, it will be used to traverse and include transitive deps
   - Use `exec` for final Java invocation in scripts (TDEPS-76 - 
   thanks Mikhail Gusarov!)
   - Convey lib map via Java system property - a first step towards add-lib 
    and other future 
   functionality
   
For Maven deps in authenticated repositories, existing Maven infrastructure 
is used to convey credentials via the ~/.m2/settings.xml:

  
…

  my-auth-repo
  zango
  123

…
  

Then in your deps.edn include a repo with a name matching the :

{:deps
 {authenticated/dep {:mvn/version "1.2.3"}}
 :mvn/repos
 {"my-auth-repo" {:url "https://my.auth.com/repo"}}}

This will be included in the docs too, just haven't had time yet.

Issues: https://dev.clojure.org/jira/browse/TDEPS
Chat: Clojurian Slack in #tools-deps




-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] tools.deps.alpha 0.5.425, clj 1.9.0.375

2018-04-14 Thread Mark
Great.  Thanks!

On Saturday, April 14, 2018 at 5:47:00 PM UTC-7, Alex Miller wrote:
>
> Yes, you can use a top level setting in your deps.edn file of:
>
> {:mvn/local-repo "/tmp/m2"}
>
>
> On Saturday, April 14, 2018 at 7:41:34 PM UTC-5, Mark wrote:
>>
>> Is there an option to specify the directory for the local deps 
>> repository?  I was playing around with deps on AWS lambda and discovered 
>> that the default directory (I think it's ~/.m2) is read-only.  On lambda, 
>> the only writable directory is /tmp.  
>>
>> On Saturday, April 14, 2018 at 6:01:52 AM UTC-7, Alex Miller wrote:
>>>
>>> New releases of tools.deps.alpha and the Clojure tools (clj, clojure) 
>>> are now available. This is mostly a bug fix release.
>>>
>>> To update, use `brew upgrade clojure` on Mac, or the Getting Started 
>>>  installation instructions 
>>> on Linux. 
>>> Windows installers are coming soon(ish)! I have an initial version 
>>> working and it's about 80% done, so only 80% to go. :)
>>>
>>> Updates:
>>>
>>> - TDEPS-73 detect invalid deps.edn file and improve error
>>> - TDEPS-61 use Clojars CDN repo
>>> - TDEPS-26 include transitive runtime deps in addition to compile deps
>>> - TDEPS-71 better error if Java not installed - primarily for Linux 
>>> installer (patch thanks to Mike Fikes)
>>> - TDEPS-65 specify permissions on installed files in Linux installer 
>>> (patch thanks to Dominic Monroe) 
>>>
>>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] tools.deps.alpha 0.5.425, clj 1.9.0.375

2018-04-14 Thread Alex Miller
Yes, you can use a top level setting in your deps.edn file of:

{:mvn/local-repo "/tmp/m2"}


On Saturday, April 14, 2018 at 7:41:34 PM UTC-5, Mark wrote:
>
> Is there an option to specify the directory for the local deps 
> repository?  I was playing around with deps on AWS lambda and discovered 
> that the default directory (I think it's ~/.m2) is read-only.  On lambda, 
> the only writable directory is /tmp.  
>
> On Saturday, April 14, 2018 at 6:01:52 AM UTC-7, Alex Miller wrote:
>>
>> New releases of tools.deps.alpha and the Clojure tools (clj, clojure) are 
>> now available. This is mostly a bug fix release.
>>
>> To update, use `brew upgrade clojure` on Mac, or the Getting Started 
>>  installation instructions 
>> on Linux. 
>> Windows installers are coming soon(ish)! I have an initial version 
>> working and it's about 80% done, so only 80% to go. :)
>>
>> Updates:
>>
>> - TDEPS-73 detect invalid deps.edn file and improve error
>> - TDEPS-61 use Clojars CDN repo
>> - TDEPS-26 include transitive runtime deps in addition to compile deps
>> - TDEPS-71 better error if Java not installed - primarily for Linux 
>> installer (patch thanks to Mike Fikes)
>> - TDEPS-65 specify permissions on installed files in Linux installer 
>> (patch thanks to Dominic Monroe) 
>>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] tools.deps.alpha 0.5.425, clj 1.9.0.375

2018-04-14 Thread Mark
Is there an option to specify the directory for the local deps repository?  
I was playing around with deps on AWS lambda and discovered that the 
default directory (I think it's ~/.m2) is read-only.  On lambda, the only 
writable directory is /tmp.  

On Saturday, April 14, 2018 at 6:01:52 AM UTC-7, Alex Miller wrote:
>
> New releases of tools.deps.alpha and the Clojure tools (clj, clojure) are 
> now available. This is mostly a bug fix release.
>
> To update, use `brew upgrade clojure` on Mac, or the Getting Started 
>  installation instructions on 
> Linux. 
> Windows installers are coming soon(ish)! I have an initial version working 
> and it's about 80% done, so only 80% to go. :)
>
> Updates:
>
> - TDEPS-73 detect invalid deps.edn file and improve error
> - TDEPS-61 use Clojars CDN repo
> - TDEPS-26 include transitive runtime deps in addition to compile deps
> - TDEPS-71 better error if Java not installed - primarily for Linux 
> installer (patch thanks to Mike Fikes)
> - TDEPS-65 specify permissions on installed files in Linux installer 
> (patch thanks to Dominic Monroe) 
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ANN] tools.deps.alpha 0.5.425, clj 1.9.0.375

2018-04-14 Thread Alex Miller
New releases of tools.deps.alpha and the Clojure tools (clj, clojure) are 
now available. This is mostly a bug fix release.

To update, use `brew upgrade clojure` on Mac, or the Getting Started 
 installation instructions on 
Linux. 
Windows installers are coming soon(ish)! I have an initial version working 
and it's about 80% done, so only 80% to go. :)

Updates:

- TDEPS-73 detect invalid deps.edn file and improve error
- TDEPS-61 use Clojars CDN repo
- TDEPS-26 include transitive runtime deps in addition to compile deps
- TDEPS-71 better error if Java not installed - primarily for Linux 
installer (patch thanks to Mike Fikes)
- TDEPS-65 specify permissions on installed files in Linux installer (patch 
thanks to Dominic Monroe) 

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ANN] tools.deps.alpha 0.5.351, clojure tools 1.9.0.326

2018-02-03 Thread Alex Miller
New releases of tools.deps.alpha and the clojure tools (clj) are now 
available. This release primarily enhances alias support. There are 3 new 
kinds of aliases that can be supplied with clj:

-O - for java option aliases. Example in deps.edn: {:aliases {:mem 
{:jvm-opts ["-Xms100m" "-Xmx500m"]}}}. If multiple :jvm-opts are specfiied 
with aliases, they concatenate. If command-line JVM options are specified 
with -J (an already existing feature), those are supplied last.

-M - for clojure.main option aliases. Example in deps.edn: {:aliases 
{:myapp {:main-opts ["com.foo.myapp" "--start-server"]}}}. If multiple 
:main-opts are specified with aliases, only the last one is used (they 
replace, not combine). If command-line main options are specified, they are 
added to the end of the last :main-opts specified.

-A - for any kind of alias. This can be used instead of -R,-C,-O, or -M and 
you may combine multiple kinds of alias keys in a single alias. For example 
a deps.edn like this:

{:aliases
 {:cljs {:extra-deps {org.clojure/clojurescript {:mvn/version "1.9.946"}}
 :main-opts ["-m" "cljs.repl.node"]}}}

Can then invoked with just "clj -A:cljs" to start a cljs repl.

One important caveat on -O and -M options... Supplying arguments that 
contain spaces and would require quoting on the command line do not yet 
work. You are most likely to encounter these if you try to use -e (for a 
Clojure expression) in a :main-opts or start a socket repl (which takes an 
edn string) in a :jvm-opts.

Some other minor bugs were fixed as well.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] tools.deps.alpha 0.2.167 and cli updates

2017-11-14 Thread Eric Normand
Oh this looks cool!

On Tuesday, October 31, 2017 at 8:21:54 AM UTC-5, Alex Miller wrote:
>
> tools.deps.alpha 0.2.167 was released on Oct 26th. I have not announced 
> all interim releases but some of the recent changes include:
>
>- Overhaul of the provider extension points
>- Initial support for understanding different kinds of "manifests" in 
>local projects. Currently, only deps.edn projects are understood. Others 
>will be added.
>- Added new -Spom option to `clj` - this option will generate (or 
>update!) a pom.xml in the same project based on the contents of the 
>deps.edn file. When updating, only the dependencies section is updated and 
>other parts of the pom file will be left as is.
>- Added built-in s3 private Maven repo support (docs 
>
> ).
>  
>Many thanks to the creators of the s3-wagon-private project (which wraps 
>the Spring aws-maven project) for making this easy! 
>
> The brew installer has been updated to include these changes (versions 
> 1.8.0.179 for stable, 1.9.0-beta3.240 for --devel). If you installed using 
> the brew installer, use "brew upgrade clojure" or "brew upgrade clojure 
> --devel" to get the latest stable or development version. 
>
> Links:
>
>- Deps and CLI guide  - 
>updated for latest release
>- tools.deps.alpha project 
>
>- Change log 
>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] tools.deps.alpha 0.2.167 and cli updates

2017-11-12 Thread Zach Oakes
That's a really neat idea, I'll check it out! It would be awesome to make a 
project usable from both boot and tools.deps.

On Sunday, November 12, 2017 at 9:00:18 PM UTC-5, Sean Corfield wrote:
>
> I promised a few people I would create a Boot task that leveraged 
> tools.deps.alpha so your dependencies could be external, in deps.edn.
>
>  
>
> I just released an early version of that 
> https://github.com/seancorfield/boot-tools-deps
>
>  
>
> Feedback welcome!
>
>  
>
> It’s tries to be as close to the clj script behavior as possible, with the 
> caveat that Boot has already selected a version of Clojure and read your 
> build.boot file (if present) by the time the deps task gets control! It 
> cascades some basic defaults (copied from clj’s system deps.edn), your home 
> deps.edn (if present in ~/.clojure) and the current directory’s deps.edn. 
> You can specify additional deps.edn files to load. It relies on 
> tools.deps.alpha to read all those files and merge their content, along 
> with handling resolve aliases and some aspects of classpath aliases, and 
> then it merges the resulting information into Boot’s environment (so it 
> ultimately relies on Boot’s artifact handling and class loading). It 
> currently leverages a couple of private functions to mimic the -R and -C 
> alias handling (Alex, I’ll talk to you via DM some time about this).
>
>  
>
> Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN
> An Architect's View -- http://corfield.org/
>
> "If you're not annoying somebody, you're not really alive."
> -- Margaret Atwood
>
>  
> ------
> *From:* clo...@googlegroups.com   > on behalf of Alex Miller  >
> *Sent:* Tuesday, October 31, 2017 6:21:54 AM
> *To:* Clojure
> *Subject:* [ANN] tools.deps.alpha 0.2.167 and cli updates 
>  
> tools.deps.alpha 0.2.167 was released on Oct 26th. I have not announced 
> all interim releases but some of the recent changes include: 
>
>- Overhaul of the provider extension points
>- Initial support for understanding different kinds of "manifests" in 
>local projects. Currently, only deps.edn projects are understood. Others 
>will be added.
>- Added new -Spom option to `clj` - this option will generate (or 
>update!) a pom.xml in the same project based on the contents of the 
>deps.edn file. When updating, only the dependencies section is updated and 
>other parts of the pom file will be left as is.
>- Added built-in s3 private Maven repo support (docs 
>
> <https://clojure.org/guides/deps_and_cli#_connecting_to_s3_maven_repositories>).
>  
>Many thanks to the creators of the s3-wagon-private project (which wraps 
>the Spring aws-maven project) for making this easy! 
>
> The brew installer has been updated to include these changes (versions 
> 1.8.0.179 for stable, 1.9.0-beta3.240 for --devel). If you installed using 
> the brew installer, use "brew upgrade clojure" or "brew upgrade clojure 
> --devel" to get the latest stable or development version. 
>
> Links:
>
>- Deps and CLI guide <https://clojure.org/guides/deps_and_cli> - 
>updated for latest release
>- tools.deps.alpha project 
><https://github.com/clojure/tools.deps.alpha>
>- Change log 
><https://github.com/clojure/tools.deps.alpha/blob/master/CHANGELOG.md>
>
> -- 
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clo...@googlegroups.com 
> Note that posts from new members are moderated - please be patient with 
> your first post.
> To unsubscribe from this group, send email to
> clojure+u...@googlegroups.com 
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to clojure+u...@googlegroups.com .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: [ANN] tools.deps.alpha 0.2.167 and cli updates

2017-11-12 Thread Sean Corfield
I promised a few people I would create a Boot task that leveraged 
tools.deps.alpha so your dependencies could be external, in deps.edn.

I just released an early version of that 
https://github.com/seancorfield/boot-tools-deps

Feedback welcome!

It’s tries to be as close to the clj script behavior as possible, with the 
caveat that Boot has already selected a version of Clojure and read your 
build.boot file (if present) by the time the deps task gets control! It 
cascades some basic defaults (copied from clj’s system deps.edn), your home 
deps.edn (if present in ~/.clojure) and the current directory’s deps.edn. You 
can specify additional deps.edn files to load. It relies on tools.deps.alpha to 
read all those files and merge their content, along with handling resolve 
aliases and some aspects of classpath aliases, and then it merges the resulting 
information into Boot’s environment (so it ultimately relies on Boot’s artifact 
handling and class loading). It currently leverages a couple of private 
functions to mimic the -R and -C alias handling (Alex, I’ll talk to you via DM 
some time about this).

Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood


From: clojure@googlegroups.com  on behalf of Alex 
Miller 
Sent: Tuesday, October 31, 2017 6:21:54 AM
To: Clojure
Subject: [ANN] tools.deps.alpha 0.2.167 and cli updates

tools.deps.alpha 0.2.167 was released on Oct 26th. I have not announced all 
interim releases but some of the recent changes include:

  *   Overhaul of the provider extension points
  *   Initial support for understanding different kinds of "manifests" in local 
projects. Currently, only deps.edn projects are understood. Others will be 
added.
  *   Added new -Spom option to `clj` - this option will generate (or update!) 
a pom.xml in the same project based on the contents of the deps.edn file. When 
updating, only the dependencies section is updated and other parts of the pom 
file will be left as is.
  *   Added built-in s3 private Maven repo support 
(docs<https://clojure.org/guides/deps_and_cli#_connecting_to_s3_maven_repositories>).
 Many thanks to the creators of the s3-wagon-private project (which wraps the 
Spring aws-maven project) for making this easy!

The brew installer has been updated to include these changes (versions 
1.8.0.179 for stable, 1.9.0-beta3.240 for --devel). If you installed using the 
brew installer, use "brew upgrade clojure" or "brew upgrade clojure --devel" to 
get the latest stable or development version.

Links:

  *   Deps and CLI guide<https://clojure.org/guides/deps_and_cli> - updated for 
latest release
  *   tools.deps.alpha project<https://github.com/clojure/tools.deps.alpha>
  *   Change 
log<https://github.com/clojure/tools.deps.alpha/blob/master/CHANGELOG.md>

--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
clojure+unsubscr...@googlegroups.com<mailto:clojure+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ANN] tools.deps.alpha 0.2.167 and cli updates

2017-10-31 Thread Alex Miller
tools.deps.alpha 0.2.167 was released on Oct 26th. I have not announced all 
interim releases but some of the recent changes include:

   - Overhaul of the provider extension points
   - Initial support for understanding different kinds of "manifests" in 
   local projects. Currently, only deps.edn projects are understood. Others 
   will be added.
   - Added new -Spom option to `clj` - this option will generate (or 
   update!) a pom.xml in the same project based on the contents of the 
   deps.edn file. When updating, only the dependencies section is updated and 
   other parts of the pom file will be left as is.
   - Added built-in s3 private Maven repo support (docs 
   
).
 
   Many thanks to the creators of the s3-wagon-private project (which wraps 
   the Spring aws-maven project) for making this easy! 

The brew installer has been updated to include these changes (versions 
1.8.0.179 for stable, 1.9.0-beta3.240 for --devel). If you installed using 
the brew installer, use "brew upgrade clojure" or "brew upgrade clojure 
--devel" to get the latest stable or development version. 

Links:

   - Deps and CLI guide  - updated 
   for latest release
   - tools.deps.alpha project 
   - Change log 
   

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] tools.deps.alpha

2017-07-27 Thread Alex Miller
I considered jline as well, but using it would require mixing it into the
classpath, which I did not wish to do. Many have died on the bikeshed of
rlwrap vs jline and I've made the decision for now. Changes were made to
the clj script yesterday to make it tolerant of rlwrap being unavailable
and there is a ticket working toward some additional changes to give you
more control.

If you wish to use jline it is of course, a Java library, so you can add an
alias with :extra-deps dependency on jline, then include it on the command
line with "clj -Rjline". With the changes mentioned above you would also be
able to disable rlwrap.


On Wed, Jul 26, 2017 at 5:42 PM, Rick Moynihan 
wrote:

> Regarding the cross platform nature of rlwrap, at the cost of an extra JVM
> dependency might it not be better to use jline?
>
> http://jline.sourceforge.net/
> https://github.com/jline/jline3
>
> I used to use it with clojure many many years ago and it seemed to work
> quite well...
>
> R.
>
>
> On 26 July 2017 at 17:57, Alex Miller  wrote:
>
>>
>>
>> On Wed, Jul 26, 2017 at 11:48 AM, Steve Miner 
>> wrote:
>>
>>> I’ve been using my own launch script that does something similar to the
>>> new clj script. (I’m caching a Leiningen generated classpath.)  I had some
>>> bugs when my project directory was copied to another user or machine
>>> because the cached classpath was not validate in the new environment,
>>> particularly with a different Maven repository.  The same kind of problem
>>> can happen with a remotely mounted project directory.  File time checks did
>>> not necessarily protect against these relocations.
>>>
>>> I fixed my problem with two changes.  First, I put the cache in the
>>> PROJECT/target subdirectory so that a “lein clean” would allow the user to
>>> recover.
>>>
>>
>> This is a non-starter - we need the cache to survive a rebuild by
>> separate build tool (also don't want to create target dir if not needed).
>>
>>
>>> Second, I named my cache file with the inode of the project.clj file.
>>> If the project is copied somewhere else, it is highly unlikely that the
>>> inode numbers would match.  The inode of the Maven repository or project
>>> deps.edn should work with the new clj script.
>>>
>>
>> Interesting, will think about that (portability issues though).
>>
>>
>>> I use rlwrap, except within an Emacs shell.  I suggest you test for the
>>> presence of rlwrap as you do for java.  $(type -p rlwrap)  and ignore it if
>>> it’s not found.  I think Emacs is popular enough that it’s worth testing
>>> for within your clj script ($EMACS will be defined).  It would be good
>>> enough if you provided an option to turn off rlwrap so I could wrap your
>>> script with my own.
>>>
>>
>> I've had feedback from others on rlwrap too (since it's currently missing
>> from the installation instructions, which is just my oversight). The idea
>> was that the installer would ensure it's installed so it can be assumed it
>> exists. But there are surely cases where you might not want it so a jira
>> for having a way to add more control around it would be fine. I don't want
>> to check for $EMACS but wouldn't mind having a new env var that you could
>> set to skip it or something like that.
>>
>>
>>> I can file bugs and provide patches if you want.
>>>
>>> Steve Miner
>>> stevemi...@gmail.com
>>>
>>> --
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clojure@googlegroups.com
>> Note that posts from new members are moderated - please be patient with
>> your first post.
>> To unsubscribe from this group, send email to
>> clojure+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Clojure" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to clojure+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "Clojure" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/clojure/FpMqtNu0TCE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.

Re: [ANN] tools.deps.alpha

2017-07-26 Thread Rick Moynihan
Regarding the cross platform nature of rlwrap, at the cost of an extra JVM
dependency might it not be better to use jline?

http://jline.sourceforge.net/
https://github.com/jline/jline3

I used to use it with clojure many many years ago and it seemed to work
quite well...

R.


On 26 July 2017 at 17:57, Alex Miller  wrote:

>
>
> On Wed, Jul 26, 2017 at 11:48 AM, Steve Miner 
> wrote:
>
>> I’ve been using my own launch script that does something similar to the
>> new clj script. (I’m caching a Leiningen generated classpath.)  I had some
>> bugs when my project directory was copied to another user or machine
>> because the cached classpath was not validate in the new environment,
>> particularly with a different Maven repository.  The same kind of problem
>> can happen with a remotely mounted project directory.  File time checks did
>> not necessarily protect against these relocations.
>>
>> I fixed my problem with two changes.  First, I put the cache in the
>> PROJECT/target subdirectory so that a “lein clean” would allow the user to
>> recover.
>>
>
> This is a non-starter - we need the cache to survive a rebuild by separate
> build tool (also don't want to create target dir if not needed).
>
>
>> Second, I named my cache file with the inode of the project.clj file.  If
>> the project is copied somewhere else, it is highly unlikely that the inode
>> numbers would match.  The inode of the Maven repository or project deps.edn
>> should work with the new clj script.
>>
>
> Interesting, will think about that (portability issues though).
>
>
>> I use rlwrap, except within an Emacs shell.  I suggest you test for the
>> presence of rlwrap as you do for java.  $(type -p rlwrap)  and ignore it if
>> it’s not found.  I think Emacs is popular enough that it’s worth testing
>> for within your clj script ($EMACS will be defined).  It would be good
>> enough if you provided an option to turn off rlwrap so I could wrap your
>> script with my own.
>>
>
> I've had feedback from others on rlwrap too (since it's currently missing
> from the installation instructions, which is just my oversight). The idea
> was that the installer would ensure it's installed so it can be assumed it
> exists. But there are surely cases where you might not want it so a jira
> for having a way to add more control around it would be fine. I don't want
> to check for $EMACS but wouldn't mind having a new env var that you could
> set to skip it or something like that.
>
>
>> I can file bugs and provide patches if you want.
>>
>> Steve Miner
>> stevemi...@gmail.com
>>
>> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] tools.deps.alpha

2017-07-26 Thread Alex Miller
On Wed, Jul 26, 2017 at 11:48 AM, Steve Miner  wrote:

> I’ve been using my own launch script that does something similar to the
> new clj script. (I’m caching a Leiningen generated classpath.)  I had some
> bugs when my project directory was copied to another user or machine
> because the cached classpath was not validate in the new environment,
> particularly with a different Maven repository.  The same kind of problem
> can happen with a remotely mounted project directory.  File time checks did
> not necessarily protect against these relocations.
>
> I fixed my problem with two changes.  First, I put the cache in the
> PROJECT/target subdirectory so that a “lein clean” would allow the user to
> recover.
>

This is a non-starter - we need the cache to survive a rebuild by separate
build tool (also don't want to create target dir if not needed).


> Second, I named my cache file with the inode of the project.clj file.  If
> the project is copied somewhere else, it is highly unlikely that the inode
> numbers would match.  The inode of the Maven repository or project deps.edn
> should work with the new clj script.
>

Interesting, will think about that (portability issues though).


> I use rlwrap, except within an Emacs shell.  I suggest you test for the
> presence of rlwrap as you do for java.  $(type -p rlwrap)  and ignore it if
> it’s not found.  I think Emacs is popular enough that it’s worth testing
> for within your clj script ($EMACS will be defined).  It would be good
> enough if you provided an option to turn off rlwrap so I could wrap your
> script with my own.
>

I've had feedback from others on rlwrap too (since it's currently missing
from the installation instructions, which is just my oversight). The idea
was that the installer would ensure it's installed so it can be assumed it
exists. But there are surely cases where you might not want it so a jira
for having a way to add more control around it would be fine. I don't want
to check for $EMACS but wouldn't mind having a new env var that you could
set to skip it or something like that.


> I can file bugs and provide patches if you want.
>
> Steve Miner
> stevemi...@gmail.com
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] tools.deps.alpha

2017-07-26 Thread Steve Miner
I’ve been using my own launch script that does something similar to the new clj 
script. (I’m caching a Leiningen generated classpath.)  I had some bugs when my 
project directory was copied to another user or machine because the cached 
classpath was not validate in the new environment, particularly with a 
different Maven repository.  The same kind of problem can happen with a 
remotely mounted project directory.  File time checks did not necessarily 
protect against these relocations.

I fixed my problem with two changes.  First, I put the cache in the 
PROJECT/target subdirectory so that a “lein clean” would allow the user to 
recover.  Second, I named my cache file with the inode of the project.clj file. 
 If the project is copied somewhere else, it is highly unlikely that the inode 
numbers would match.  The inode of the Maven repository or project deps.edn 
should work with the new clj script.

I use rlwrap, except within an Emacs shell.  I suggest you test for the 
presence of rlwrap as you do for java.  $(type -p rlwrap)  and ignore it if 
it’s not found.  I think Emacs is popular enough that it’s worth testing for 
within your clj script ($EMACS will be defined).  It would be good enough if 
you provided an option to turn off rlwrap so I could wrap your script with my 
own.

I can file bugs and provide patches if you want.

Steve Miner
stevemi...@gmail.com 




> On Jul 25, 2017, at 10:19 AM, Alex Miller  wrote:
> 
> tools.deps.alpha is a new contrib library API for transitive dependency graph 
> expansion and the creation of classpaths.
> 
> For more information, I would invite you to check out:
> 
> * the README 
>  from 
> tools.deps.alpha
> * the slides 
>  from my 
> EuroClojure talk (video coming in the next week or two)
> 
> There are some additional pieces still to come that will provide installers 
> for various systems as well. This is still a work in progress but is targeted 
> for completion along with Clojure 1.9.
> 

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] tools.deps.alpha

2017-07-26 Thread Rick Moynihan
Just checking this out... Looks really interesting.

Might be worth mentioning the rlwrap dependency in the installation
instructions:

/Users/rick/repos/3rdparty/tools.deps.alpha/src/main/resources/clj: line
106: rlwrap: command not found

resolved on a mac with:

brew install rlwrap

R.

On 26 July 2017 at 03:50, Alex Miller  wrote:

>
>
> On Tuesday, July 25, 2017 at 9:46:55 PM UTC-5, Gregg Reynolds wrote:
>>
>>
>> BTW, minor doc error I think:
>>
>> resolve-deps
>>
>> Usage: (resolve-args deps-map resolve-args)
>> Should that be (resolve-deps ...)?
>>
>
> Yes, fixed. Thanks!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] tools.deps.alpha

2017-07-25 Thread Gregg Reynolds
On Tue, Jul 25, 2017 at 8:53 PM, Alex Miller  wrote:

> Dumb question of the day: given that Clojurescript evidently (as I
>>> understand) will soon work seamlessly with npm, can (chunks of) this be
>>> extended to cljs?  E.g. (s/def ::providers (s/keys :opt-un [::npm])) or
>>> some such.  Note that I ask without understanding. ;)
>>>
>>
> This effort is really about working on the problem of creating JVM
> classpaths and was not really intended to extend to cljs. Perhaps it could
> be (but I'm not sure where or why that would be useful).
>

Just wondering (in near-total ignorance) about clj/cljs parallels, e.g.
maybe resolve-deps for npm would be useful in cljs.

BTW, minor doc error I think:

resolve-deps

Usage: (resolve-args deps-map resolve-args)
Should that be (resolve-deps ...)?

thanks,

gregg

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] tools.deps.alpha

2017-07-25 Thread Alex Miller


On Tuesday, July 25, 2017 at 9:46:55 PM UTC-5, Gregg Reynolds wrote:
>
>
> BTW, minor doc error I think:
>
> resolve-deps
>
> Usage: (resolve-args deps-map resolve-args)
> Should that be (resolve-deps ...)? 
>

Yes, fixed. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] tools.deps.alpha

2017-07-25 Thread Mark Derricutt
On 26 Jul 2017, at 13:53, Alex Miller wrote:

> This effort is really about working on the problem of creating JVM classpaths 
> and was not really intended to extend to cljs. Perhaps it could be (but I'm 
> not sure where or why that would be useful).

If node modules were declared with a type of `:npm` that could lead to a 
nightmare of having mixed dependency type which wouldn't really make sense.

If it was an archive/dependency of purely `*.cljc` files that could work as 
their platform independent, but arbitrary node packages would seem to the path 
of trouble.

Mark

---
"The ease with which a change can be implemented has no relevance at all to 
whether it is the right change for the (Java) Platform for all time." — 
Mark Reinhold.

Mark Derricutt
http://www.theoryinpractice.net
http://www.chaliceofblood.net
http://plus.google.com/+MarkDerricutt
http://twitter.com/talios
http://facebook.com/mderricutt

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: OpenPGP digital signature


Re: [ANN] tools.deps.alpha

2017-07-25 Thread Alex Miller
On Tue, Jul 25, 2017 at 6:57 PM, Sean Corfield  wrote:

> The primary use case for clj initially will be new users or existing users
> that want to build a repl-focused project without any real intent to deploy
> artifacts
>
>
>
> Fair enough. Not convinced clj is very beginner-friendly (compared to Boot
> – it’s certainly more friendly than Leiningen) but I suspect when there are
> installers available – and documentation out there is updated to reflect
> that – it’ll seem easier.
>

Yeah, with the installers, the manual steps will just be replaced with
"brew install clojure". I actually have that working, but I have to finish
some of the build scripting stuff before I can release it.


> FWIW, Boot allows you to play with arbitrary libraries in the REPL like
> this:
>
>
>
> boot -d group/artifact repl
>
>
>
> No project needed, no build.boot etc, just a REPL with the specified
> libraries available, wherever you are.
>

Yeah, boot really starts from dynamic and that drives some of the choices.
We decided to start with static and build toward dynamic classpaths.
Honestly, I rarely need or want a dynamic classpath and it requires a lot
of extra machinery. Typically I think most people add deps to a project
comparatively rarely and the cost of a restart is not a big deal.


> Over time we have ideas about other things we can build out from this core
> - I hinted at some in my EuroClojure talk.
>
>
>
> Looking forward to this appearing on ClojureTV! Heard interesting things
> about it from attendees!
>
>
>
> I suspect it's a small job to make boot leverage a deps.edn file now as a
> source of dependencies
>
>
>
> Yeah, that’s how we handle all our dependencies at World Singles – and it
> sure is easy with Boot: (merge-env! :dependencies (edn/read-string (slurp
> “deps.edn”))) – although, of course, the deps.edn file we use is just a
> vector of vectors, like the regular :dependencies key in Boot/Leiningen.
>

Yeah, a lot of people do stuff like this. Good opportunity for some glue
code.


>
>
> tools.deps.alpha uses the latest Maven Resolver api directly.
>
>
>
> Good to know, thanks.
>
>
>
> Sean
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] tools.deps.alpha

2017-07-25 Thread Alex Miller
>
> Dumb question of the day: given that Clojurescript evidently (as I
>> understand) will soon work seamlessly with npm, can (chunks of) this be
>> extended to cljs?  E.g. (s/def ::providers (s/keys :opt-un [::npm])) or
>> some such.  Note that I ask without understanding. ;)
>>
>
This effort is really about working on the problem of creating JVM
classpaths and was not really intended to extend to cljs. Perhaps it could
be (but I'm not sure where or why that would be useful).

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] tools.deps.alpha

2017-07-25 Thread Alex Miller
On Tue, Jul 25, 2017 at 5:07 PM, Mark Derricutt  wrote:

> Looks good - however with the release of Java 9 soon, has there been any
> consideration to supporting the module path at all? To me, regardless of
> peoples thoughts on jigsaw, releasing a new JVM dependency management tool
> now, and not supporting it seems wrong.
>
> No, there has been no consideration thus far about modulepath. Our goal
here is to create classpaths for Clojure apps. I think we have a long while
if ever before using modulepaths with Clojure is common. Modules seem
fairly useless to me from a Clojure perspective (perhaps even actively
harmful) - everything about them is about making things less dynamic and
more closed.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: [ANN] tools.deps.alpha

2017-07-25 Thread Sean Corfield
The primary use case for clj initially will be new users or existing users that 
want to build a repl-focused project without any real intent to deploy artifacts

Fair enough. Not convinced clj is very beginner-friendly (compared to Boot – 
it’s certainly more friendly than Leiningen) but I suspect when there are 
installers available – and documentation out there is updated to reflect that – 
it’ll seem easier.

FWIW, Boot allows you to play with arbitrary libraries in the REPL like this:

boot -d group/artifact repl

No project needed, no build.boot etc, just a REPL with the specified libraries 
available, wherever you are.

Over time we have ideas about other things we can build out from this core - I 
hinted at some in my EuroClojure talk. 

Looking forward to this appearing on ClojureTV! Heard interesting things about 
it from attendees!

I suspect it's a small job to make boot leverage a deps.edn file now as a 
source of dependencies

Yeah, that’s how we handle all our dependencies at World Singles – and it sure 
is easy with Boot: (merge-env! :dependencies (edn/read-string (slurp 
“deps.edn”))) – although, of course, the deps.edn file we use is just a vector 
of vectors, like the regular :dependencies key in Boot/Leiningen.

tools.deps.alpha uses the latest Maven Resolver api directly.

Good to know, thanks.

Sean


-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: [ANN] tools.deps.alpha

2017-07-25 Thread Sean Corfield
Looks much better, thank you!

Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

From: Alex Miller
Sent: Tuesday, July 25, 2017 2:32 PM
To: clojure@googlegroups.com
Subject: Re: [ANN] tools.deps.alpha


On Tue, Jul 25, 2017 at 4:28 PM, Alex Miller  wrote:

On Tue, Jul 25, 2017 at 3:47 PM, Sean Corfield  wrote:
Looks very interesting. The manual install works – looking forward to platform 
installers!
 
There are some formatting glitches in the README with nested lists.

Don't see it, let me know and I'll fix.

I see it now and have fixed it!

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] tools.deps.alpha

2017-07-25 Thread Gregg Reynolds
On Tue, Jul 25, 2017 at 9:19 AM, Alex Miller  wrote:

> tools.deps.alpha is a new contrib library API for transitive dependency
> graph expansion and the creation of classpaths.
>
> For more information, I would invite you to check out:
>
> * the README
>  from
> tools.deps.alpha
> * the slides
>  from
> my EuroClojure talk (video coming in the next week or two)
>
> There are some additional pieces still to come that will provide
> installers for various systems as well. This is still a work in progress
> but is targeted for completion along with Clojure 1.9.
>
>
Dumb question of the day: given that Clojurescript evidently (as I
understand) will soon work seamlessly with npm, can (chunks of) this be
extended to cljs?  E.g. (s/def ::providers (s/keys :opt-un [::npm])) or
some such.  Note that I ask without understanding. ;)


>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] tools.deps.alpha

2017-07-25 Thread Mark Derricutt
On 26 Jul 2017, at 2:19, Alex Miller wrote:

> There are some additional pieces still to come that will provide installers 
> for various systems as well. This is still a work in progress but is targeted 
> for completion along with Clojure 1.9.

Looks good - however with the release of Java 9 soon, has there been any 
consideration to supporting the module path at all? To me, regardless of 
peoples thoughts on jigsaw, releasing a new JVM dependency management tool now, 
and not supporting it seems wrong.

Mark

---
"The ease with which a change can be implemented has no relevance at all to 
whether it is the right change for the (Java) Platform for all time." — 
Mark Reinhold.

Mark Derricutt
http://www.theoryinpractice.net
http://www.chaliceofblood.net
http://plus.google.com/+MarkDerricutt
http://twitter.com/talios
http://facebook.com/mderricutt

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: OpenPGP digital signature


Re: [ANN] tools.deps.alpha

2017-07-25 Thread Alex Miller
On Tue, Jul 25, 2017 at 4:28 PM, Alex Miller  wrote:

>
> On Tue, Jul 25, 2017 at 3:47 PM, Sean Corfield  wrote:
>
>> Looks very interesting. The manual install works – looking forward to
>> platform installers!
>>
>>
>>
>> There are some formatting glitches in the README with nested lists.
>>
>
> Don't see it, let me know and I'll fix.
>

I see it now and have fixed it!

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] tools.deps.alpha

2017-07-25 Thread Alex Miller
On Tue, Jul 25, 2017 at 3:47 PM, Sean Corfield  wrote:

> Looks very interesting. The manual install works – looking forward to
> platform installers!
>
>
>
> There are some formatting glitches in the README with nested lists.
>

Don't see it, let me know and I'll fix.


>
>
> Also, this line:
>
>
>
> Invoke: clj -Porg.clojure=/Users/me/code/
> clojure/target/classes
>
>
>
> Looks like it should be:
>
>
>
> Invoke: clj -Porg.clojure/clojure=/Users/
> me/code/clojure/target/classes
>
>
>
> Based on the previous example’s :dev classpath-overrides?
>

Yep, fixed.


>
>
> Question: is the thinking that tools like Boot and Leiningen could
> (should?) switch over to using this, instead of their own, home-grown
> Aether-based stack?
>

Not necessarily. tools.deps.alpha and the clj script are intended to
traverse dependencies and build classpaths. The clj script does not compile
code, build artifacts, deploy artifacts, and do many of the other things
that build tools like Leiningen or Boot do and clj is not intended to be a
replacement for any of those things.

The primary use case for clj initially will be new users or existing users
that want to build a repl-focused project without any real intent to deploy
artifacts (for example, someone using a repl to munge data or do other
exploratory work, rather than build libs or applications). Over time we
have ideas about other things we can build out from this core - I hinted at
some in my EuroClojure talk.

It will likely also be useful to build bridges for boot or lein to use a
deps.edn (possibly in either direction), but I am not confident enough yet
in how this will evolve to predict exactly how that will look. I suspect
it's a small job to make boot leverage a deps.edn file now as a source of
dependencies and probably a bit larger for Leiningen to do so if desired.
But I haven't looked at either yet. Would be happy to discuss more.

Note that tools.deps.alpha is still built on (mostly) the same stack as
Pomegranate/lein/boot with the difference that Aether is no longer an
Eclipse project and has been rebranded into the Apache Maven project as
Maven Resolver. tools.deps.alpha uses the latest Maven Resolver api
directly. Pomegranate is using an older (but quite similar) version of
Aether. I did look at using Pomegranate, but Pom used extra deps for the
dynamic classpath and was doing quite a bit more than I needed (and using
older APIs), so in the end I decided to just reimplement exactly what I
needed.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: [ANN] tools.deps.alpha

2017-07-25 Thread Sean Corfield
Looks very interesting. The manual install works – looking forward to platform 
installers!

There are some formatting glitches in the README with nested lists.

Also, this line:

Invoke: clj -Porg.clojure=/Users/me/code/clojure/target/classes

Looks like it should be:

Invoke: clj -Porg.clojure/clojure=/Users/me/code/clojure/target/classes

Based on the previous example’s :dev classpath-overrides?

Question: is the thinking that tools like Boot and Leiningen could (should?) 
switch over to using this, instead of their own, home-grown Aether-based stack?

Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

From: Alex Miller
Sent: Tuesday, July 25, 2017 7:19 AM
To: Clojure
Subject: [ANN] tools.deps.alpha

tools.deps.alpha is a new contrib library API for transitive dependency graph 
expansion and the creation of classpaths.

For more information, I would invite you to check out:

* the README from tools.deps.alpha
* the slides from my EuroClojure talk (video coming in the next week or two)

There are some additional pieces still to come that will provide installers for 
various systems as well. This is still a work in progress but is targeted for 
completion along with Clojure 1.9.


-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ANN] tools.deps.alpha

2017-07-25 Thread Alex Miller
tools.deps.alpha is a new contrib library API for transitive dependency 
graph expansion and the creation of classpaths.

For more information, I would invite you to check out:

* the README 
 from 
tools.deps.alpha
* the slides 
 from my 
EuroClojure talk (video coming in the next week or two)

There are some additional pieces still to come that will provide installers 
for various systems as well. This is still a work in progress but is 
targeted for completion along with Clojure 1.9.


-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.