You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From a discussion on Slack that will be forever lost, it is better to use https://github.com/JuliaPackaging/Scratch.jl to display update messages instead of the current pipeline with touch. Stefan Karpinski said that
We really don’t want people modifying package code in place 😢
and also cited other related problems, while Elliot Saba further commended that the approach will be impossible in the future:
We’re eventually going to make packages read-only.
Elliot thankfully pointed out that the replacement is easy:
https://github.com/JuliaPackaging/Scratch.jl , Basically, instead of using the DIR macro, you would use the get_scratch macro, that's the only change. But you get a lot of benefits, including that it will work even if your package is included in PackageCompiler output. The scratch directory can be cleared, if for example the package is uninstalled then reinstalled later. The user can also manually clear it.
The text was updated successfully, but these errors were encountered:
From a discussion on Slack that will be forever lost, it is better to use https://github.com/JuliaPackaging/Scratch.jl to display update messages instead of the current pipeline with
touch
. Stefan Karpinski said thatand also cited other related problems, while Elliot Saba further commended that the approach will be impossible in the future:
Elliot thankfully pointed out that the replacement is easy:
The text was updated successfully, but these errors were encountered: