-
Notifications
You must be signed in to change notification settings - Fork 173
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
Move checkstyle into the sanity_check phase #936
Conversation
Hi, |
Hi @jandegr , I'm not sure I understand your remark so feel free to correct me. In the thread in 725 (which has expanded to more than astyle) there is one request (if I understand it correctly) about having both the C/C++ (astyle) and Java (checkstyle) code style checks done at the same level. One of the issues that got people discouraged by waiting for java style check was #889 for example. Does that makes sense? Thanks |
Hi, Instead of 'expanding' in 725, the original issue is just dropped and 725 is just hijacked for other purposes, and we all know what those are. |
I'm not sure I understand what you mean. The title was"Revisit code style checks" and raised one of the problems that was faced to illustrate one of the frustrations. As I said in that issue I think the astyle issue has been fixed in another PR. Now if you're saying that there's some hidden evil purposes behind the expansion of that I can assure you there's none from my side. Now if there's a problem in 725 maybe we want to treat it there and evaluate here if the proposed change is something that makes sense and that we want. If you feel strong about this change not being the right way to address the |
ah whatever, you protested against checkstyle last year and now I brought it to zero virgule zero issues and blocking without your permission, so sure that will be changed. I am the very last one who will oppose so no need to beat around the bush. |
I'm not sure why people are getting twitchy. We're here to work towards the same goal. @jandegr :
are you referring to the issue being dropped in the discussion or in this pull request? From what I read the intent of this pull request isn't to fix everything that was listed in the issue, but to start working on it. This looks fine to me.
actually I think that @aerostitch is the one who implemented it Now, our current checkstyle/sanity checks is far from perfect. Yesterday I pushed a translation update and it complained about a .c file that I didn't touch. Annoying, but we just need to fix these glitches and soon we'll have a pipeline that will help us enforce and uphold better coding practices and standards. |
No. @jandegr did the implementation and did a great job at it.
@jandegr If you're referring to the heated discussion of last year where I took with less than empathy that I should have the fact that the merge of astyle messed up the work you were doing on checkstyle I'm really sorry. I don't think I properly apologized for that so here it is: my sincere apologies for that. To be honest I think the work you did on checkstyle is really great and I don't want to put it in question, just move it more forward in the build process. I know that this last year discussion ended up with you leaving the org and I think I speak for everybody when I say that we'd really like to have you back in the org full time. You bring way more to the org than I do and if it would help I can stick to the docs migration and not touch the rest. Just let me know. Note: this PR is really not to hijack your work. It's just to put the check of both C and Java on the 1st step to get the detection of issues quicker. |
hi,
thx, but really no need to,really not, was partially caused by bad timing. then for the content itself, they just will come up with any kind of excuse to make it not-blocking anymore as you aready set as a goal in 725, |
Hi, I was proposing to make them I've been working on cleaning up Codefactor when time permitted (and I personally don't mind doing that) but in a lot of PR I've seen people fixing issues shown by Codefactor in the code they were submitting even if it's only optional. Open source is really things we do on our free time so it has to stay fun. That's why I've been worrying about the fact that some PR were abandoned because of frustration on how things work right now and I'm trying to find a good compromise to keep it appealing. Hope that makes sense. Once we've moved the rest of the wiki to readthedocs and been able to figure out what to do with trac I'll try to focus on continuing to cleanup our compilation warnings, then CodeFactor and after that Coverity (or maybe Coverity before CodeFactor we'll see). But don't worry, it's something that I think is important and is not going to be forgotten anytime soon. |
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.
Approve this. Good Work.
Besides, I think we could keep those style checks mandatory, given there is a good to find documentation on how to obey them.
Alas I wouldn't make them block the rest of the build, and I'd make checkstyle a little bit more forgiving. The rules about spacing around language elements like if or "::" are too silly, aren't they? "Astyle alike" is enough for me.
Thanks for the approval. |
I actually pushed the image and tested it, works fine so I'll merge as I updated the circleci to use the new image. |
May I ask if checkstylemain.html is dumped or is it just coincidence, for the record only. https://15831-30791823-gh.circle-artifacts.com/0/reports/checkstyleMain.html |
thx, and to keep my reputation, here's another one |
… for running it (#936) * Move checkstyle into the sanity_check phase * add missing dependency * Switch to the pre-cooked image to avoid installing on every builds
… for running it (#936) * Move checkstyle into the sanity_check phase * add missing dependency * Switch to the pre-cooked image to avoid installing on every builds
Sorry for the late reply I've bee busy. |
… for running it (#936) * Move checkstyle into the sanity_check phase * add missing dependency * Switch to the pre-cooked image to avoid installing on every builds
… for running it (navit-gps#936) * Move checkstyle into the sanity_check phase * add missing dependency * Switch to the pre-cooked image to avoid installing on every builds
Trying to work on #725