Within days the Images suite will be ready for julia 0.7 and 1.0, and hence it is time to start thinking about upgrading our packages. Here is an outline of the recommended process.
Steps that can be taken before testing on 0.7:
- push a branch called
julia0.6, so that anyone still using 0.6 can follow that branch without disruption
- check out a local branch called
julia0.7
- run Femtocleaner locally with the REQUIRE file set to
julia 0.6 and see if there are any deprecations. Let it fix those and make a commit.
- bump the REQUIRE file to
julia 0.7 and re-run femotcleaner. Note femtocleaner only runs on 0.6, there is no need to use 0.7 for this step. Commit the fixes.
The next steps require 0.7. 0.7 and 1.0 are both built and available in /usr/local/julia on both cannon and flash:
- just try
using PkgName where PkgName is, e.g., BlockRegistration. For our more complex packages it would not be surprising if even this failed. Make any needed fixes to get the package to compile and commit.
- start working your way through the tests. Fix both errors and deprecation warnings. For the bigger packages it is probably worth making a commit for each test file that you get working.
- before you submit to the HolyLab repo, be sure you update the
.travis.yml and appveyor.yml scripts. Note that Appveyor.jl has a cut-and-paste script in the README that can be used everywhere.
Note that Revise and Rebugger are quite handy for fixing bugs.
Within days the Images suite will be ready for julia 0.7 and 1.0, and hence it is time to start thinking about upgrading our packages. Here is an outline of the recommended process.
Steps that can be taken before testing on 0.7:
julia0.6, so that anyone still using 0.6 can follow that branch without disruptionjulia0.7julia 0.6and see if there are any deprecations. Let it fix those and make a commit.julia 0.7and re-run femotcleaner. Note femtocleaner only runs on 0.6, there is no need to use 0.7 for this step. Commit the fixes.The next steps require 0.7. 0.7 and 1.0 are both built and available in
/usr/local/juliaon both cannon and flash:using PkgNamewhere PkgName is, e.g.,BlockRegistration. For our more complex packages it would not be surprising if even this failed. Make any needed fixes to get the package to compile and commit..travis.ymlandappveyor.ymlscripts. Note that Appveyor.jl has a cut-and-paste script in the README that can be used everywhere.Note that Revise and Rebugger are quite handy for fixing bugs.