I am trying transfer some of my v0.6 packages to v1. I am a bit confused as how to do that at the moment. So I create the Project.toml and Manifest.toml and updated the github repo. Now I try to get into package mode by ] and I type in dev https://github.com/xiaodaigh/SortingLab.jl which should clone my repo into the Dev folder. But when I run using SortingLab it gives an error, and the error isn’t important, but it’s caused by dev url because it cloned an older version of the repo instead of updated one.
What’s the right way to migration from v0.6 to v1?
Use dev https://github.com/xiaodaigh/SortingLab.jl#master if the new version has not been published through the registry yet (I assume you’re talking about a published package?).
I have verified that the latest commit is indeed being cloned (on Julia 1.0.2).
What is probably happening here is that you ran dev, but the folder at e.g. .julia/dev/SortingLab already existed. In this case Pkg will not modify the already existing directory.
If you want to update it, you have to use git on the directory directly.