Re: Feature Idea: --no-remote-fetching flag

2013-10-08 Thread Mikhail Glushenkov
Hi Adam, On Tue, Oct 8, 2013 at 6:46 PM, Adam Foltzer wrote: > > I'd be willing to explore implementing this myself, if it would be > appropriate for a first-time cabal hacker. I'm also quite interested to hear > whether this would be a useful feature for others, or other ways you might > propose

Re: Feature Idea: --no-remote-fetching flag

2013-10-08 Thread Johan Tibell
On Tue, Oct 8, 2013 at 10:40 AM, Adam Foltzer wrote: > Would this cause `cabal build` to fetch dependencies if some are missing > locally? We'd want to see a similar way to disable that behavior for > security-sensitive environments as well. Reproducibility and isolation are > our primary concerns

Re: Feature Idea: --no-remote-fetching flag

2013-10-08 Thread Erik Hesselink
On Tue, Oct 8, 2013 at 7:40 PM, Adam Foltzer wrote: > On Tue, Oct 8, 2013 at 9:54 AM, Johan Tibell wrote: >> >> I would like for there to be a both a command line flag and a >> ~/.cabal/config setting (there isn't one already, is there?) > > Please let me know if this is the case! I have combed t

Re: Feature Idea: --no-remote-fetching flag

2013-10-08 Thread Adam Foltzer
Hi Johan, On Tue, Oct 8, 2013 at 9:54 AM, Johan Tibell wrote: > I would like for there to be a both a command line flag and a > ~/.cabal/config setting (there isn't one already, is there?) Please let me know if this is the case! I have combed through the docs and not found anything yet. > So

Re: Feature Idea: --no-remote-fetching flag

2013-10-08 Thread Johan Tibell
I would like for there to be a both a command line flag and a ~/.cabal/config setting (there isn't one already, is there?), False by default, that has this behavior. Some people have previously expressed a desire for it on security grounds. P.S. We intend to have cabal build imply `cabal install -