-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Create lgtm config #4213
Create lgtm config #4213
Conversation
.lgtm.yml
Outdated
- exclude: python.d/python_modules/pyyaml2/* | ||
- exclude: python.d/python_modules/pyyaml3/* | ||
queries: | ||
- exclude: cpp/command-line-injection |
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.
don't remove it yet please.
we need this active to file the bug.
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.
applied work-around with #4218
as suggested by github/codeql#199 (comment)
So, @paulfantom you can remove the exclusion for cpp/command-line-injection
@ktsaou Do we also need to exclude |
I think it influences the grade it gives to a project. So, forget about A+ with these in place. Let's do this: LGTM needs some time to process a repo and calculate its grade. The last PRs merged today, are still not processed. So, I suggest to comment out the exclusion and merge this. Currently, the Once we will know our grade, we will decide. Although, to be fare among all projects, this exclusion should not influence the project's grade, or even better |
btw, I can't figure out what the size of the circle of each project is on this page: https://lgtm.com/projects/g/firehol/netdata/context:cpp It is not code size, or stars, or contributors. I can't figure out what it is... Probably PR/commit rate? |
We have some problems which should be fixed and we know about them, that's why there are FIXME comments. For me this means that we shouldn't have A+ grade as grading should be done on current state, not on our aspirations or the fact of us knowing that we are doing sth not in the best way, but we don't know any better yet. |
Here is about circle size: https://help.semmle.com/lgtm-enterprise/user/help/comparing-projects-contributors.html |
Activity—in lines changed, over the revisions analyzed (circle size) |
This actually promotes projects that are not so stable... Stable code means fewer lines changed. |
ok, could you please remove all query exclusions? |
We probably need to add more path classifiers, but this can be also done later. |
Thank you! |
Skeleton for exclusion of files and LGTM tests/queries.
Sparked in #4203