-
Notifications
You must be signed in to change notification settings - Fork 148
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
When contributor name contains a minus sign then allcontributors loses the part after the minus sign #354
Comments
That's odd because all-contributors/all-contributors#413 was supposedly (recently) fixed. |
Interesting, our repository is using AllContributors bot. |
Have you tried doing that with the CLI by any chance? If so, did you also got an error? I've dug a bit deeper and this might be a regression as opposed to a bug (given that it worked for users who used the bot, although that was before it was rewritten). |
I tried from command line and from command line user name was detected correctly. |
Found the PR from our repository where the problem occurs: MarketSquare/robotframework-browser#814 (comment) |
FWIW, it looks like the parsing would work if using "@olga-zm". I added a couple of tests just to see what it would do. |
@mtfoley I see, feel free to submit a PR with your findings. |
@Berkmann18 I actually think you should close the issue and @aaltat should try using the bot with username mentions in the future. The changes introduced by the merged PR #434 for all-contributors/all-contributors#413 was to update the docs to show preceding contributor username with @. I think the docs ought to go one step further and explicitly state that the bot will match the username best if preceded with @ symbol. I'll submit a PR over there. |
What: Added a more explicit note. @-mentioning when using the bot. Should Fix [all-contributors/app#354](all-contributors/app#354) Why: To be a little more explicit that bot will work best with @-mentions. How: Added clarifying note below the note about natural language processing. Checklist: [x] Documentation [x] Ready to be merged [ ] Added myself to contributors table.
See PR #525 |
What: Added a more explicit note. @-mentioning when using the bot. Should Fix [all-contributors/app#354](all-contributors/app#354) Why: To be a little more explicit that bot will work best with @-mentions. How: Added clarifying note below the note about natural language processing. Checklist: [x] Documentation [x] Ready to be merged [ ] Added myself to contributors table.
Describe the bug
If contributor name contains a minus sign, like foo-bar, then allcontributors loses the part after the minus sign. Example foo-bar comes as foo-
To Reproduce
@all-contributors please add vincenzo-gasparo for code
Could not find the user vincenzo- on github.
Expected behavior
Did expect user to be assed correctly.
The text was updated successfully, but these errors were encountered: