Sagacify / sonar-scala

Sonarqube plugin for scala analysis
GNU Lesser General Public License v3.0
58 stars 32 forks source link

Sonar-scala plugin for Sonarqube 6.2 #8

Open ssheru opened 7 years ago

ssheru commented 7 years ago

The existing plugin only supports Sonarqube 5.4 series, can you please update this plugin to support Sonarqube v6.2.

Thanks,

carlosmmelo commented 7 years ago

or maybe 6.3

ssheru commented 7 years ago

Inputs from other contributors are also appreciated.

ssheru commented 7 years ago

Any updates on this plugin...

aborsu commented 7 years ago

Updating is proving to be more difficult than planned. There are three instances here.

MichaelZinsmaier commented 7 years ago

Hi guys,

I spend some time updating the scoverage and scalastyle plugin to 6.3 (see the dev branch of my project forks). Both changesets are more or less untested + there are major issues with scoverage ...

see also discussions in both projects

In general I think it would be great to have one "official" Scala Plugin for SonarQube and this projects looks the most complete to me, would love to see you updating to a more recent version.

if you get the job done it might be worth it to contact scala.center@epfl.ch / https://scala.epfl.ch/#open-source that would add a lot of visibility!

best regards Michael

sunilkumarvytla commented 7 years ago

hello I am trying to install the same plugin but I am not able to install it . Can I know the process of installing the plugin ..?

evinhas commented 7 years ago

Hi, have you tried to do using the sonar web app? https://docs.sonarqube.org/display/SONAR/Installing+a+Plugin

Furthermore, you can also put the jar directly in the sonar directory. I've done in this way with success. The path is the $SONAR_HOME/extensions/plugins. You must copy the plugin *.jar directly in that path and restart sonar.

sunilkumarvytla commented 7 years ago

Hello, Thanks for your reply I am using sonarqube 5.4 version and I see that we have to third party plugins if we want to integrate scala with sonarqube. Could you Please help me with this ...?

politrons commented 7 years ago

Hi, far are we to make the plugin compatible with latest Sonarqube versions?. If you guys need any help to make it done, I would be happy to help. Just need to know what need to be investigated to make it works.

pcross616 commented 6 years ago

23 works with 6.5 +

mwz commented 6 years ago

Hi, are there any maintainers interested in reviewing and merging the above PR? @pcross616, in case if there is no interest, would you be able to release a new version from your fork?

aborsu commented 6 years ago

Hello,

I believe (considering the lack of response) this project was abandonned when I left Sagacify. Whoever wants to take it over can simply fork it and publish it on their page (I no longer have access to this repository to transfer ownership.) You can try to write to dev@sagacify.com I would also be happy to help any one willing set up a continuous integration system. Cheers

pcross616 commented 6 years ago

Let me work with my employeer and see about us sponsoring this project since we are very active with scala and sonarcube.

From: Augustin Borsu notifications@github.com Reply-To: Sagacify/sonar-scala reply@reply.github.com Date: Tuesday, January 23, 2018 at 2:57 PM To: Sagacify/sonar-scala sonar-scala@noreply.github.com Cc: Peter Crossley peterc@xley.com, Mention mention@noreply.github.com Subject: Re: [Sagacify/sonar-scala] Sonar-scala plugin for Sonarqube 6.2 (#8)

Hello,

I believe (considering the lack of response) this project was abandonned when I left Sagacify. Whoever wants to take it over can simply fork it and publish it on their page (I no longer have access to this repository to transfer ownership.) You can try to write to dev@sagacify.commailto:dev@sagacify.com I would also be happy to help any one willing set up a continuous integration system. Cheers

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Sagacify/sonar-scala/issues/8#issuecomment-359960238, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAIqKWWfY0RmSqNAjeiU0H6gbGHAmO_Jks5tNmPEgaJpZM4MleZb.

BalmungSan commented 6 years ago

Hello @pcross616,

I would like to thank you for bringing this project into life again, my team and I are in the need of an updated scala plugin for sonar, and your fork of this project is just what we need.

We also see sonarqube-scala-docker from @mwz and we are hoping to see a new release of both projects. (see mwz/sonarqube-scala-docker#2)

But we are having a problem with the scoverage plugin, it seems to be an abandoned project too, since SonarQube dropped support for Widgets the plugin no longer displays the results (see RadoBuransky/sonar-scoverage-plugin#38), we would like to know if it is possible for you to fix that in your fork.

As a side note, @mwz the Scapegoat plugin you use in your docker seems to be dead too, it works relatively well (although some missing rules from the newer version of Scapegoat). It would be great if you fork it too in your next release.

mwz commented 6 years ago

Hi @BalmungSan,

I've released a new version of the plugin from my fork mwz/sonar-scala against SonarQube 6.7.1 LTS (including changes made by @pcross616) and I also updated mwz/sonarqube-scala-docker. I also have an sbt plugin mwz/sbt-sonar which you can use for automation.

Regarding the scoverage plugin, it is integrated into this project now and even though SonarQube dropped support for dashboards & widgets in 6.2, the new Projects page shows coverage metric for each project reported by scoverage, e.g.

dashboard

Try the new version and if you're still experiencing this issue please feel free to open an issue in my fork and I'll be happy to look into it.

Regarding the arthepsy/sonar-scala-extra scapegoat plugin, I'm aware that it is no longer maintained and it's missing some scapegoat rules. I was thinking about rewriting it in Scala and integrating it into my fork of sonar-scala and creating new quality profiles for Scapegoat and ScalaStyle with Scapegoat.

BalmungSan commented 6 years ago

Hi @mwz ,

"I also have an sbt plugin mwz/sbt-sonar which you can use for automation."

Yeah, it’s what my team has been using since the beginning of the project, it’s fantastic.

"I've released a new version of the plugin from my fork mwz/sonar-scala against SonarQube 6.7.1 LTS (including changes made by @pcross616) and I also updated mwz/sonarqube-scala-docker."

I had just look both projects, they are great. I just can't believe you even take the time to migrate the project from Java to Scala, I love it. I will update the plugin in our sonar server just after I finish writing this. (Even if today is my day off, I’m just too much excited about this that I can't wait lol :smile:).

"the new Projects page shows coverage metric for each project reported by scoverage."

After I change the plugin I will scan the project again and see what happens, if the problem persist I will open an issue in your repo right away.

Update The coverage metric still don't works, I will check it more carefully tomorrow in the office, and if the problem persist I will open an issue in your fork.

"Regarding the arthepsy/sonar-scala-extra scapegoat plugin. (...) I was thinking about rewriting it in Scala and integrating into my fork"

Dude, you are the real MVP. :wink:

Finally, I just want to thank you for everything. :relieved: