Hi,

I have got two use cases where Haskell code will be compiled remotely and
potentially without internet access.
One being Bosh (https://bosh.io) releases and another Cloud Foundry (
https://cloudfoundry.org) applications.

I plan to solve the offline compilation capability by 1. providing a GHC
out of band and `--system-ghc` and the new custom snapshot feature
introduced with Stack 1.6

Instead of creating a separate cli, say `hvendor`, I would prefer to put it
into stack as an additional command. First and foremost I want to reuse the
code for reading stack.yml files and calculating a projects dependencies
(like e.g. `stack list-dependencies`). Especially since I want to calculate
project dependencies with respect to a given snapshot (`stack
vendor-dependencies lts-10.3`) while the projects stack.yml will reference
the custom, vendored snapshot.

What do you think of the idea in general and a potential contribution in
particular?
Is anybody else seeing more use cases for dependency vendoring?
Should I open an issue for discussing this further?

Regards
Jan

-- 
You received this message because you are subscribed to the Google Groups 
"haskell-stack" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/haskell-stack/CAJtP4w41-oFCSp5yPEaW7RP-jkbt_YnJNPvN%2B%2BFjStA6iWDErg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to