Sure. I was asking because I opened https://github.com/commercialhaskell/stack/issues/3813 to implement dependency vendoring for Stack projects.
Not sure if and when I would get to PR that myself, so I wouldn't mind if the topic gets picked up as GSoC project. Would be great if the use cases in above issue would be supported. I have a partially working PoC for the scenario, implemented outside of stack (using turtle, shelling out to stack) to verify such a snapshot would fulfill the scenarios. It's not on github yet but I could put it there for reference. Best Jan IC Rainbow <ic.r...@gmail.com> schrieb am Mo., 9. Apr. 2018, 10:05: > It may be. But that requires tooling support nevertheless. > > "Done" here means (for me) you run `stack offline-snapshot` and get a > directory or tarball that you can distribute to developers, add to > containers etc. > > On Sun, Apr 8, 2018 at 9:25 PM Jan von Löwenstein < > jan.loewenst...@gmail.com> wrote: > >> Isn't the "offline archive" pretty much what can be done via extensible >> snapshots? What would be in such an archive that would not be in a >> snapshot. >> >> Emanuel Borsboom <ma...@fpcomplete.com> schrieb am Do., 22. März 2018, >> 14:16: >> >>> Here are my thoughts on the steps involved: >>> >>> - Go through all code that does Internet access, make sure it can be >>> disabled >>> - Add a way to download all required files (snapshots, package source, >>> etc.) into an offline archive >>> - Ensure the offline archive can be incrementally updated (e.g. if a >>> snapshot or extra-dep is updated, the new files can be added to the >>> existing archive) >>> - Ensure the offline archive can also be used from an HTTP(S) server on >>> a corporate intranet (note that actually uploading the archive to that >>> server is out of scope since there are too many variables in how these >>> servers could be set up) >>> - Add an easy way to reference the offline archive in stack.yaml. >>> >>> >>> >>> On Mar 20, 2018, at 12:31 AM, sanyaneg...@gmail.com wrote: >>> >>> Hello! >>> >>> I am extremely interested int the Project-"Offline Mode for Stack" for >>> Google Summer Of Code. >>> >>> I have gone through the previous attempts on the same topic on github. >>> >>> Please guide me further as to what should I do next as I am a little >>> confused about how to break down the problem into pieces and base my >>> proposal on. >>> >>> Soliciting a prompt and positive response. >>> >>> Thanking you >>> Sanya >>> >>> >>> >>> -- >>> 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 haskell-stack+unsubscr...@googlegroups.com. >>> To post to this group, send email to haskell-stack@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/haskell-stack/c669c973-ca84-47f5-b436-f7adaa2a2613%40googlegroups.com >>> <https://groups.google.com/d/msgid/haskell-stack/c669c973-ca84-47f5-b436-f7adaa2a2613%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >>> >>> -- >>> 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 haskell-stack+unsubscr...@googlegroups.com. >>> To post to this group, send email to haskell-stack@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/haskell-stack/0A7500A4-8222-4787-BD3A-039355BC374A%40fpcomplete.com >>> <https://groups.google.com/d/msgid/haskell-stack/0A7500A4-8222-4787-BD3A-039355BC374A%40fpcomplete.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- >> 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 haskell-stack+unsubscr...@googlegroups.com. >> To post to this group, send email to haskell-stack@googlegroups.com. >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/haskell-stack/CAJtP4w6UixPMtu1SDj7Bmf5hv1C9aVt2W3YGkAH-696tioxikw%40mail.gmail.com >> <https://groups.google.com/d/msgid/haskell-stack/CAJtP4w6UixPMtu1SDj7Bmf5hv1C9aVt2W3YGkAH-696tioxikw%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . > > >> For more options, visit https://groups.google.com/d/optout. >> > -- 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 haskell-stack+unsubscr...@googlegroups.com. To post to this group, send email to haskell-stack@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/haskell-stack/CAJtP4w61MZo9Ctt%3D4ZkGP_5-ps-Li5QdTtaAdopF9RSMi7dF2g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.