Change in UI when a package name matches multiple registered packages?

We have a private registry, and we have a few packages with names that are the same as different packages registered in the General registry. For example, we have a package called Rotations.

Through Julia 1.10, if a user did pkg> add Rotations, the user would get a menu like:

(@v1.10) pkg> activate --temp
  Activating new project at `/var/folders/w7/c8k0zh5x5pv1hkvr34rk18gh0000gp/T/jl_pKKoVC`

(jl_pKKoVC) pkg> add Rotations
There are multiple registered `Rotations` packages, choose one:
 > Registry: General - Repo: https://github.com/JuliaGeometry/Rotations.jl.git - UUID: 6038ab10-8711-5258-84ad-4b1120ba62dc
   Registry: Private - Repo: <url> - UUID: <uuid>

With Julia 1.11.1, the menu no longer shows up:

(@v1.11) pkg> activate --temp
  Activating new project at `/var/folders/w7/c8k0zh5x5pv1hkvr34rk18gh0000gp/T/jl_T4tbK6`

(jl_T4tbK6) pkg> add Rotations
ERROR: there are multiple registered `Rotations` packages, explicitly set the uuid

Was this intentional?

6 Likes

I’m going to guess that this broke when we split Pkg out frlm the standard library and separated it from the REPL. It does not need to stay broken though.