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

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   While attempting to use the commits table for a code volume analysis, I 
encountered an unexpected scenario: a portion of the additions in the commits 
table did not match the additions displayed on the GitLab page, especially 
following merge operations. To confirm whether this was an issue with the 
token, I used the same token to write a Python script for verification. The 
results showed that indeed, there are occasional discrepancies between the data 
in the commits table and the data on GitLab.
   
   
![image](https://github.com/apache/incubator-devlake/assets/115983836/f83a6674-75f2-47cc-8991-50e2d24fccf6)
   
![image](https://github.com/apache/incubator-devlake/assets/115983836/af6aad6d-78b0-435c-8634-906a58459a2d)
   
![image](https://github.com/apache/incubator-devlake/assets/115983836/d68377d6-5175-4ce8-8b67-17b3c4b63f5d)
   
   
   ### What do you expect to happen
   
   I hope to minimize these discrepancies as much as possible, as I'm not sure 
if one day they might affect the code volume statistics for an entire 
individual.
   
   ### How to reproduce
   
   First, create a feature branch from the main branch, then commit some code 
on the feature branch. After that, switch back to the main branch and commit 
changes to a different file (ensuring there are no merge conflicts). Finally, 
merge the feature branch back into the main branch. After the merge, click the 
"Collect Data" button to retrieve the commits data from the commits table and 
compare it with the data on GitLab.
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   v1.0.0-beta7@2cc08c7
   
   ### Are you willing to submit 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