Beta 2.094.0

mw mingwu at gmail.com
Wed Sep 16 17:20:55 UTC 2020


On Monday, 14 September 2020 at 23:36:45 UTC, James Blachly wrote:
> On 9/14/20 5:17 PM, mw wrote:
>> On Sunday, 13 September 2020 at 16:33:42 UTC, James Blachly 
>> wrote:
>>> {
>>>     "name": "git-dependency",
>>>     "dependencies": {
>>>         "gitcompatibledubpackage": {
>>>             "repository": 
>>> "git+https://github.com/dlang-community/gitcompatibledubpackage.git",
>>>             "version": 
>>> "ccb31bf6a655437176ec02e04c2305a8c7c90d67"
>>>         }
>>>     }
>>> }
>> 
>> 
>> On a git repo, where to get this version string?
>> 
>> BTW, pass in "master" does not work.
>
> Looks like the commit hash ; use `git log`
>
> Agree a branch name would be nice , then it could automatically 
> take HEAD


Actually I just saw this:

https://dub.pm/package-format-json#version-specs

-- Use a GIT branch (deprecated): "~master"


Why it's deprecated? can we revive it?



More information about the Digitalmars-d-announce mailing list