I'm on Win7 x64, installed dub from here: http://code.dlang.org/files/dub-0.9.17-setup.exe
I've ran:
$ mkdir test
$ cd test
$ dub init
Then I've edited package.json to the following:
{
"name": "test",
"description": "An example project skeleton",
"homepage": "http://example.org",
"copyright": "Copyright © 2000, Your Name",
"authors": [
"Your Name"
],
"dependencies": {
"derelict-glfw3": "~master"
}
}
And then I've ran:
$ dub upgrade
Dub then starts printing the following messages forever:
Upgrading project in C:\dev\projects\test
The following changes will be performed:
Install derelict-util ~master, userWide
Install derelict-glfw3 ~master, userWide
Package derelict-util ~master (/C:/Users/Administrator/AppData/Roaming/dub/packages/) is already installed with the latest version, skipping upgrade.
Package derelict-glfw3 ~master (/C:/Users/Administrator/AppData/Roaming/dub/packages/) is already installed with the latest version, skipping upgrade.
The following changes will be performed:
Install derelict-util ~master, userWide
Install derelict-glfw3 ~master, userWide
Package derelict-util ~master (/C:/Users/Administrator/AppData/Roaming/dub/packages/) is already installed with the latest version, skipping upgrade.
Package derelict-glfw3 ~master (/C:/Users/Administrator/AppData/Roaming/dub/packages/) is already installed with the latest version, skipping upgrade.
It seems like it's stuck in an infinite loop.