Skip to content
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

Can I use igcommit to only validate committer and author names and email addresses? #35

Open
persistanceTube opened this issue Nov 30, 2023 · 1 comment
Assignees
Labels

Comments

@persistanceTube
Copy link

and how can i do that

@kofrezo
Copy link
Contributor

kofrezo commented Nov 30, 2023

Hi @persistanceTube,

What do you want to validate the committer author names and email addresses for

  • Should they all match a certain list of allowed authors (e.g. Tim, Bob, Alice) ?
  • Should they all match a certain domain (e.g. all e-mails must end with *@company.com ?

If you could give some more explanation I could help you guiding to the right starting place.

Right now igcommit only checks that contributors use always the same name and e-mail address and not a mix off e.g. work and private E-Mails. (See CheckContributors)

Depending on what you want it should be easy, depending on your coding skills, to extend the base class CommitListCheck and build what you want :-)

@kofrezo kofrezo self-assigned this Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants