Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Ftrack hook #49
Yes well I still don't know what it does, why you did it or how to use it. There are 2,500 new lines of code so I couldn't exactly sift through it and hope to grok.
How about at least an example, a little snippet, along with an explanation of the problem it solves? Why does anyone need this, and why couldn't they accomplish the thing it does before?
I've updated the documentation about this hook; https://github.com/tokejepsen/pyblish-ftrack/blob/master/README.md#ftrack-hook
The hook is a way of publishing any file type directly from Ftrack. This type of publishing can be done with ftrack-connect, but ftrack-connect lacks everything about CVEI and is just a way of ingesting files into ftrack.
We used to have this hook working, but it died due to not being used in production very much; #40.
As for examples, here I traverse the selected folder for json files to create instances from; https://github.com/bumpybox/pyblish-bumpybox/blob/f2aad5b2cac63d3d57ad09e9ce21270f485db481/pyblish_bumpybox/plugins/collect_json.py