dlang / dub

Package and build management system for D
MIT License
677 stars 227 forks source link

Regression: Latest dub can't build git specification #2971

Closed MrcSnm closed 3 weeks ago

MrcSnm commented 3 weeks ago

System information

Bug Description

 Warning Dependency 'arsd-official:cgi' depends on git branch '~master', which is deprecated.
             Specify the git repository and commit hash in your dub.json:
             "arsd-official:cgi": {"repository": "git+<git url>", "version": "<commit>"}
     Warning Dependency 'arsd-official:minigui' depends on git branch '~master', which is deprecated.
             Specify the git repository and commit hash in your dub.json:
             "arsd-official:minigui": {"repository": "git+<git url>", "version": "<commit>"}
     Warning Dependency 'arsd-official:terminal' depends on git branch '~master', which is deprecated.
             Specify the git repository and commit hash in your dub.json:
             "arsd-official:terminal": {"repository": "git+<git url>", "version": "<commit>"}

core.exception.AssertError@source\dub\project.d(197): Non-optional dependency 'arsd-official:cgi' of 'hbuild' not found in dependency tree!?.

How to reproduce?

Clone https://github.com/MrcSnm/HipremeEngine/tree/master/tools/hbuild and run dub -- Or use the version specification as ~master. Fixed by using ~>11.5.0 .

Expected Behavior

It worked on other versions

Logs

MrcSnm commented 3 weeks ago

I think that may be a problem on the dub registry itself