Race condition in reuse lint
causes unnecessary failures #1121
Open
Description
reuse lint
appears to collect a list of paths to check and then iterate over the collected paths and generate a report for them. If a file is created in time for it to be collected into the list and deleted before its report gets generated, reuse lint
fails. I believe the root cause is the exception raised here:
reuse-tool/src/reuse/report.py
Line 730 in a7896a5
I think this situation should not cause reuse lint
to fail but rather be handled gracefully by simply ignoring files that no longer exist.
Metadata
Assignees
Labels
No labels