Replies: 3 comments 3 replies
-
I don't think that's possible, but maybe I'm wrong. I'll let some time for anybody else to answer before I actually take a closer look at the code. |
Beta Was this translation helpful? Give feedback.
1 reply
-
This isn't possible, by design. The (poorly named) uuid is there only to
ensure they you don't accidentally release a package 'foo' into the same
package repo containing an unrelated package 'foo'.
…On Fri, 2 Sept 2022, 09:40 Topher, ***@***.***> wrote:
Yeah, I assumed so. I couldn't find anything in the docs or wiki
suggesting how to distinguish between the two packages during a rez-env. We
will likely just have to change the name of the custom package and deal
with refactoring.
—
Reply to this email directly, view it on GitHub
<#1370 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAMOUSS3VH6XICBJLLEM7UTV4IUW3ANCNFSM6AAAAAAQCRJSKE>
.
You are receiving this because you are subscribed to this thread.Message
ID: <AcademySoftwareFoundation/rez/repo-discussions/1370/comments/3538547@
github.com>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
No, the name _is_ what distinguishes packages (ultimately something has
to!). There could be an argument for allowing a package request to be
qualified with the repo it belongs to, which might help a bit, but I think
that's dangerous (and would be pretty verbose).
I don't have a good answer for this, it's not something that's come up
much. But, if rez usage expanded a lot and started managing more packages
from more ecosystems, I could see name clashes becoming more of an issue.
Something to think about,
…On Fri, 2 Sept 2022, 11:11 Topher, ***@***.***> wrote:
Yeah, fortunately it's a custom package so we're just going to rename it
and deal with a big refactor. But if there are multiple 3rd party packages
with the same name, is it possible to distinguish them during a rez-env?
—
Reply to this email directly, view it on GitHub
<#1370 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAMOUSQLXJOS62KFBHDKEC3V4I7NVANCNFSM6AAAAAAQCRJSKE>
.
You are receiving this because you commented.Message ID:
<AcademySoftwareFoundation/rez/repo-discussions/1370/comments/3539172@
github.com>
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
hughetop
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am running into some issues with a package (unfortunately) named 'maya', which is conflated with the software of the same name. I can utilize the
uuid
field in package.py to distinguish between the two during build and install, but how do I request one over the other? Similar to the hello_world example, I putuuid = 'studio.maya'
in the package.py, but is there a way to request that package based on uuid? I triedrez-env studio.maya
but that gave a PackageFamilyNotFoundError.So is there a way to distinguish packages with the same name during a rez-env?
Beta Was this translation helpful? Give feedback.
All reactions