www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - DUB 1.33 package migration script

hi, if you are having issues with mixed old/new dub installations 
on your system, which use different package versions and to avoid 
potentially double-downloading all your packages, you can run 
this script to automatically move all the old paths to the new 
paths, while adding symlinks (or copying on windows) to the old 
location again, to keep compatibility with older dub versions:


This includes using newer serve-d versions with older dub 
versions installed, making serve-d able to actually find the 
packages for auto-completion again.

It's safe to run the migrate script any number of times, it will 
only upgrade what doesn't exist yet.
Aug 18