How do you remove an app from a project's tank collection of apps?
I'd like to have only the apps we use for a particular project present in it's set of tank apps. It's cleaner and easier for maintenance.
Thanks,
Mark
How do you remove an app from a project's tank collection of apps?
I'd like to have only the apps we use for a particular project present in it's set of tank apps. It's cleaner and easier for maintenance.
Thanks,
Mark
Hi Mark,
To remove an app from an environment, currently you need to edit the environment.yml configuration file directly and delete the sections for the app (It may be referenced multiple times, especially in the case of multi-apps). The environment configuration files are found in the <project_root>/config/env directory.
The actual apps themselves reside in the <studio_root>/tank/install/apps/app_store directory. This directory will contain all versions of the apps you have installed from the app_store.
Hope that helps
Alan
Hi Alan,
Thanks!
That worked fine, and I would assume I can remove the unused apps from the project's root and the update scripts won't bother re-installing them, right?
Take care,
Mark
Hi Mark,
Yes, that is correct although they won't do any harm being there and the update will ignore them unless you re-install one in one of your environments.
Thanks
Alan
OK, cool.
Thanks!
Hi
I'm having the same issue i want to remove apps we don't have and put in two different versions of maya.
So far in the folder tank/conf/env/ is no enviroment.yml file but i have a shotgun_shot.yml which says in the description:
This environment controls what items should be shown on the menu in Shotgun for assets.
so i deleted there the apps but they still show up, what i'm doing wrong here ?
Hello Hannes!
Here's some documentation explaining how the menus inside of Shotgun menus are populated by Toolkit menu items (such as Launch maya, Launch nuke etc):
https://support.shotgunsoftware.com/entries/95441317
Basically, your shotgun_XYZ.yml file will control the context menu inside Shotgun for entity type XYZ, where XYZ can be Shot, Asset, Task etc. Please note that the shotgun_task.yml file will control the menu both for tasks belonging to assets and tasks belonging to shots. (this is something we would like to change, so that they can be configured separately).
Once you have launched maya or nuke, a different environment config will be read to figure out which apps and engines to load. This is explained here:
https://support.shotgunsoftware.com/entries/95441317
So in order to remove a menu item from Shotgun, edit the various shotgun_xyz.yml files and if you want to change which apps are running for example inside of Maya or Nuke, typically change the asset_step.yml or shot_step.yml files.
Hope this answers your question!