Pkg.jl
Pkg.jl copied to clipboard
`Pkg.Registry.uncompress`: if overlapping ranges are found, print detailed debugging information in the error message
Fixes #2899
@andreasnoack and I ran into this error with a private registry, and it was very difficult to pinpoint the exact location of the problem, because the current error message does not provide very much information.
With this PR, the error message for overlapping ranges will include the following data:
- Registry.toml ->
path - Registry.toml ->
registry_path - Registry.toml ->
name - Registry.toml ->
uuid - Package.toml ->
repo - Package.toml ->
subdir
This should make it much easier to figure out where the problem is.
This seems like a great improvement to me (and it fixes a clear bug). I'm not familiar with this code so I'll let others review.
I think we just hit this too (not my machine and via zoom, so I can't do a detailed diagnosis).
Needs a review from someone that knows the code.
Bump @KristofferC
@KristofferC bumping this again
Bump @KristofferC
There are some conflicts here now. Are the changes still relevant?