[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haskell-cafe
Subject:    Re: [Haskell-cafe] Creating the network-bsd package
From:       Fumiaki Kinoshita <fumiexcel () gmail ! com>
Date:       2018-10-12 5:47:38
Message-ID: CAATCwU=WsxstO3E_9jQ9vR3TjeYg7fzyWwCUrT8aieaWa7x7Bw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I was having trouble because of the deprecation; network-bsd would be
really appreciated. As for splitting, I think there's nothing special to
do. On users side I'd prefer flags.

2018年10月12日(金) 12:44 Kazu Yamamoto <kazu@iij.ad.jp>:

> Hi,
>
> We the network package maintainers are planning to release network
> v3.0.0.0 which enables extending socket addresses. In this version, we
> will remove the Network.BSD module which version 2.7 already
> deprecates.
>
> Unfortunately, it appeared that many users use Network.BSD and there
> is no good alternative. So, I would like to split it into another
> package, say, network-bsd.
>
> Some years ago, the same thing happened to Network.URI, resulting in
> the network-uri and network-uri-flag packages. Currently, I'm planing
> to take the same approach:
>
> ----
> flag network-bsd
> library
>   -- ...
>   if flag(network-bsd)
>     build-depends: network-bsd >= 3.0, network >= 3.0
>   else
>     build-depends: network-bsd < 3.0, network < 3.0
> ---
>
> Or
>
> ----
> build-depends:
>     network >= 2.5 && < 2.7,
>     network-bsd >= 2.5 && < 2.7,
>     network-bsd-flag == 0.1.*
> ---
>
> Question: is this a correct appoarch? Or are there any better ways to
> split Netwrok.BSD?
>
> --Kazu
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.

[Attachment #5 (text/html)]

<div dir="ltr">I was having trouble because of the deprecation; network-bsd would be \
really appreciated. As for splitting, I think there&#39;s nothing special to do. On \
users side I&#39;d prefer flags.<br></div><br><div class="gmail_quote"><div \
dir="ltr">2018年10月12日(金) 12:44 Kazu Yamamoto &lt;<a \
href="mailto:kazu@iij.ad.jp">kazu@iij.ad.jp</a>&gt;:<br></div><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">Hi,<br> <br>
We the network package maintainers are planning to release network<br>
v3.0.0.0 which enables extending socket addresses. In this version, we<br>
will remove the Network.BSD module which version 2.7 already<br>
deprecates.<br>
<br>
Unfortunately, it appeared that many users use Network.BSD and there<br>
is no good alternative. So, I would like to split it into another<br>
package, say, network-bsd.<br>
<br>
Some years ago, the same thing happened to Network.URI, resulting in<br>
the network-uri and network-uri-flag packages. Currently, I&#39;m planing<br>
to take the same approach:<br>
<br>
----<br>
flag network-bsd<br>
library<br>
   -- ...<br>
   if flag(network-bsd)<br>
      build-depends: network-bsd &gt;= 3.0, network &gt;= 3.0<br>
   else<br>
      build-depends: network-bsd &lt; 3.0, network &lt; 3.0<br>
---<br>
<br>
Or<br>
<br>
----<br>
build-depends:<br>
      network &gt;= 2.5 &amp;&amp; &lt; 2.7,<br>
      network-bsd &gt;= 2.5 &amp;&amp; &lt; 2.7,<br>
      network-bsd-flag == 0.1.*<br>
---<br>
<br>
Question: is this a correct appoarch? Or are there any better ways to<br>
split Netwrok.BSD?<br>
<br>
--Kazu<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" \
rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
 Only members subscribed via the mailman list are allowed to post.</blockquote></div>


[Attachment #6 (text/plain)]

_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic