apache / incubator-devlake

Apache DevLake is an open-source dev data platform to ingest, analyze, and visualize the fragmented data from DevOps tools, extracting insights for engineering excellence, developer experience, and community growth.
https://devlake.apache.org/
Apache License 2.0
2.6k stars 528 forks source link

feat: collect Zentao issue-repo-commit from DB #8185

Closed usharerose closed 1 week ago

usharerose commented 2 weeks ago

Summary

Collect issue-repo-commits data from database directly instead of APIs, since APIs have break changes for 18.13 which would not provide revision history.

Collecting data for an issue is with the following steps:

  1. get relevant revisions of an issue from zt_action filtered by action = 'gitcommited', extra stores first-ten characters of complete revision.
  2. get related repository info from zt_repohistory and zt_repo

Does this close any open issues?

No

Screenshots

Include any relevant screenshots here.

Other Information

Any other information that is important to this PR.