timholy / Revise.jl

Automatically update function definitions in a running Julia session
https://timholy.github.io/Revise.jl/stable
Other
1.21k stars 110 forks source link

Support "out-of-tree" stdlib development #713

Open vchuravy opened 1 year ago

vchuravy commented 1 year ago

On the ci-dev call we discussed the possible to use Revise.jl for testing stdlibs. For that we would need to specify a rewrite rule that maps from the usr/share location to a local development version of the stdlib.

@giordano @staticfloat @DilumAluthge @gbaraldi

staticfloat commented 1 year ago

Thinking out loud here about API, my ideal API would be something like a "module replacement" API, where I can do something like:

using Pkg
Revise.track(Pkg => path_to_pkg_on_disk)
KristofferC commented 1 year ago

How would that work when changing structs is not supported?