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

   ### 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
   
   As a user, if I remove some data entities while editing the Data Config, I 
would expect that the historical data associated with the removed data entities 
will not be calculated into the metrics. 
   
   For instance, I have selected Source Code Management, Code Review and Issue 
Tracking for my-org/my-repo and its data have been collected for several times. 
Now I want to remove the Code Review entity.
   
   This is probably not a frequent use case, but is important for ensuring the 
accuracy of metrics.
   
   <img width="850" alt="Screen Shot 2023-05-23 at 4 06 21 PM" 
src="https://github.com/apache/incubator-devlake/assets/9535430/baa5a03b-3383-4b50-bd6e-38718fa655c6";>
   
   
   ### Description
   
   Based on the discussion with @Startrekzky and @klesh, we want to separate 
the data of the removed Data Entities from the further calculation of the 
metrics, but not deleting them. The action of deleting historical data will 
still remain in one place at the Data Scope level.
   
   However, the relationship between Data Entities and the 
   
   
   
   ### 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