-
Notifications
You must be signed in to change notification settings - Fork 36
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
Houdini: Cleanup after publishing #9
Houdini: Cleanup after publishing #9
Conversation
As far as I tested, this PR works with local publishing, I'm not sure yet about farm publishing. From digging around discord and the code I found out that there are plugins that do the cleaning up:
tbh, I find this feature dangerous and requires pipeline admins to be aware of how to use it.
|
Mentioning @BigRoy as I couldn't add him as a reviewer in this PR. |
client/ayon_core/hosts/houdini/plugins/create/create_alembic_camera.py
Outdated
Show resolved
Hide resolved
client/ayon_core/hosts/houdini/plugins/create/create_alembic_camera.py
Outdated
Show resolved
Hide resolved
client/ayon_core/hosts/houdini/plugins/publish/collect_staging_dirs_for_cleaning_up.py
Outdated
Show resolved
Hide resolved
client/ayon_core/hosts/houdini/plugins/publish/collect_staging_dirs_for_cleaning_up.py
Outdated
Show resolved
Hide resolved
…irs to 'cleanupEmptyDirs'
client/ayon_core/hosts/houdini/plugins/publish/collect_files_for_cleaning_up.py
Outdated
Show resolved
Hide resolved
client/ayon_core/hosts/houdini/plugins/create/create_alembic_camera.py
Outdated
Show resolved
Hide resolved
Here are the current test results on my side.
From publisher log:
|
The Mantra IFD and .rs files being deleted doesn't seem like what you'd want right? Or are those IFD files actually being published? Aren't those just intermediate rendering files? |
I encountered this issue during installing addon
We need to change |
- `list[]` is only since Py3.9 - this way we're compatible with older Py3 - `os.PathLike` doesn't seem to like it if we just pass it a `str` for whatever reason
…ture/houdini_cleanup_after_publishing
…blishing' into feature/houdini_cleanup_after_publishing
Co-authored-by: Roy Nieterau <[email protected]>
…thub.com/ynput/ayon-core into feature/houdini_cleanup_after_publishing
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.
Tested with Review, Camera and Mantra ROP(both local and farm)
Works smoothly.
…ture/houdini_cleanup_after_publishing
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.
I pushed a version bump - only thing to double check @MustafaJafar is Kayla's comment. If you think that's all resolved / fine as it is feel free to mark resolved and merge the PR.
Did another pointcache + vdb test run just now. Works fine.
we need to dimiss Ondrej's review to merge it btw. |
The request has been implemented, but Ondrej is not around to review now.
…nhance_parms Houdini: Update ayon_lop_import 1.0 (Expanded HDA)
Changelog Description
This PR adds a collector to add the parent of the exported files to the clean up list.
Additional info
Cautions, This feature can be dangerous.
Testing notes: