Am 21.01.2014 10:36, schrieb Jacob Carlborg:

Running "dub fetch dstep" it fails to fetch the latest version
"0.1.0+dub" but succeeds when falling back to master. This is the output:

Fetching dstep 0.1.0+dub...
Placing dstep 0.1.0+dub to /Users/doob/.dub/packages/...
Getting a release version failed: ZipException: no end record
Retry with ~master...
Fetching dstep ~master...
Placing dstep ~master to /Users/doob/.dub/packages/...

When I tried to fetch "dstep" again I got the following output in
addition (before) the output above:

Failed to parse package description in
/Users/doob/.dub/packages/mambo-0.0.1-alpha
Failed to load package in /Users/doob/.dub/packages/mambo-0.0.1-alpha:
No/Unknown comparision specified: '==~d'
Failed to parse package description in
/Users/doob/.dub/packages/mambo-0.0.1-alpha
Failed to load package in /Users/doob/.dub/packages/mambo-0.0.1-alpha:
No/Unknown comparision specified: '==~d'

The package description in /Users/doob/.dub/packages/mambo-0.0.1-alpha
looks like this:

http://pastebin.com/sEZ4hGNB

Which isn't exactly like it looks in the repository:

https://github.com/jacob-carlborg/mambo/blob/master/dub.json

Running "dub fetch dstep -vv" (I was hoping for a more verbose output)
resulted in this error:

Error processing arguments: Can't parse string: bool should be
case-insensitive 'true' or 'false'
Run 'dub help' for usage information.

If think the error message isn't very descriptive. It should say
something like there isn't a flag "-vv".

Running with verbose output enabled I got this:

http://pastebin.com/zWWt1quE

Running "dub --foo" results in this error:

Error executing command run: Failed to find a package named '--foo'.

I'm wondering if it would be better if Dub assume anything that starts
with a one dash or two dashes is a flag. In this case it's an invalid
flag and Dub would give a descriptive error message for this.

This turned out to be a couple of issues. Perhaps I should reported them
separately on Github?

It seems to not like the "+" in the version. Fixing.