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

ScoverageSensor: Don't prepend project name to sonar.sources #7

Merged
merged 1 commit into from
Feb 27, 2017
Merged

ScoverageSensor: Don't prepend project name to sonar.sources #7

merged 1 commit into from
Feb 27, 2017

Conversation

Gacko
Copy link
Contributor

@Gacko Gacko commented Feb 19, 2017

I already proposed this change to @RadoBuransky but he does not seem to be very active at the moment. So I'll just propose it here, too.

The configuration key for the sources of a single-module project does not contain the project name but this is what's currently happening when the sources path is looked up.

The project name may vary since Sonar Scanner appends the VCS branch name to the project name. So I would have to configure a sources configuration key for every branch while the original sonar.sources configuration key is never used - neither in single- nor in multi-module projects.

This change omits the inclusion of the project name into the sources path lookup.

@Gacko Gacko changed the title ScoverageSensor: Do not prepend project name for getting sources. ScoverageSensor: Don't prepend project name to sonar.sources Feb 19, 2017
@aborsu
Copy link
Contributor

aborsu commented Feb 20, 2017

@Gacko hello, I'll have a look later today.

@Gacko
Copy link
Contributor Author

Gacko commented Feb 24, 2017

Any progress on this?

@Gacko
Copy link
Contributor Author

Gacko commented Feb 27, 2017

ping

@aborsu
Copy link
Contributor

aborsu commented Feb 27, 2017

Hello,

Sorry for the delay and LGTM, it just took a while for me to find the 30 minutes to understand all the implications of this change :)

@aborsu aborsu merged commit 4f7bdcf into Sagacify:master Feb 27, 2017
@Gacko
Copy link
Contributor Author

Gacko commented Feb 28, 2017

Ah, fine. Thank you :)

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.

2 participants