luoyutong47 opened a new issue, #8577:
URL: https://github.com/apache/incubator-devlake/issues/8577

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and 
found no similar feature requirement.
   
   
   ### Use case
   
   In our workflow, we rely on DevLake’s PR Size metric to understand how much 
code is being changed by pull requests in a given time range. However, 
sometimes PRs include large modifications to non-code files (e.g. .md, .txt, 
.json), which inflates the PR Size metric and makes it harder to evaluate the 
actual code changes.
   
   Our goal is to get a more accurate view of PR Size by excluding file types 
that are not relevant to code complexity or review workload.
   (We are using GitLab as the data source.)
   
   ### Description
   
   It would be helpful if DevLake could support ignoring user-specified file 
types when calculating PR Size:
   - Users can configure a list of file extensions to exclude (e.g. [".md", 
".txt"]).
   - Lines of code changed in these files will not be counted toward PR Size.
   
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to