-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix missing uuid check on extension when finding the location of an e…
…xtension (#54658) in stacked environments with name collisions of extensions, this could compute the path for the wrong extension Fixes JuliaLang/Pkg.jl#3906
- Loading branch information
1 parent
770a464
commit 5034e87
Showing
8 changed files
with
47 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name = "ExtNameCollision_A" | ||
uuid = "9f48de98-8f56-4937-aa32-2a5530882eaa" | ||
version = "0.1.0" | ||
|
||
[weakdeps] | ||
REPL = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb" | ||
|
||
[extensions] | ||
REPLExt = "REPL" |
Empty file.
5 changes: 5 additions & 0 deletions
5
test/project/Extensions/ExtNameCollision_A/src/ExtNameCollision_A.jl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module ExtNameCollision_A | ||
|
||
greet() = print("Hello World!") | ||
|
||
end # module ExtNameCollision_A |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name = "ExtNameCollision_B" | ||
uuid = "597d654f-44d8-4443-9b1e-1f2f4b45906f" | ||
version = "0.1.0" | ||
|
||
[weakdeps] | ||
REPL = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb" | ||
|
||
[extensions] | ||
REPLExt = "REPL" |
Empty file.
5 changes: 5 additions & 0 deletions
5
test/project/Extensions/ExtNameCollision_B/src/ExtNameCollision_B.jl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module ExtNameCollision_B | ||
|
||
greet() = print("Hello World!") | ||
|
||
end # module ExtNameCollision_B |