[x] I have added documentation regarding my changes where necessary
[x] Any pre-existing tests continue to pass
[x] Additional tests were made covering my changes
Types of Changes
[ ] Bugfix (change that fixes an issue)
[x] New Feature (change that adds functionality)
[ ] Documentation Update (if none of the other choices apply)
Proposed Changes
We are storing distro files for DCC's like Maya, Houdini and Nuke in a central location on each workstation(c:\blur\hab\distros). We install these applications in their default locations:
"distro_paths":[
// Nuke doesn't use a Company folder so we have to glob the entire Program Files dir
"C:/Program Files",
// To handle Houdini and maya we also have to glob the child directories.
"C:/Program Files/*",
Using a central location for these distro .hab.json files prevents us from having to add multiple glob paths to account for each DCC's install location. We also do our best to leave the dcc directory untouched, and this would require modifying the dcc directory.
If I want to package up the maya .hab.json file and put it on a offsite host that doesn't have maya installed into the default location, I would need to find and replace multiple instances of the path in each of the aliases of that file. Allowing for custom variables makes it so I can centralize that change to a single json entry.
Checklist
Types of Changes
Proposed Changes
We are storing distro files for DCC's like Maya, Houdini and Nuke in a central location on each workstation(c:\blur\hab\distros). We install these applications in their default locations:
Using a central location for these distro .hab.json files prevents us from having to add multiple glob paths to account for each DCC's install location. We also do our best to leave the dcc directory untouched, and this would require modifying the dcc directory.
If I want to package up the maya .hab.json file and put it on a offsite host that doesn't have maya installed into the default location, I would need to find and replace multiple instances of the path in each of the aliases of that file. Allowing for custom variables makes it so I can centralize that change to a single json entry.