-
Notifications
You must be signed in to change notification settings - Fork 228
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
Update .NET ITs results to contain the GitHub URL instead of relative path #7548
Conversation
64d64b5
to
9a70b0e
Compare
regression-test.ps1 - line 337-338
IMO the comment and name are cumbersome to understand. Rather than saying what the function does from a mechanical POV (we can read the code for that...) - what is the functionality of this function? Suggestion: Also, I'd change the comment to something:
|
create-issue-reports.ps1 - In So the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
I verified (sampling) the 68699 modified URLs, out of which 329 are multi-line.
I believe it's good to have the multi-line URLs feature, as it gives a rough impression of the highlighting (even if it's not the fully accurate information, as it's missing columns).
@zsolt-kolbay-sonarsource please give a heads-up to the whole squad when merging this, because everyone will need to rebase their PRs that have changed IT results |
b8887a6
to
d7da7ce
Compare
Kudos, SonarCloud Quality Gate passed! |
Kudos, SonarCloud Quality Gate passed! |
Changes the uri from a relative local path to a clickable url pointing to Github with line numbers.
e.g.
from
"sources\Automapper\src\AutoMapper\Execution\TypeMapPlanBuilder.cs"
to
"https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Automapper/src/AutoMapper/Execution/TypeMapPlanBuilder.cs#L401"
If an issue location spans multiple lines then that range is added to the end of the url:
#L123-126
Review:
Note: The order of the issues can change in a JSON file if one or more of the issue's locations is the
Temporary-Folder
, because these remain unchanged, while all the other locations are converted to urls.