Re: [ANN] deps.edn dependency viewer

2018-12-20 Thread Chris Nuernberger
Newest version - Supports Leiningen and TADA:

1.  Now there is an sh script.  You can just install this and use it
anywhere - no plugins, no muss, no fuss.
2.  More graph manipulation options - highlight, prune, focus, remove.
3.  Leiningen is supported along with profiles.  That being said, I am
highjacking leiningen-core so if you have fancy plugins or something like
that it may fail.  A simple workaround is to create a deps.edn file that
states the dependencies that you really do care about.

Note that leiningen's dependency resolution is fairly opaque to me and thus
I may not choose exactly the same resolution that lein deps :tree will.
Deps.edn will always resolve exactly the way tools.deps will resolve it
aside from completely unsupported options.


I sincerely hope this greatly eases the pain when some apache project fails
to reflect some internal class of jackson-fasterxml because your
dependencies changed in some seemingly unrelated way.  If you haven't been
there yet...you will be.  {scary face and voice} You will be.


https://github.com/cnuernber/depsviz/

On Thu, Dec 20, 2018 at 6:58 AM Alex Miller  wrote:

> #winning
>
> On Thursday, December 20, 2018 at 7:52:48 AM UTC-6, Tim Visher wrote:
>>
>> On Tue, Dec 18, 2018 at 12:46 PM Alex Miller  wrote:
>>
>>> tda, tda.reader, tda.extensions
>>>
>>
>> To make an unrelated, unhelpful, and off-topic comment I will now be
>> referring to `tools.deps.alpha` exclusively as 'Tada!'. :)
>>
> --
> 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] deps.edn dependency viewer

2018-12-20 Thread Alex Miller
#winning

On Thursday, December 20, 2018 at 7:52:48 AM UTC-6, Tim Visher wrote:
>
> On Tue, Dec 18, 2018 at 12:46 PM Alex Miller  wrote:
>
>> tda, tda.reader, tda.extensions
>>
>
> To make an unrelated, unhelpful, and off-topic comment I will now be 
> referring to `tools.deps.alpha` exclusively as 'Tada!'. :)
>

-- 
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] deps.edn dependency viewer

2018-12-20 Thread Tim Visher
On Tue, Dec 18, 2018 at 12:46 PM Alex Miller  wrote:

> tda, tda.reader, tda.extensions
>

To make an unrelated, unhelpful, and off-topic comment I will now be
referring to `tools.deps.alpha` exclusively as 'Tada!'. :)

-- 
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] deps.edn dependency viewer

2018-12-18 Thread Alex Miller
Great stuff! 

(btw, I had to "brew install graphviz" on mac first to make it work)

I looked at your tools.deps.alpha usage and I think you're fine on what 
you're using. I have thought about the api a lot and when we move out of 
alpha, I will try to make that clearer. Certainly, any public vars in tda, 
tda.reader, tda.extensions should all be considered part of the public api. 
Stuff under tda.script, tda.util, tda.extensions.* should right now mostly 
be treated as "use at your own risk". There are a few potential areas of 
change that need some more decision-making that may break those apis and I 
don't want to move out of alpha till we get past those.

Thanks!

On Tuesday, December 18, 2018 at 11:09:05 AM UTC-6, Chris Nuernberger wrote:
>
> Clojurians-1.10.0:
>
> I recently released a small project that allows you to view the entire 
> dependency graph of your deps.edn files.  You can do this from the command 
> line without installing anything or adding anything to your project.
>
> https://github.com/cnuernber/depsviz
>
>
> To do this, I had to get into some internal symbols in tools.deps.alpha 
> and I am relying heavily on its graph representation.  At some point, a 
> discussion about a public API/ABI about tools.deps.alpha would be good.
>
>
> This came out of work to bring the excellent vizdeps leiningen plugin up 
> to date with leiningen 2.8.3:
>
> (https://github.com/clj-commons/vizdeps)
>
> I know that at least we have saved a *ton* of time using vizdeps.  Plus we 
> have been able to get visibility into larger systems and file appropriate 
> issues with appropriate projects when they had a serious transitive 
> dependency problems.
>
> In any case, I hope that some of you find this helpful!  Please feel free 
> to file issues and PRs if something comes up.  I don't currently support 
> even nearly the entire range of possibilities in a deps.edn file (aliases 
> for example) so there are lots of opportunites for discussions and PRs.
>

-- 
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] deps.edn dependency viewer

2018-12-18 Thread Chris Nuernberger
Clojurians-1.10.0:

I recently released a small project that allows you to view the entire
dependency graph of your deps.edn files.  You can do this from the command
line without installing anything or adding anything to your project.

https://github.com/cnuernber/depsviz


To do this, I had to get into some internal symbols in tools.deps.alpha and
I am relying heavily on its graph representation.  At some point, a
discussion about a public API/ABI about tools.deps.alpha would be good.


This came out of work to bring the excellent vizdeps leiningen plugin up to
date with leiningen 2.8.3:

(https://github.com/clj-commons/vizdeps)

I know that at least we have saved a *ton* of time using vizdeps.  Plus we
have been able to get visibility into larger systems and file appropriate
issues with appropriate projects when they had a serious transitive
dependency problems.

In any case, I hope that some of you find this helpful!  Please feel free
to file issues and PRs if something comes up.  I don't currently support
even nearly the entire range of possibilities in a deps.edn file (aliases
for example) so there are lots of opportunites for discussions and PRs.

-- 
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.