Re: Stack 2 release plans

2019-04-24 Thread Yuji Yamamoto
I see, thanks.

2019年4月25日(木) 14:06 Michael Snoyman :

> There are some changes, but most everything is backwards compatible. For
> example, the snapshot files we use for building Stack itself are compatible
> with both Stack 1.9 and master. The thing that's changing completely is the
> Stackage snapshot files, which will match the custom snapshot files.
>
> The docs for all of this are available at
>
> https://github.com/commercialhaskell/stack/blob/master/doc/pantry.md
>
> On Thu, Apr 25, 2019, 7:28 AM Yuji Yamamoto 
> wrote:
>
>> I heard the file format of custom snapshot is going to change since Stack
>> 2.
>> Is the new format documented somewhere?
>> How can we migrate?
>>
>> 2019年4月25日(木) 12:36 Michael Snoyman :
>>
>>> I've published a blog post with plans for changes to Stackage and the
>>> release of Stack 2. There are some big changes in Stack 2, so I'd strongly
>>> encourage users to do some testing before release to see if any workflows
>>> have been significantly impacted.
>>>
>>> --
>>> 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/CAKT9ecOPWeouGzWwoUZy%2Byi6_QNBVUM4DDrLYTY79d6eekx0pA%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/haskell-stack/CAKT9ecOPWeouGzWwoUZy%2Byi6_QNBVUM4DDrLYTY79d6eekx0pA%40mail.gmail.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>> --
>> 山本悠滋
>> twitter: https://twitter.com/igrep
>> GitHub: https://github.com/igrep
>> GitLab: https://gitlab.com/igrep
>> Facebook: http://www.facebook.com/igrep
>>
>

-- 
山本悠滋
twitter: https://twitter.com/igrep
GitHub: https://github.com/igrep
GitLab: https://gitlab.com/igrep
Facebook: http://www.facebook.com/igrep

-- 
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/CA%2B6J5GGVFtvq5S5vOAfgLDc_KQDR2yDDj6bqxu%3DC_d-GihP3Sw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: problem with stack behind proxy

2018-03-21 Thread Yuji Yamamoto
FYI.

If your office's proxy server is authenticated with NTLM authentication,
use CNTLM http://cntlm.sourceforge.net/ , a proxy of proxy for
NTLM-authenticated server.
Actually, my last office uses it :)

2018-03-21 18:46 GMT+09:00 Nikos Karagiannidis <nikoshask...@gmail.com>:

