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

[Feature][SonarQube] Integration SonarQube

Open summergan opened this issue 3 years ago • 9 comments

Search before asking

  • [X] I had searched in the issues and found no similar feature requirement.

Description

I hope to integrate Sonarqube into Devlake. The following data can be obtained:

  1. The rating of individual code
  2. The issues(Bugs/Code Smells/Vulnerabilities) of individual code
  3. The duplications lines of individual code

Use case

The following data can be obtained:

  1. The rating of individual code
  2. The issues(Bugs/Code Smells/Vulnerabilities) of individual code
  3. The duplications lines of individual code

Related issues

N/O

Are you willing to submit a PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

summergan avatar Jun 22 '22 06:06 summergan

Thanks @summergan for the proposal, this is on our roadmap. I have two questions for better understand your use cases:

  1. What kind of metrics do you want to see from SonarQube?
  2. How would you plan to use it after SonarQube is supported?

Thanks again.

Startrekzky avatar Jun 27 '22 14:06 Startrekzky

Hey @Startrekzky I would love to work on a plugin for this, I just have same questions about this.

What kind of metrics do you want to see from SonarQube? How would you plan to use it after SonarQube is supported?

aggmoulik avatar Jul 04 '22 07:07 aggmoulik

@summergan

Thanks @aggmoulik , I'm excited about getting SonarQube supported in Apache DevLake. Let's wait for @summergan 's answer. In the meantime, I'll post the issue to the community to gather more use cases(metrics) and make it more actionable.

By the way, we can discuss under this ticket, but feel free to subscribe to our mailing list by sending a blank email to [email protected]. You can initiate any discussion on this SonarQube plugin or any other topics there, and the whole community could offer help when you need it.

Startrekzky avatar Jul 04 '22 08:07 Startrekzky

image hi, Startrekzky I can get overall code metrics including Bugs, Vulnerabilities, and so on in SonarQube Dashboard. I hope I can get each developer's data。 e.g. Developer A, development of two projects. Here hope can get the total bugs, Bugs, Vulnerabilities, and so on (Maybe can follow up on Dashboard data)

summergan avatar Jul 05 '22 02:07 summergan

Thanks @summergan , this is super helpful. Please take a look. @aggmoulik

Startrekzky avatar Jul 06 '22 02:07 Startrekzky

Hi @aggmoulik , I've collected requirements from the community members and most of the requirements are similar to what @summergan commented above.

Have you started on this ticket? If not, I suggest coming up with the data schema for SonorQube first, since DevLake doesn't have the data schema for a quality-domain tool like SonarQube. You can draw a diagram for SonarQube and put it in the comment section so that we can discuss. This is Apache DevLake's current domain layer schema for your reference.

Startrekzky avatar Jul 28 '22 06:07 Startrekzky

This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.

github-actions[bot] avatar Aug 28 '22 00:08 github-actions[bot]

This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.

github-actions[bot] avatar Sep 05 '22 00:09 github-actions[bot]

@aggmoulik Hi, what's the latest update of this issue?

yumengwang03 avatar Sep 05 '22 13:09 yumengwang03

This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.

github-actions[bot] avatar Oct 06 '22 00:10 github-actions[bot]

This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.

github-actions[bot] avatar Oct 13 '22 00:10 github-actions[bot]

is there any update on this plug-in?

ganeshcpote avatar Nov 21 '22 15:11 ganeshcpote

@aggmoulik hi, how things are going?

mindlesscloud avatar Nov 22 '22 14:11 mindlesscloud

@Startrekzky @hezyin FYI

klesh avatar Nov 24 '22 09:11 klesh

is there any update on this plug-in?

I guess the answer is no, so this might be the one plugin we're going to support in the following season.

Startrekzky avatar Nov 29 '22 11:11 Startrekzky

This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.

github-actions[bot] avatar Dec 30 '22 00:12 github-actions[bot]

This issue had been added to milestone v0.16, someone else will be working on it soon since @aggmoulik hasn't responded for quite a while.

klesh avatar Jan 03 '23 07:01 klesh

This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.

github-actions[bot] avatar Feb 03 '23 00:02 github-actions[bot]

Hi @summergan @aggmoulik @ganeshcpote , SonarQube v8.2+ has been supported in v0.16+, please check the latest tag.

Startrekzky avatar Mar 24 '23 12:03 Startrekzky