optittm / bugprediction

A CLI tool to assess the risk of releasing your next version. Can generate a comprehensive dataset for testing your bug prediction models.
MIT License
0 stars 1 forks source link

Feat/issue #27 #51

Closed FredericDymko closed 1 year ago

FredericDymko commented 1 year ago

Feat issue #27

Please review the specification in Issue #27 Also, please refer to the documentation created in /docs/advanced_configuration.md for more information.

The logic for this implementation is handled in the file /utils/restrict_folders.py.

Fix TmpDirCopyFilteredWithEnv crash on include file not found

A crash occurred when an include file was not found. A verification is now made before copying to avoid the crash.

Additionally, a warning is added if all include files are also exclude in the copy process. Another warning is added if all include files do not exist.

Please review the changes and let me know if any further modifications are needed.