ynput / OpenPype

Main OpenPype repository and AYON openpype addon codebase
https://openpype.io
MIT License
280 stars 128 forks source link

Gaffer tweaks for ayon-gaffer #6254

Open sjt-rvx opened 3 months ago

sjt-rvx commented 3 months ago

Since I have moved all the gaffer stuff into an addon we still need to alter some things in the openpype core (ayon-core in the near future). However this adds also a bit of other things I was hoping to get rid of before this becomes proper. This adds 'explicit_cleanup_paths' to instances which cleanup.py So we can run arbitrary cleanup on the farm. I added this at the time since I couldn't get the actual explicit_cleanup paths work. This also messes with submit_publish_job.py's way of fetching AVALON_ASSET and AVALON_TASK, trying first to get the data from the instance instead of just looking at the context. This is kind of a must for multi-context publishes (publishing into several folders in one go).

The gaffer addon in its roughest form:

https://github.com/RVXStudio/ayon-gaffer

Testing notes:

  1. To try this out you will need the ayon-gaffer addon
  2. and then this PR