scm-manager
scm-manager copied to clipboard
User and Repository as env variable for hooks
Issue description
I develop a custom hook [1] for Mercurial and Git (experimental). It works for Mercurial really good with SCM-Manager and I tried git now. But it seems SCM-Manager do not provide env['REMOTE_USER'] and env['REPO_NAME'] to a pre-receive hook like it does for Mercurial.
So please add REMOTE_USER and REPO_NAME to git hooks, too.
[1] https://github.com/misery/ExtendedApproval/blob/master/contrib/mercurial_git_push.py
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
🤔