Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Ftrack: Show OpenPype versions in event server status #2019

Merged
merged 7 commits into from
Sep 14, 2021

Conversation

iLLiCiTiT
Copy link
Member

@iLLiCiTiT iLLiCiTiT commented Sep 14, 2021

Description

Show OpenPype versions in event server status action for both zip and build. Also show executable path (or path to start.py when running from code).

Changes

  • renamed get_pype_version to get_openpype_version (get_pype_version kept for backwards compatibility of opened PRs)
  • added is_running_from_build function to be able know it openpype is running from code or build
  • added get_build_version which should return version of build even if is not currently running version
  • use new functions to pass information about processes to statuser
  • information about processes are passed as list of lists to keep order
    • statuser was modified to be able handle that situations (require restart of whole event server)

How to test

  • run ftrack event server
  • run OpenPype Admin - Event server Status (...) action
  • all processes should have information about openpype version they're using and main process should have information about executable path (start.py path when running from code)

@iLLiCiTiT iLLiCiTiT self-assigned this Sep 14, 2021
@iLLiCiTiT iLLiCiTiT added module: Ftrack type: enhancement Enhancements to existing functionality labels Sep 14, 2021
@iLLiCiTiT iLLiCiTiT merged commit 0cbcb2d into develop Sep 14, 2021
@mkolar mkolar deleted the feature/ftrack_show_openpype_versions branch September 17, 2021 22:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
module: Ftrack type: enhancement Enhancements to existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants