All,

Recently, we noted an abrupt drop in Sonar coverage on one of our CCSDK 
repositories, which is mostly Python based.  There had been no code changes in 
about a month that would explain the drop.

Thanks to LF IT and Sonar support, we found that the problem was caused by 
Sonar counting generated source files in the local “build” directory when 
calculating code coverage.   We verified that those files had not been 
inadvertently submitted to Gerrit.

The fix that Sonar suggested is quite simple – just add that directory to the 
project’s .gitignore file by adding the following line:
**/build

I thought it would be helpful to pass this along to the rest of the community 
so that other projects using Python would be aware of the need to add this 
entry to their .gitignore files as well.

Dan

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#20940): https://lists.onap.org/g/onap-discuss/message/20940
Mute This Topic: https://lists.onap.org/mt/73973901/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to