Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 449 - sonarcloud #647

Merged
merged 9 commits into from
Jul 8, 2021
Merged

Issue 449 - sonarcloud #647

merged 9 commits into from
Jul 8, 2021

Conversation

Vescatur
Copy link
Contributor

@Vescatur Vescatur commented Jul 7, 2021

The things changed for sonar are

Disable git shallow copy which ensures that sonar has all the source control management information.
All rules with tag convention are now at severity level blocker.
There are no blocker issues allowed.
Remove rules todo.
Updated the wiki to add sonarlint. https://github.com/utwente-fmt/vercors/wiki/IDE-Import#configure-sonarlint-for-vercors-in-intellij

I am not sure whether this should close #449? I think we should close it and create new issues if we want to make additional changes.

@Vescatur Vescatur temporarily deployed to Default July 7, 2021 08:01 Inactive
testsonar
@Vescatur Vescatur temporarily deployed to Default July 7, 2021 08:11 Inactive
@Vescatur Vescatur temporarily deployed to Default July 7, 2021 08:11 Inactive
@Vescatur Vescatur temporarily deployed to Default July 7, 2021 09:43 Inactive
@Vescatur Vescatur temporarily deployed to Default July 7, 2021 09:44 Inactive
@Vescatur Vescatur temporarily deployed to Default July 7, 2021 09:55 Inactive
@Vescatur Vescatur temporarily deployed to Default July 7, 2021 09:55 Inactive
@Vescatur Vescatur temporarily deployed to Default July 7, 2021 10:24 Inactive
@Vescatur Vescatur temporarily deployed to Default July 7, 2021 10:24 Inactive
@Vescatur Vescatur temporarily deployed to Default July 7, 2021 10:34 Inactive
@Vescatur Vescatur temporarily deployed to Default July 7, 2021 10:34 Inactive
@Vescatur Vescatur temporarily deployed to Default July 7, 2021 10:39 Inactive
@Vescatur Vescatur temporarily deployed to Default July 7, 2021 10:39 Inactive
@sonarcloud
Copy link

sonarcloud bot commented Jul 7, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@Vescatur Vescatur changed the title Issue 449 Issue 449 - sonarcloud Jul 7, 2021
@Vescatur Vescatur marked this pull request as ready for review July 7, 2021 10:54
@bobismijnnaam
Copy link
Contributor

What does sonarcloud need the deep git fetch for? It does roughly 10+ seconds to the process (which doesn't matter in the big picture, but might as well keep an eye on the small gains while we're at it)

@bobismijnnaam
Copy link
Contributor

Besides that, the sonarcloud changes look good, and the wiki too.

@ArmborstL
Copy link
Contributor

ArmborstL commented Jul 7, 2021

FYI: The wiki is actually a separate git repository (even if GitHub displays them together on this website). So that's not really related to this pull request. You can also use the wiki as a git repo (with commits, git log, etc) with the URL you see on the right underneath the sidebar. Or you edit it directly via the web interface.
I looked at the new wiki section about sonarLint. Nice to have that, thanks 🙂 I didn't try to reproduce it (yet), so no comments on the content. Language-wise, there are a few things (e.g. first sentence has "warnings" twice, one of the points says "expect" instead of "except", etc.). I can work on those editorial changes later (probably tomorrow) if you like 🙂

@Vescatur
Copy link
Contributor Author

Vescatur commented Jul 7, 2021

What does sonarcloud need the deep git fetch for? It does roughly 10+ seconds to the process (which doesn't matter in the big picture, but might as well keep an eye on the small gains while we're at it)

Good eye. It will use the extra information when marking a code smell. It specifies who the author is and when it is created. The creation time of an issue is now the moment SonarCloud scans the code in the future this will be the creation time of the commit. If we wanted to I could split the build and the SonarCloud but the ci will be doing duplicate work and only a small performance gain.

@Vescatur
Copy link
Contributor Author

Vescatur commented Jul 7, 2021

FYI: The wiki is actually a separate git repository (even if GitHub displays them together on this website). So that's not really related to this pull request. You can also use the wiki as a git repo (with commits, git log, etc) with the URL you see on the right underneath the sidebar. Or you edit it directly via the web interface.
I looked at the new wiki section about sonarLint. Nice to have that, thanks 🙂 I didn't try to reproduce it (yet), so no comments on the content. Language-wise, there are a few things (e.g. first sentence has "warnings" twice, one of the points says "expect" instead of "except", etc.). I can work on those editorial changes later (probably tomorrow) if you like 🙂

I suppose changes to the wiki and the configuration of sonarcloud do not require a pull request but I thought it was nice if somebody could review it. It is nice that you already caught some mistakes. If you could try the instructions out and work on editorial changes that would be nice.

@bobismijnnaam
Copy link
Contributor

It specifies who the author is and when it is created.

Great, that's a nice benefit, thanks.

@Vescatur Vescatur merged commit d1543f6 into dev Jul 8, 2021
@ArmborstL
Copy link
Contributor

If you could try the instructions out and work on editorial changes that would be nice.

I tried it out and it worked (I expected that maybe I would have issues to get SonarCloud access, but it all worked fine) 🙂
I added some additional info to the wiki section, and did some editorial work (a bit of rephrasing and putting more structure to it). Feel free to change whatever you don't like about it 😉

@Vescatur
Copy link
Contributor Author

If you could try the instructions out and work on editorial changes that would be nice.

I tried it out and it worked (I expected that maybe I would have issues to get SonarCloud access, but it all worked fine) 🙂
I added some additional info to the wiki section, and did some editorial work (a bit of rephrasing and putting more structure to it). Feel free to change whatever you don't like about it 😉

Looks good :)

@pieter-bos pieter-bos deleted the issue-449 branch February 10, 2022 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sonarcloud
3 participants