-
Notifications
You must be signed in to change notification settings - Fork 103
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
Refactor, enhance and fix bugs in ScanTemplate #183
Conversation
usually we alias the old names if it's just a name change. |
personally I'm kinda against an alias in this case, just because it will specially make people aware that they're asking for enabled vuln checks. even though there's no real difference between |
I agree with @sgreen-r7's reasoning on not using |
Backwards-incompatible changes (method names and signatures, etc) will be major version so 3.x. |
@jhart-r7 @gschneider-r7 @sgreen-r7 How about adding a deprecated tag to the "alias" and maybe even logging a message? |
The behavior is not quite the same, though, right? So aliasing it with a warning doesn't seem like the best solution. |
Correct. The behavior is not the same. Lets just do 3.x. It is easier and more correct. |
Separately from this PR, we could have another 2.x release that include a deprecation warning for these methods (and any others we plan to change for 3.0). Not sure how useful it is really, but might be a nice gesture. |
I've redone this to make it better for users of this gem and to ease landing, removing the need to go to 3.x for now. After this lands, #184 could be updated to remove the three warnings. |
Looks good. Ship it! |
Refactor, enhance and fix bugs in ScanTemplate
This started off as a simple fix for working with scan templates that didn't have disabled checks, types or categories and turned into more than that. I've: