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).
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: