Closed mmattbtw closed 3 years ago
Thanks for opening your first issue here! Be sure to follow the issue template!
Everything looks good :thumbsup:
Really a good feature.
I will do this in the next release.@mmattbtw
@mmattbtw Hi, I have added this feature in v0.2.0, you can try and test if this feature works as expected.
Again thank you for proposing this new feature.
@BobAnkh didn't work for me on my repo, but I think #47 will fix it
@mmattbtw I will see how you fix it in #47, to see if I can do this work.
@mmattbtw Is this probably because that you specify an incorrect name for those accounts? I add debug log in the recent commits so that it will print all the contributors' names in the log.
e.g. @codacy-badger has the name Codacy Badger
, and @renovate-bot has the name WhiteSource Renovate
Could you please see if you specify the correct name of those accounts?
@mmattbtw Is this probably because that you specify an incorrect name for those accounts? I add debug log in the recent commits so that it will print all the contributors' names in the log.
Could you please see if you specify the correct name of those accounts?
This log will be like that:
Wait, are you supposed to add the display name? or the username
Well here we use display name, for we are showing it in the contributors' list 🤣
It seems that Github doesn't provide a good api to extract username? This is why I only support display name.
If you have a better idea on this issue, please tell me~
Ah ok, I would just make sure you say something in the README.md that IGNORED_CONTRIBUTORS take display names and not usernames, other then that it looks good to me :]
Ah ok, I would just make sure you say something in the README.md that IGNORED_CONTRIBUTORS take display names and not usernames, other then that it looks good to me :]
@mmattbtw I update the readme file with a new NOTE.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue.
Is your feature request related to a problem? Please describe
Yes, some bot accounts (like @renovate-bot and @codacy-badger) show up in the contributors.
Description of the new feature/enhancement
Add a parameter so you can pass in a list of users to ignore.
Proposed technical implementation details (optional)
https://github.com/BobAnkh/add-contributors/blob/00b1222651ba056f977cf3ae40972812fdec4bbf/main.py#L81 After this line, you could simply just do