-
Notifications
You must be signed in to change notification settings - Fork 23
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
Implement ScmProvider.forkDate() #67
Comments
Could you please explain a little bit more what is the expectation/use case? |
Hello, |
I guess you are using the TFVC branches as feature branches, means short to mid living branches. This is unusual according to my experience. But ok. |
I'm not talking about TFVC branches but SonarQube branches. I mean a SQ branch is not related to a TFVC branch. We create a branch on SonarQube that doesn't exist on TFVC. I don't know if this can be a problem. |
But the |
I don't know, I ask the SonarQube support for this. I suspect that this the real issue... |
This is what I expect on my case, where I use a feature branch for short development. I want to be able to spot new code smells (when comparing to my integration branch) while development is undergoing, and before they are integrated.
That's my understanding. |
yes, the forkDate is related to the TFVC branch, I had a look to the ScmProvider documentation |
Hi, it seems we also have the same issue. Our branch scenario is like that in Sonarqube Version 8.9 (build 43852): Do you plan to implement this? Thank you for your time and efforts! |
No, I do not plan to implement this. |
SonarQube 8.4 has added support to use a reference branch for New Code. That requires ScmProvider.forkDate() to be implemented, as discussed at https://community.sonarsource.com/t/compute-new-code-for-branches-using-master-as-reference-on-tfvc/47439.
The text was updated successfully, but these errors were encountered: