wouldd commented on issue #7193:
URL: 
https://github.com/apache/incubator-devlake/issues/7193#issuecomment-2015169574

   @klesh I don't think we need to relate things by date at all. 
   I think you have a deployment record provided by the webhook where that 
record says 'these are teh commits that were deployed in this deployment'
   I think you have a PR record provided by the azure devops api that says 
'these are the commits that were part of this PR'
   so from ad eployment you can select the commits it deployed and join them to 
the pr commits to find the pr(s) that they were merged in.
   
   So between these you can link all the data required to caluclate cycle time. 
you know exactly which commits where in a deployment and can look up which PR 
those commits were associated with to reference those timings and look up what 
date that commit was originally made to calculate how long it took from that 
point to the point it was deployed.
   
   Why would a deployment commit be linked to all previous deployment commits?


-- 
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