Closed aaltat closed 3 years ago
That's odd because all-contributors/all-contributors#413 was supposedly (recently) fixed. What version of the CLI are you using?
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: https://github.com/MarketSquare/robotframework-browser/issues/814#issuecomment-808869259
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.
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 1) When I example says:
@all-contributors please add vincenzo-gasparo for code
2) ThenCould not find the user vincenzo- on github.
Expected behavior Did expect user to be assed correctly.