-
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
AY-971 Custom staging dir functionality migration #887
AY-971 Custom staging dir functionality migration #887
Conversation
- Added functions to handle custom staging directories - Updated imports and removed deprecated code - Created a new module for staging directory handling
…ging directories in the pipeline. - Added import statement for 'os' in creator_plugins.py - Implemented method 'apply_staging_dir' to apply staging directory with persistence to instance's transient data in creator_plugins.py - Updated comments and added TODOs related to staging directories in various files - Created a new plugin 'CollectManagedStagingDir' to manage staging directories in publish/lib.py
- Renamed variables for better understanding and uniformity - Improved readability by using more descriptive names
…g-dir-functions' into feature/AY-971_Use-custom-staging-dir-functions
Co-authored-by: Jakub Trllo <[email protected]>
@moonyuet I'm sorry I cannot reproduce your error locally. Out of curiosity, could you please run the following code from within Nuke and check out the result ? from ayon_core.pipeline import Anatomy, get_current_project_name
anatomy = Anatomy(get_current_project_name())
anatomy.get_template_item("staging", "nuke_staging") |
My bad, looks like this error happened mainly because my ayon server isn't at the latest. |
I hate GitHub showing wrong diff. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One last comment opened, but after that looks good.
Thanks @moonyuet and @iLLiCiTiT for the approvals, all remaining comments have been addressed. |
I guess that is dependent on this PR, so we may merge this now, or? |
…hub.com:ynput/ayon-core into feature/AY-971_Use-custom-staging-dir-functions
Changelog Description
The functionality of the staging directory has exceeded its original purpose of publishing. Considering its increased usage in the creation process, we need to migrate it to a dedicated module within the pipeline parent.
resolve ynput/ayon-nuke#21
Additional info
Migrated development from ynput/OpenPype#5207
Follow workfile version
is enabledTesting notes: