Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cuegui] Fix CueGUI version handling and improve error handling #1538

Conversation

ramonfigueiredo
Copy link
Collaborator

@ramonfigueiredo ramonfigueiredo commented Oct 16, 2024

  • Refactored version determination logic in cuegui/cuegui/Constants.py to avoid repetition and improve readability.
  • Improved error handling in __get_version_from_cmd function.
  • Fix errors in cuegui/tests/Constants_tests.py when cuegui.use.custom.version is True
  • Updated displayAbout method in MainWindow.py to explicitly check for OPENCUE_BETA environment variable.

- Refactored version determination logic in Constants.py to avoid repetition and improve readability.
- Improved error handling in _get_version_from_cmd function.
- Fix errors in Constants_tests.py when cuegui.use.custom.version = True
- Centralized default version in a constant.
- Updated displayAbout method in MainWindow.py to explicitly check for OPENCUE_BETA environment variable.
@ramonfigueiredo ramonfigueiredo changed the title Refactor CueGUI version handling and improve error handling [cuegui] Fix CueGUI version handling and improve error handling Oct 16, 2024
@ramonfigueiredo ramonfigueiredo marked this pull request as ready for review October 16, 2024 04:05
@ramonfigueiredo ramonfigueiredo merged commit 0f2c98f into AcademySoftwareFoundation:master Oct 16, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants