-
Notifications
You must be signed in to change notification settings - Fork 841
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stack list-dependencies #638
Comments
This would be quite nice. It would also help for generating the tags for On Mon, Jul 20 2015, Chris Allen notifications@github.com wrote:
|
Would the output of |
@manny-fp doesn't have versions and would require munging but might save us some work. Thank you! |
A PR implementing this would be most welcome, and happy to answer any questions or give direction. Hopefully the |
I think I will give this a go, what's the desired output? Just lines of |
@markus1189 tab separated for easier shell processing would be even better, if it's not too much trouble.
|
Something like On Wed, Jul 22 2015, Markus Hauck notifications@github.com wrote:
|
A first version is here: https://github.com/markus1189/stack/tree/638-list-dependencies. Example
I am currently stuck trying to figure out how to get the version for packages that came with ghc, e.g. And on a related note, currently I am printing all dependencies, not only the direct ones (listed in |
You'd have to use the installed package information for those. On Fri, Jul 24, 2015, 1:30 AM Markus Hauck notifications@github.com wrote:
|
Thanks @snoyberg, I guess |
Cool! I like the --separator flag, what's the default? So, you are listing the transient dependencies of a single package or Either way, looks like a great first version. On Fri, Jul 24 2015, Markus Hauck notifications@github.com wrote:
|
Okay versions are properly resolved for installed packages now :), The upside of all the changes is that in theory we could now also display versions in
the default is a simple space (like
You mean transitive? Yeah it currently lists all transitive dependencies, would be good if you could check the output for missing things, because it differs a little from |
@markus1189 this looks awesome, thank you :) 👍 |
Example for the differences (for the |
Getting this to work with test/benchmark dependencies is unexpectedly hard... It seems like I am rather tempted to first leave it as is, i.e. without showing dependencies for test/benchmark and let it open for further enhancement. |
Moved to #682. |
Would help with some custom Dockerization stuff, ideally we'd be able to run it and collect a set of all packages we need across multiple projects and their respective versions so we can install the deps before our code gets into the Docker image.
The text was updated successfully, but these errors were encountered: