Most of the tutorials and documentation imply that only the <project>/config/...
can be modified to customize a pipeline. But some of our needs require modifying <project>/install/...
Can this be done? Is there a problem with this?
Most of the tutorials and documentation imply that only the <project>/config/...
can be modified to customize a pipeline. But some of our needs require modifying <project>/install/...
Can this be done? Is there a problem with this?
The correct way to do this is to fork the shotgun apps. The fork can be loaded either from the local filesystem, or from github. Let us say we do the former:
cd z:/shotgun_apps
git clone git@github.com:diegogarciahuerta/tk-blender.git
tk-blender
location is defined in your config - might be in shot_step.yml
, or a more specific file. It depends on what config you started from. Say we use a local path:tk-blender:
location:
type: path
windows_path: "z:/shotgun_apps/tk-blender"
linux_path: "/mnt/projects/apps/tk-blender"
If you upload your fork to e.g. github, you could point to the repo with a git descriptor
tk-blender:
location:
type: git
path: "git@github.com:youruser/tk-blender.git"
version: 1.2.3
Iām sure there is more information on this on the forum and in the docs.
Would this be the sort of approach needed to hijack the default open/save/publish behaviors to ignore the default schema, as well?
Not sure what you mean by this. Hooks are in the config folder, which may be coming from git already. (we use a centralized config). Overriding a hook usually means writing the new hook (in the config/hooks
folder), and modifying the config to use this hook. That is if the behavior you are targeting is run in hooks.
If you want to hack the tk-multi-workfiles2
app itself (e.g. because something is not available in a hook), then you use the above approach, yes.