Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Registry add: Overwrite registry folders that don't contain a Registry.toml #2356

Merged

Conversation

IanButterworth
Copy link
Sponsor Member

@IanButterworth IanButterworth commented Jan 23, 2021

Even though the core reason for #1667 should be fixed on master & 1.6, that error can happen if a registry dir exists that's missing the Registry.toml file, which might happen if people are using newer and older julia versions together.

This changes to checking for the Registry.toml directly, rather than the existence of the dir.
If it's missing, the dir is replaced by the new cloned registry.

@fredrikekre fredrikekre added the backport 1.6 Change should be backported to release-1.6 label Jan 25, 2021
@fredrikekre fredrikekre merged commit 4ffa905 into JuliaLang:master Jan 27, 2021
@IanButterworth IanButterworth deleted the ib/registry_handle_empty branch January 27, 2021 13:13
KristofferC pushed a commit to IanButterworth/Pkg.jl that referenced this pull request Jan 28, 2021
KristofferC pushed a commit to IanButterworth/Pkg.jl that referenced this pull request Jan 28, 2021
@fredrikekre fredrikekre removed the backport 1.6 Change should be backported to release-1.6 label Feb 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants