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

[Feature Request]: Easy test of current version of TagStudio #634

Open
3 tasks done
un-pogaz opened this issue Dec 11, 2024 · 0 comments · May be fixed by #635
Open
3 tasks done

[Feature Request]: Easy test of current version of TagStudio #634

un-pogaz opened this issue Dec 11, 2024 · 0 comments · May be fixed by #635
Labels
Type: Refactor Code that needs to be restructured or cleaned up

Comments

@un-pogaz
Copy link

un-pogaz commented Dec 11, 2024

Checklist

  • I am using an up-to-date version.
  • I have read the documentation.
  • I have searched existing issues.

Description

[Forward features for plugins]

Add a easy way to test the current version of TagStudio running (a string is not a handy format)

Solution

Adding a numeric tuple version (see #635)

VERSION_NUMERIC: tuple[int, int, int] = (9, 5, 0) # Major, Minor, Patch

if VERSION_NUMERIC >= (9, 5, 0):
    # is SQL database
else:
    # is JSON database

Alternatives

No response

@un-pogaz un-pogaz added the Type: Enhancement New feature or request label Dec 11, 2024
@un-pogaz un-pogaz linked a pull request Dec 11, 2024 that will close this issue
@CyanVoxel CyanVoxel added Type: Refactor Code that needs to be restructured or cleaned up and removed Type: Enhancement New feature or request labels Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Refactor Code that needs to be restructured or cleaned up
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants