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

Git::Hooks::Notify to support address generation on the fly #66

Open
mikkoi opened this issue Oct 1, 2020 · 0 comments
Open

Git::Hooks::Notify to support address generation on the fly #66

mikkoi opened this issue Oct 1, 2020 · 0 comments

Comments

@mikkoi
Copy link
Contributor

mikkoi commented Oct 1, 2020

A notify rule is specified as

rule [REFS] [OPTIONS] RECIPIENTS [-- PATHSPECS]

It would be nice if the recipients could also be generated on the fly. For example, I would like to use my .mailmap file because all repo users are listed there anyway. Or any other way to get the user names and email addresses. Would also like to send emails like Firstname Lastname <firstname.lastname@example.com>.

E.g.

rule master --no-merges `perl: system 'cat .mailmap';` /code
rule master --no-merges `sh: cat .mailmap` /code
@mikkoi mikkoi changed the title Git::Hooks::Notify Git::Hooks::Notify to support address generation on the fly Oct 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant