lh-l4v/misc/git-commit-emails
Gerwin Klein 75acf19dcd style: pep8 style for python files 2020-03-25 22:42:27 +11:00
..
README licenses: convert license tags to SPDX 2020-03-13 14:38:24 +08:00
commit-email.py style: pep8 style for python files 2020-03-25 22:42:27 +11:00

README

<!--
     Copyright 2020, Data61, CSIRO (ABN 41 687 119 230)

     SPDX-License-Identifier: BSD-2-Clause
-->

This script takes a git repository, fetches any remote patches on the
repository, and then shoots out an email describing any new commits.

This should either be setup in cron to poll a remote repository, or---better
still---be executed by another script when a push event occurs.

One possible way or running it is as follows:

    ./commit-email.py \
        --repo project_name \
        --to mailing.list@example.com \
        --from mailing.list@example.com \
        ./path/to/repo