ynput / OpenPype

OpenPype has been surpassed by AYON and is now read only.
https://ayon.ynput.io
MIT License
286 stars 129 forks source link

Context Validation Repair Action enhancements #6207

Closed bradenjennings closed 1 month ago

bradenjennings commented 7 months ago

Changelog Description

Currently, Repair Action in Validate Instance in Context sets only the asset path, but is should be able to also set Task and run Set resolution and Set frame range actions. This should work both in AYON and OpenPype

Testing notes:

  1. having this Validator enabled in settings, create scene in the one context
  2. create instance and direct it to another context, ideally with different frame range and resolution
  3. publish
  4. validator should trigger and repair actions should do what they claim. Both in AYON and OP

[cuID:AY-1052]

mkolar commented 7 months ago

Actually @bradenjennings this only needs to work in AYON. It makes no sense in OP, so you can get rid of the compatibility and port it directly to ayon-core.

this can be closed in favour of ayon-core PR

antirotor commented 7 months ago

Just note why it was re-opened: this was requested by the client still running OP so it has to work there too

antirotor commented 7 months ago

Pure AYON version needs to be done in ayon-core repo

bradenjennings commented 7 months ago

Just note why it was re-opened: this was requested by the client still running OP so it has to work there too

Tasks dont store overrides in OpenPype as far as I know. I don't think its possible to implement without using AYON API.