Re: requests 2.0.0 release

2020-10-30 Thread Andre Pany via Digitalmars-d-announce

On Friday, 30 October 2020 at 13:34:24 UTC, Jacob Carlborg wrote:

On Thursday, 29 October 2020 at 06:42:54 UTC, ikod wrote:

Hi,

requests 2.0.0 released with single change - support for 
vibe-d moved to separate subpackage.


The goal of this update is to prevent dub from downloading 
vibe-d packages for optional subConfiguration.


Another approach is to check if vibe.d is available using 
version conditions [1]. This is how the DDB [2] package 
supports both vibe.d sockets and Phobos sockets.


[1] 
https://github.com/pszturmaj/ddb/blob/97bc3652b05492e7917888c92e59f4576a69dfa8/source/ddb/postgres.d#L189-L216

[2] https://code.dlang.org/packages/ddb

--
/Jacob Carlborg


The important point here is, fetching and building "requests" 
does no longer trigger downloads of vibe.d packages.
This is the case for ddb(?). Therefore I see the pattern 
"requests" is using, is also highly interesting for ddb.


Kind regards
Andre


Re: requests 2.0.0 release

2020-10-30 Thread Jacob Carlborg via Digitalmars-d-announce

On Thursday, 29 October 2020 at 06:42:54 UTC, ikod wrote:

Hi,

requests 2.0.0 released with single change - support for vibe-d 
moved to separate subpackage.


The goal of this update is to prevent dub from downloading 
vibe-d packages for optional subConfiguration.


Another approach is to check if vibe.d is available using version 
conditions [1]. This is how the DDB [2] package supports both 
vibe.d sockets and Phobos sockets.


[1] 
https://github.com/pszturmaj/ddb/blob/97bc3652b05492e7917888c92e59f4576a69dfa8/source/ddb/postgres.d#L189-L216

[2] https://code.dlang.org/packages/ddb

--
/Jacob Carlborg


Re: mir-stat

2020-10-30 Thread jmh530 via Digitalmars-d-announce

On Friday, 30 October 2020 at 10:12:58 UTC, Kagamin wrote:

On Tuesday, 13 October 2020 at 10:30:41 UTC, jmh530 wrote:
The difference is that MIT says you can use it without 
restriction, including a few things, while Boost says you can 
do some things. I only meant that MIT license was more 
permissive in that if there are other things you want to do 
with it that are not listed on Boost (I don't know what that 
would be), then MIT would allow it.


Just make sure you don't grant exclusive rights :)


Ilya ended up going with the Apache license.

https://github.com/libmir/mir-algorithm/blob/master/LICENSE


Re: mir-stat

2020-10-30 Thread Kagamin via Digitalmars-d-announce

On Tuesday, 13 October 2020 at 10:30:41 UTC, jmh530 wrote:
The difference is that MIT says you can use it without 
restriction, including a few things, while Boost says you can 
do some things. I only meant that MIT license was more 
permissive in that if there are other things you want to do 
with it that are not listed on Boost (I don't know what that 
would be), then MIT would allow it.


Just make sure you don't grant exclusive rights :)