digitalmars.D.announce - DUB 1.33 package migration script
- WebFreak001 (12/12) Aug 18 2023 hi, if you are having issues with mixed old/new dub installations
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: https://github.com/WebFreak001/dub-migrate 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 2023