Closed j0yu closed 4 years ago
Contribute our in-house, updated Shotgun rez_app_launch hook designed for tk-config-default2.
rez_app_launch
tk-config-default2
Changes made by:
Google Groups discussion: https://groups.google.com/forum/#!topic/rez-config/BSRuFNxBAkk
See Also
Original PR 823 and Issue 822 from official Rez repository Files at last commit of the PR: 2be03b01
To Do After initial release
gh-pages
This hook is executed to launch applications, potentially in a Rez context.
It is NOT official/supported by Shotgun Software, but by third-party contributors
Please note that this requires Rez to be installed as a package, i.e. able to rez env rez, which exposes the Rez Python API.
rez env rez
With a proper Rez installation, you can do this by running rez-bind rez.
rez-bind rez
To keep a copy of the original rez_app_launch.py, there are 2 variants available:
rez_app_launch.py
tk-config-default2 is the latest pipeline configuration style
tk-config-default is the legacy pipeline configuration style
As of writing, the 2 rez_app_launch.py was tested at WWFX UK using rez 2.28.0. Newer rez versions may be tested in the future.
rez
Contribute our in-house, updated Shotgun
rez_app_launch
hook designed fortk-config-default2
.Changes made by:
See Also
Original PR 823 and Issue 822 from official Rez repository Files at last commit of the PR: 2be03b01
To DoAfter initial releaseAuto changelog and release notesTest https://pypi.org/project/changelog-cli/ using in Docker python imageBuild sphinx docs for the hooks onlySee #3Test GitHub actions for setting upgh-pages
This hook is executed to launch applications, potentially in a Rez context.
It is NOT official/supported by Shotgun Software, but by third-party contributors
Please note that this requires Rez to be installed as a package, i.e. able to
rez env rez
, which exposes the Rez Python API.With a proper Rez installation, you can do this by running
rez-bind rez
.To keep a copy of the original
rez_app_launch.py
, there are 2 variants available:tk-config-default2 is the latest pipeline configuration style
rez_app_launch.py
tk-config-default is the legacy pipeline configuration style
rez_app_launch.py
, only updated to keep it functional