> Thank you both for your help!
>
> I have tried to embed a URI encoded username and password in the
> HTTP_PROXY setting but still did not work.
> I have managed to find an alternative proxy by talking to the network
> department that does not require authentication!
> So now "stack upgrade" works for me too!
>
> I will continue with this workaround for now ...
>
> many thanks!
> Nikos
>
>
> On Wed, Mar 21, 2018 at 6:05 AM, Yuji Yamamoto <
> whosekitenever...@gmail.com> wrote:
>
>> According to the error, you must set proxy user name and password to pass
>> the authentication.
>>
>> Like this:
>>
>> HTTP_PROXY = http://username:password@proxy-host:8080
>> <http://proxy-host:8080/>
>> HTTPS_PROXY = http:// <http://proxy-host:8080/>username:password@
>> <http://proxy-host:8080/> proxy-host:8080
>>
>> Note that you must URI-encode the username or password if they include
>> some meta-characters like a colon or an at-sign.
>>
>> Besides,  stack 1.3.2 is too old!
>>
>> 2018-03-21 2:00 GMT+09:00 Nikos Karagiannidis <nikoshask...@gmail.com>:
>>
>>> Hi all,
>>>
>>> I am trying to run stack build, or stack update behind the corporate web
>>> proxy and I get the following error:
>>>
>>> $ stack build
>>> Downloading lts-11.1 build plan ...HttpExceptionRequest Request {
>>>   host = "raw.githubusercontent.com"
>>>   port = 443
>>>   secure   = True
>>>   requestHeaders   = []
>>>   path = "/fpco/lts-haskell/master//lts-11.1.yaml"
>>>   queryString  = ""
>>>   method   = "GET"
>>>   proxy= Nothing
>>>   rawBody  = False
>>>   redirectCount= 10
>>>   responseTimeout  = ResponseTimeoutDefault
>>>   requestVersion   = HTTP/1.1
>>> }
>>>  (ProxyConnectException "raw.githubusercontent.com" 443 (Status
>>> {statusCode = 407, statusMessage = "Proxy Authentication Required (
>>> Forefront TMG requires authorization to fulfill the request. Access to the
>>> Web Proxy filter is denied.  )"}))
>>>
>>> My stack version is:
>>>
>>> $ stack --version
>>> Version 1.3.2, Git revision 3f675146590da4f3edf768b89355f798229da2a5
>>> x86_64 hpack-0.15.0
>>>
>>> I have set the HTTP_PROXY and HTTPS_PROXY environment variables to a
>>> value of:
>>> HTTP_PROXY = http://proxy-host:8080
>>> HTTPS_PROXY = http://proxy-host:8080
>>>
>>> Can you help me how to achieve proxy authentication via stack?
>>>
>>> thank you in advance!
>>>
>>> Nikos
>>>
>>> --
>>> 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/ms
>>> gid/haskell-stack/CAN0STeQPzM2SyxyYUiy3o2HS%2BDMw8sWmTcyWZHi
>>> -LwLANjY%2BtQ%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/haskell-stack/CAN0STeQPzM2SyxyYUiy3o2HS%2BDMw8sWmTcyWZHi-LwLANjY%2BtQ%40mail.gmail.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> 山本悠滋
>> twitter: @igrep
>> GitHub: https://github.com/igrep
>> GitLab: https://gitlab.com/igrep
>> Facebook: http://www.facebook.com/igrep
>> Google+: https://plus.google.com/u/0/+YujiYamamoto_igrep
>>
>
>


-- 
山本悠滋
twitter: @igrep
GitHub: https://github.com/igrep
GitLab: https://gitlab.com/igrep
Facebook: http://www.facebook.com/igrep
Google+: https://plus.google.com/u/0/+YujiYamamoto_igrep

-- 
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/CA%2B6J5GEcb4NhN0Z7DGKnzHNrQurqf5L6E5ghGZDe98wbooUpQw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: problem with stack behind proxy

2018-03-21 Thread Yuji Yamamoto
According to the error, you must set proxy user name and password to pass
the authentication.

Like this:

HTTP_PROXY = http://username:password@proxy-host:8080

HTTPS_PROXY = http:// username:password@
 proxy-host:8080

Note that you must URI-encode the username or password if they include some
meta-characters like a colon or an at-sign.

Besides,  stack 1.3.2 is too old!

2018-03-21 2:00 GMT+09:00 Nikos Karagiannidis :

> Hi all,
>
> I am trying to run stack build, or stack update behind the corporate web
> proxy and I get the following error:
>
> $ stack build
> Downloading lts-11.1 build plan ...HttpExceptionRequest Request {
>   host = "raw.githubusercontent.com"
>   port = 443
>   secure   = True
>   requestHeaders   = []
>   path = "/fpco/lts-haskell/master//lts-11.1.yaml"
>   queryString  = ""
>   method   = "GET"
>   proxy= Nothing
>   rawBody  = False
>   redirectCount= 10
>   responseTimeout  = ResponseTimeoutDefault
>   requestVersion   = HTTP/1.1
> }
>  (ProxyConnectException "raw.githubusercontent.com" 443 (Status
> {statusCode = 407, statusMessage = "Proxy Authentication Required (
> Forefront TMG requires authorization to fulfill the request. Access to the
> Web Proxy filter is denied.  )"}))
>
> My stack version is:
>
> $ stack --version
> Version 1.3.2, Git revision 3f675146590da4f3edf768b89355f798229da2a5
> x86_64 hpack-0.15.0
>
> I have set the HTTP_PROXY and HTTPS_PROXY environment variables to a value
> of:
> HTTP_PROXY = http://proxy-host:8080
> HTTPS_PROXY = http://proxy-host:8080
>
> Can you help me how to achieve proxy authentication via stack?
>
> thank you in advance!
>
> Nikos
>
> --
> 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/CAN0STeQPzM2SyxyYUiy3o2HS%
> 2BDMw8sWmTcyWZHi-LwLANjY%2BtQ%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
山本悠滋
twitter: @igrep
GitHub: https://github.com/igrep
GitLab: https://gitlab.com/igrep
Facebook: http://www.facebook.com/igrep
Google+: https://plus.google.com/u/0/+YujiYamamoto_igrep

-- 
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/CA%2B6J5GEpJYrMNLZHC5wxd1LE%2BC3icu1J4KXefG4SnB_Kcw%3DwfA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.