-
-
Notifications
You must be signed in to change notification settings - Fork 554
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
Error when there's sub-directory under rcs & sccs directory #1422
Comments
@lekhoa88 thank you ++ for this bug report! that's a nasty one alright :| |
Would you care to submit a PR? I think the fix is not to remove the ignore entries, but rather to remove the |
Signed-off-by: Philippe Ombredanne <[email protected]>
Signed-off-by: Philippe Ombredanne <[email protected]>
Signed-off-by: Philippe Ombredanne <[email protected]>
@lekhoa88 This was fixed (a long while agao) by @JonoYang in aboutcode-org/commoncode@641150b |
Fix for aboutcode-org/scancode-toolkit#1422 Signed-off-by: Philippe Ombredanne <[email protected]>
Actually I also pushed some extra fixes in aboutcode-org/commoncode#24 |
Description
When I scan a directory sccs(or rcs) with sub-directory(such as rcs/a), the scan scan fails with keyerror.
Note 1: I've scanned a git directory with .git & it works without error.
Note 2: when I comment out '/rcs' and '/sccs' in src/commoncode/ignore.py, there's no error.
System configuration
For bug reports, it really helps us to know:
Download from release git release page & unzip
The text was updated successfully, but these errors were encountered: