Startrekzky opened a new issue, #6139: URL: https://github.com/apache/incubator-devlake/issues/6139
### 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 DevLake uses hardcoded rules to convert a tool's original statuses or results to domain layer `status` and `result`. This is because most of the tools' statuses and results are quite stable and cannot be customized. However, there might be a case that users are not satisfied with the mapping rules hardcoded in DevLake. And adding `original_status` and `original_result` to CICD entities can address this problem. Users can customize the SQL with these fields, just like the original_type and original_status in table.issues. ### Description There are a few todo items: - [ ] Add `original_status` and `original_result` to all CICD entities: cicd_pipelines, cicd_tasks, cicd_deployments and cicd_deployment_commits - [ ] Use each CI tool's original status as the value of `original_status` - [ ] Use each CI tool's original result as the value of `original_result`. If the CI tool doesn't have a result attribute, leave it empty. - [ ] Update the domain layer schema doc and diagram ### 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]
