smartshark / smartshark.github.io

Project Homepage
https://smartshark.github.io
Apache License 2.0
2 stars 1 forks source link

Finding the file associated with the SATD commit label #24

Closed shehan closed 3 years ago

shehan commented 3 years ago

Is there a way to determine the source file(s) associated with the commit that has the labels "_documentation_technicaldeptadd" or "_documentation_technicaldeptremove"

I can only think of analyzing the hunk for the presence of the SADT keywords, but this can be performance-intensive. Is there a more optimized approach (i.e., without any regex/nlp)?

atrautsch commented 3 years ago

No there is no other way. The labels are only at the commit level further analysis is required to find single files.

shehan commented 3 years ago

Thanks for the quick reply.