-
Notifications
You must be signed in to change notification settings - Fork 93
staticanalysis/bot: add a text field to enabled checkers to justify their use (e.g. in reviewbot comments) #1481
Comments
hi @jankeromnes , can i take up this bug. I am a newcomer, can you guide me on how to proceed. I am following this guide https://docs.mozilla-releng.net/develop/contribute.html. I have successfully ran these commands. rahul (master) release-services $ sudo ./please shell staticanalysis/bot. But on running this command i am getting an error. i have docker and git installed. |
Hi @rv404674, thanks a lot for your interest! We're so happy that you'd like to help. 😄 I'll do my best to guide you through the process, and if something doesn't make sense to you please never hesitate to ask. The docs at https://docs.mozilla-releng.net/projects/shipit-static-analysis.html have a bit more detail on how to run |
Thanks a lot ,@jankeromnes appreciated. Can you tell me which irc do you use??. And how to connect to you using that. |
Sure! We usually hang out in |
hey @jankeromnes , i have messaged you on irccloud. Can you take a look. |
Hello @rv404674! Regarding: https://usercontent.irccloud-cdn.com/file/s9liug3P/Screenshot%20from%202018-09-26%2002-56-09.png I see the following problems:
(See the docs that we updated yesterday) |
A few helpful pointers for this issue: The YAML file in which we could add a https://hg.mozilla.org/mozilla-unified/raw-file/tip/tools/clang-tidy/config.yaml It is downloaded at runtime by our bot here: release-services/src/staticanalysis/bot/static_analysis_bot/config.py Lines 81 to 95 in f124876
Maybe we could start by adding a Then, to start implementing this field, I suggest that if there exists a
Notes:
Later, when this issue is exported, we'll be able to serialize this |
I would advise to use the official documentation of clang-tidy here in order to argument the checker. Of course we can modify a little bit, but if we are to add some sort of argumentation we should start with the official description of each checker, for example see the description of modernize-use-equals-default. |
Added a text field, to justify use of checkers in reveiwbot comments.
heyy @jankeromnes , i created a PR for this. Sorry if the code looks shitty. |
@rv404674 bravo for this work. I think we will start using that feature more and more with coverity and infer. cc @abpostelnicu |
Thanks @sylvestre |
@rv404674 I'll join @sylvestre in congratulating you on this! Thanks a lot for your time and hard work, you've created a really cool and useful feature. 🙂 👍 🎉 |
Thanks @jankeromnes , i enjoyed a lot in developing this feature. I have stopped contributing for some time to rel eng, due to my placement activities. But once it gets over, i will again start contributing. One more thing, is there any swe internship opputunity available in your team. :) |
It's always ok to stop contributing to a project, especially when we need to spend time on other things (e.g. work, studies, family, health, etc). But we're happy to review more pull requests if you're motivated! 😄 Also, unfortunately I don't think our team is hosting interns this summer, but you can always see Mozilla's current internship offers over here: https://careers.mozilla.org/listings/?position_type=Intern Feel free to apply to any offer that looks fun! |
Hi @sylvestre. I am been an active contributor to releng from last couple of months. I want to work on the project "test automation for linting tools". So can you please tell me more about it . Thanks.:) |
@rv404674 Hello |
I reported this in bugzilla too: https://bugzilla.mozilla.org/show_bug.cgi?id=1539072 |
Hi @sylvestre . Yup there is, but i will not be applying for that project. To be frank i am not interested in testing at all and i found another project in mozilla for which i am greatly excited to to and it is being used by codecoverage - TUID. I hope you won't mind me applying for different project, btw i won't stop contributing to releng in my free time. ;). |
We could for example call this field
reason
(orrationale
/justification
/why
/ ...):This field could then be printed in the output when a related defect is found by
./mach static-analysis check
, and also in code review comments, like so:The text was updated successfully, but these errors were encountered: