Git, the D package manager

ponce via Digitalmars-d digitalmars-d at puremagic.com
Mon Feb 2 08:53:38 PST 2015


On Monday, 2 February 2015 at 13:10:56 UTC, Mike Parker wrote:
> On 2/2/2015 7:13 PM, Vladimir Panteleev wrote:
>> On Monday, 2 February 2015 at 10:09:00 UTC, Joseph Rushton 
>> Wakeling wrote:
>>> Well, as long as the requirements are expressed in the form,
>>>
>>>    "package-name": ">=1.2.3"
>>
>> This will allow Dub to pick a new major version with 
>> incompatible
>> changes, no?
>
> "~>1.2.3"
> This will constrain it to the range of 1.2.3 ... 1.3.0.

Better yet, "~>1.2" will constrain from 1.2.0 to 2.0.0 which 
means it will stop updating when incompatible changes are 
released.


More information about the Digitalmars-d mailing list