-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Improve issue matching with branch names #3894
Comments
I've made some improvements with the non-prefixed autolinks.
You can see how it works in the new test group I actually don't like the way it's done, it's a bit anti-pattern, but now it works slightly more precisely with non-prefixed keys. I'm not sure if it won't make the detection slower. And it still can not work with 100% precise. I described at least a few cases (in the test file) which we can not definitely associate with an issue In my opinion, we should have a button to de-associate the mismatched issues with the branch. No matter how hard we try to "tune" the autolinks algorithm, the patterns of branch name writing vary greatly from team to team and from user to user. As @sergeibbb suggests, we could add an additional setting for the autolinks that would disable the basic algorithm and allow the user to use their own pattern |
I agree that we should find a good way to allow users to disassociate issues that are inaccurately matched. |
@justinrobots - I tried to do that in scope of the new task #3956 |
The branch for this issue is
release-notes-16-1
and GitLens thinks these two issues (#16
and#1
) are associated but they are not. I suspect the matching algorithm needs to be refined to avoid mismatches like this.The text was updated successfully, but these errors were encountered: