incubator-devlake icon indicating copy to clipboard operation
incubator-devlake copied to clipboard

feat: gerrit python plugin

Open matrixji opened this issue 1 year ago • 6 comments

Summary

Provide a Python/plugin for support collecting data from Gerrit.

Does this close any open issues?

Closes #5871

Screenshots

image

Snip20240111_1

Snip20240111_2

Other Information

This is a WIP PR, currently, I use this code for collecting Gerrit changes/commits from the Gerrit server. If possible, I hope this could be merged into the master, I'm not sure if Python's plugin could provide full ability as the Golang's plugin does, Any comments are welcome.

matrixji avatar Jan 11 '24 02:01 matrixji

Looping @klesh @Startrekzky may also interested

matrixji avatar Jan 24 '24 02:01 matrixji

Does this support all gerrit versions?

d4x1 avatar Jan 24 '24 03:01 d4x1

Does this support all gerrit versions?

Not sure, we're using v3.4.3 and I've done some UT in code with the https://gerrit.onap.org/r (V3.7.2)

matrixji avatar Jan 24 '24 06:01 matrixji

Excellent stuff @matrixji . Since not many contributors know Python, it might take some take to review and merge the PR.

Startrekzky avatar Jan 24 '24 09:01 Startrekzky

The PR is currently marked as DRAFT, is it ready for review?

klesh avatar Jan 31 '24 04:01 klesh

The PR is currently marked as DRAFT, is it ready for review?

Apache-license-header is still not solved, I'll fix it recently and then marked as ready for review.

matrixji avatar Jan 31 '24 04:01 matrixji