-
Notifications
You must be signed in to change notification settings - Fork 11
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
Support deprecation of attributes and attribute values #381
Comments
Is there a list anywhere of deprecated/removed features? Or a few examples that I can use for development? |
What motivated this is OMPT tr4 and tr6, which are deprecated in TAU — they’re still available, but we want to warn users that they might be removed in a future release. |
To make sure I have the idea, Do you think it would be sufficient to create a list of deprecated/removed features or should I try to add this in the model attributes? |
Yes, I think that’s basically what we want. We can’t actually remove the deprecated or removed values from the models or new versions of TAU Commander won’t work with existing databases that use those values, so we want to hide them from the help text but still support them for now, with a warning, and when they’re eventually removed, give an error if the user tries to create a new object using the removed value or if they try to run a trial using one. I think it would be best to incorporate this into the model attributes, perhaps as a constraint based on the TAU version |
I've added this feature in b42ad2e. Please take a look and let me know if there are any changes I should make. We just need to add a
|
Some TAU features are deprecated or removed from TAU in certain versions of TAU. TAU Commander should be made aware of deprecated or removed features and specify a warning or error if these are used depending on the version of TAU. Deprecated or removed features should not be listed in the help, but support for deprecated features should be retained so that compatibility with databases containing TAM objects referring to them is maintained.
The text was updated successfully, but these errors were encountered: