Open simonbyrne opened 5 years ago
Do you have a suggestion of what would be a better experience?
I'm not sure. Maybe build
should only operate on packages in the first depot by default? You could provide a -depot=n
option to specify which depot to build, or -all
to rebuild all?
Yeah, I see we only update registries in first deport entry so is perhaps sensible to do the same for build.
Part of making making system-provided depots useable (#763, #669).
Pkg.build()
will attempt to rebuild packages in all depots, and error if any of them are read-only.Example from https://github.com/JuliaLang/Pkg.jl/pull/733#issuecomment-498941123: