News for hackers. Stuff that matters.
Re:Don’t underestimate grep-based code scanning by peterstensmyr on Wednesday August 07, 2019 @06:09PM (#20639691)
Fail verification in CI if the change doesn’t pass your checks. You can check anything, such as whether it has a duplicate name already in the codebase.
Re:Don’t underestimate grep-based code scanning by splittingTimes on Thursday August 08, 2019 @12:07AM (#20641767)
I would be interested to know, which CI tool can check "that each concept has exactly one name throughout the codebase."

I thought code reviews are the only way and then you need to have every Dev aligned and on the same page on this topic... Which never happens. :/

Re:Don’t underestimate grep-based code scanning by peterstensmyr on Thursday August 08, 2019 @07:47PM (#20650096)
It wouldn’t be something provided by the CI tool, you’d have to write the test yourself. At the end of the day it’s just another test, albeit a more complex one than a standard unit test.