Skip to content

Custom repository dependencies with non-hash "version" block won't install #3123

Description

@whitebyte

dub.json

{
	"name": "test",
	"dependencies": {
           "dcanvas": {
            "repository": "git+https://gitlab.com/anton999/dcanvas.git",
            "version": "1.0.0"
        }
}

dub fetch fails with Error Unable to fetch 'dcanvas@git+https://gitlab.com/anton999/dcanvas.git' using git - does the repository and version exist?
The repo and the tag definitely exist and are reachable. If version has a commit hash ("version": "ed19905125881f634932b16e35b134e2d12888d1"), everything works as expected.

Linux, dub 1.42.0-beta.1 and 1.41

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions