-
Notifications
You must be signed in to change notification settings - Fork 1.7k
C++: Remove some unused legacy relations from the DB scheme #7982
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
Conversation
There are a couple of compile errors in
I think we should redefine the private newtype TCopy = MkCopy() // Or whatever
/**
* DEPRECATED: This class is no longer used.
*
* A token block used for detection of duplicate and similar code.
*/
class Copy extends TCopy { ... } and replace body of the predicates that refer to non-existing tables with For CodeQL we have a 6 months deprecation notice. So 6 months from now we can finally delete this code for real! How does that sound? |
Sound like a plan. |
ebab996
to
5e59d99
Compare
Almost LGTM! The QLDoc Check is complaining because we don't have QLDoc on:
I think we can ignore the file QLDoc requirement, but maybe we should add a QLDoc on the And finally, we need to include a change note in https://github.com/github/codeql/tree/main/cpp/ql/src/change-notes. |
I accidentally added an empty line between |
Oh, perfect. |
The change note should be about the deprecation of the classes? |
Also ensure they no longer depend on the removed relations.
Yeah, exactly. |
5e59d99
to
380a2d6
Compare
380a2d6
to
7f4913d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
8919f80
to
7f4913d
Compare
Revert "Merge pull request #7982 from jketema/remove-legacy-relations"
Remove the following legacy relations:
externalData
snapshotDate
duplicateCode
similarCode
tokens
This is similar to the following C# change #7746