-
Notifications
You must be signed in to change notification settings - Fork 41
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
Load and manage products from a library project #983
Comments
I studied a little bit with the code. The issue possibly contributes to the following function can't manage to find versions and the name of the project as we can always stick with searching the representation and version through the current project name. ayon-core/client/ayon_core/tools/sceneinventory/models/containers.py Lines 222 to 243 in 4b5573d
ayon-core/client/ayon_core/tools/sceneinventory/models/containers.py Lines 297 to 307 in 4b5573d
Just discuss with @BigRoy
|
Is there an existing issue for this?
Please describe the feature you have in mind and explain what the current shortcomings are?
The loader is currently able to load products from another (library) project. However, those have traditionally never been able to remain 'managed' and updated.
I'd like to propose a means to allow loading from another project and keep the full management working by persisting the
product_name
with the container data.How would you imagine the implementation of the feature?
Upon loading, we also imprint the loaded container with the
project_name
data alongside the representation id.That way, anything that takes the
container
likeupdate_container
to set versions or alike is capable of also using the project name data to update correctly to a new version. Due to that we don't need to customize the function signature forupdate_container
There will be some more we'll need to do:
Required:
project_name
data.Loader.filepath_from_context
method should be tested with it's correctly resolving for another context than the current project.project_name
metadata and also query the data/info regarding the other project.Not critical for MVP:
project_name
to allow switching these containers from another project too.project_name
data attached to it to correctly identify it.Are there any labels you wish to add?
Describe alternatives you've considered:
No response
Additional context:
No response
The text was updated successfully, but these errors were encountered: