{"action":"created","issue":{"url":"https://api.github.com/repos/shotgunsoftware/tk-core/issues/415","repository_url":"https://api.github.com/repos/shotgunsoftware/tk-core","labels_url":"https://api.github.com/repos/shotgunsoftware/tk-core/issues/415/labels{/name}","comments_url":"https://api.github.com/repos/shotgunsoftware/tk-core/issues/415/comments","events_url":"https://api.github.com/repos/shotgunsoftware/tk-core/issues/415/events","html_url":"https://github.com/shotgunsoftware/tk-core/pull/415","id":212689426,"number":415,"title":"#41112 Updated list of entity types available on tank command","user":{"login":"pscadding","id":3777228,"avatar_url":"https://avatars3.githubusercontent.com/u/3777228?v=3","gravatar_id":"","url":"https://api.github.com/users/pscadding","html_url":"https://github.com/pscadding","followers_url":"https://api.github.com/users/pscadding/followers","following_url":"https://api.github.com/users/pscadding/following{/other_user}","gists_url":"https://api.github.com/users/pscadding/gists{/gist_id}","starred_url":"https://api.github.com/users/pscadding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pscadding/subscriptions","organizations_url":"https://api.github.com/users/pscadding/orgs","repos_url":"https://api.github.com/users/pscadding/repos","events_url":"https://api.github.com/users/pscadding/events{/privacy}","received_events_url":"https://api.github.com/users/pscadding/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-08T10:02:25Z","updated_at":"2017-03-20T12:49:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/shotgunsoftware/tk-core/pulls/415","html_url":"https://github.com/shotgunsoftware/tk-core/pull/415","diff_url":"https://github.com/shotgunsoftware/tk-core/pull/415.diff","patch_url":"https://github.com/shotgunsoftware/tk-core/pull/415.patch"},"body":"The hard coded list of entity types has been updated to match the list of available entity types that are now provided on new sites.\r\n\r\nThis list of entities is used when running a command such as the following where the entity is provided to tank:\r\n`tank Episode my_episode launch_nuke`\r\n\r\nThis new list was produced by running the following code in ruby on our template site:\r\n`valid_api_entity_types = ShotgunConfig.instance['api3.entity_types']`\r\nThis command shows us all entity types that are available on the site through the api, even if they are not activated/switched on, on the site.\r\n\r\nWhen comparing the new list to the existing list, there were 44 new entity types added (new items listed bellow).\r\n\r\n```\r\n['AssetEpisodeConnection',\r\n     'AssetLevelConnection',\r\n     'AssetLibrary',\r\n     'Blendshape',\r\n     'Camera',\r\n     'Candidate',\r\n     'ClientUser',\r\n     'Cut',\r\n     'CutItem',\r\n     'Delivery',\r\n     'DeliveryTarget',\r\n     'Delivery_sg_assets_Connection',\r\n     'Delivery_sg_shots_Connection',\r\n     'Delivery_sg_versions_Connection',\r\n     'Element',\r\n     'Episode',\r\n     'FilesystemLocation',\r\n     'Launch',\r\n     'Level',\r\n     'MocapPass',\r\n     'MocapSetup',\r\n     'MocapTake',\r\n     'MocapTakeRange',\r\n     'Performer',\r\n     'PhysicalAsset',\r\n     'PlaylistShare',\r\n     'PublishEvent',\r\n     'Reel',\r\n     'Release',\r\n     'Revision',\r\n     'Routine',\r\n     'RvLicense',\r\n     'Scene',\r\n     'ShootDay',\r\n     'Shot_sg_animations_Connection',\r\n     'Shot_sg_deliverables_Connection',\r\n     'Slate',\r\n     'SourceClip',\r\n     'TankAction',\r\n     'TankContainer',\r\n     'TemerityNode',\r\n     'Ticket_sg_related_assets_Connection',\r\n     'Tool',\r\n     'WatermarkingPreset']\r\n```\r\nI have also sorted the list alphabetically to make it easier to look over, when viewing the code."},"comment":{"url":"https://api.github.com/repos/shotgunsoftware/tk-core/issues/comments/287749630","html_url":"https://github.com/shotgunsoftware/tk-core/pull/415#issuecomment-287749630","issue_url":"https://api.github.com/repos/shotgunsoftware/tk-core/issues/415","id":287749630,"user":{"login":"pscadding","id":3777228,"avatar_url":"https://avatars3.githubusercontent.com/u/3777228?v=3","gravatar_id":"","url":"https://api.github.com/users/pscadding","html_url":"https://github.com/pscadding","followers_url":"https://api.github.com/users/pscadding/followers","following_url":"https://api.github.com/users/pscadding/following{/other_user}","gists_url":"https://api.github.com/users/pscadding/gists{/gist_id}","starred_url":"https://api.github.com/users/pscadding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pscadding/subscriptions","organizations_url":"https://api.github.com/users/pscadding/orgs","repos_url":"https://api.github.com/users/pscadding/repos","events_url":"https://api.github.com/users/pscadding/events{/privacy}","received_events_url":"https://api.github.com/users/pscadding/received_events","type":"User","site_admin":false},"created_at":"2017-03-20T12:49:22Z","updated_at":"2017-03-20T12:49:22Z","body":"Hi JF\r\n\r\nSorry didn't notice the request in changes, for some reason I didn't receive notification.\r\n\r\nBy chance I happened to notice the bug with the CustomEntity ranges with a client today.\r\nI've updated it to match the correct ranges.\r\n\r\nThanks\r\n\r\nPhil"}}
{"actor":{"display_login":"pscadding"}}