git-multimail: update to release 1.3.0-rc1
The changes are described in CHANGES.
Contributions-by Matthieu Moy <[email protected]>
Contributions-by Stefan Tatschner <[email protected]>
Contributions-by Simon P <[email protected]>
Contributions-by Leander Hasty <[email protected]>
Signed-off-by Matthieu Moy <[email protected]>
---
Not for inclusion, but tests and reviews welcome.
contrib/hooks/multimail/CHANGES | 33 +++ contrib/hooks/multimail/CONTRIBUTING.rst | 17 +- contrib/hooks/multimail/README | 215 +++++++++--------- contrib/hooks/multimail/README.Git | 4 +- contrib/hooks/multimail/doc/customizing-emails.rst | 56 +++++ contrib/hooks/multimail/doc/troubleshooting.rst | 44 ++++ contrib/hooks/multimail/git_multimail.py | 242 ++++++++++++++++++--- contrib/hooks/multimail/post-receive.example | 6 + 8 files changed, 474 insertions(+), 143 deletions(-) create mode 100644 contrib/hooks/multimail/doc/customizing-emails.rst create mode 100644 contrib/hooks/multimail/doc/troubleshooting.rst
contrib/hooks/multimail/CHANGES +33 -0
@@ -1,3 +1,36 @@ +Release 1.3 RC1 +=============== + +* New options multimailhook.htmlInIntro and multimailhook.htmlInFooter + now allow using HTML in the introduction and footer of emails (e.g. + for a more pleasant formatting or to insert a link to the commit on + a web interface). + +* A new option multimailhook.commitBrowseURL gives a simpler (and less + flexible) way to add a link to a web interface for commit emails + than multimailhook.htmlInIntro and multimailhook.htmlInFooter. + +* A new public function config.add_config_parameters was added to + allow custom hooks to set specific Git configuration variables + without modifying the configuration files. See an example in + post-receive.example. + +* Error handling for SMTP has been improved (we used to print Python + backtraces for legitimate errors). + +* The SMTP mailer can now check TLS certificates when the newly added + configuration variable multimailhook.smtpCACerts. + +* Python 3 portability has been improved. + +* The documentation's formatting has been improved. + +* The testsuite has been improved (we now use pyflakes to check for + errors in the code). + +This version has been tested with Python 2.4 and 2.6 to 3.5, and Git +v1.7.10-406-gdc801e7, 2.1.4 and 2.8.1.339.g3ad15fd. + Release 1.2.0 =============
contrib/hooks/multimail/CONTRIBUTING.rst +10 -7
@@ -1,3 +1,6 @@ +Contributing +============ + git-multimail is an open-source project, built by volunteers. We would welcome your help!
@@ -6,9 +9,7 @@ and Matthieu Moy <[email protected]>. Please note that although a copy of git-multimail is distributed in the "contrib" section of the main Git project, development takes place -in a separate git-multimail repository on GitHub: - - https://github.com/git-multimail/git-multimail +in a separate `git-multimail repository on GitHub`_. Whenever enough changes to git-multimail have accumulated, a new code-drop of git-multimail will be submitted for inclusion in the Git
@@ -21,10 +22,12 @@ to the maintainers). Please sign off your patches as per the `Git project practice <https://github.com/git/git/blob/master/Documentation/SubmittingPatches#L234>`__. -General discussion of git-multimail can take place on the main Git -mailing list, - - [email protected] +General discussion of git-multimail can take place on the main `Git +mailing list`_. Please CC emails regarding git-multimail to the maintainers so that we don't overlook them. + + +.. _`git-multimail repository on GitHub`: https://github.com/git-multimail/git-multimail +.. _`Git mailing list`: [email protected]
contrib/hooks/multimail/README +116 -99
448 lines not on this page · raw message
contrib/hooks/multimail/README.Git +2 -2
@@ -6,10 +6,10 @@ website: https://github.com/git-multimail/git-multimail The version in this directory was obtained from the upstream project -on October 11 2015 and consists of the "git-multimail" subdirectory from +on April 27 2016 and consists of the "git-multimail" subdirectory from revision - c0791b9ef5821a746fc3475c25765e640452eaae refs/tags/1.2.0 + b512b8ea5fdc625a6b800da6c7354bd366312857 refs/tags/1.3.0-rc1 Please see the README file in this directory for information about how to report bugs or contribute to git-multimail.
contrib/hooks/multimail/doc/customizing-emails.rst new file +56 -0
56 lines not on this page · raw message
contrib/hooks/multimail/doc/troubleshooting.rst new file +44 -0
44 lines not on this page · raw message
contrib/hooks/multimail/git_multimail.py +207 -35
460 lines not on this page · raw message
contrib/hooks/multimail/post-receive.example +6 -0
@@ -55,6 +55,12 @@ import git_multimail # git-multimail: config = git_multimail.Config('multimailhook') +# Set some Git configuration variables. Equivalent to passing var=val +# to "git -c var=val" each time git is called, or to adding the +# configuration in .git/config (must come before instanciating the +# environment) : +#git_multimail.Config.add_config_parameters('multimailhook.commitEmailFormat=html') +#git_multimail.Config.add_config_parameters(('user.name=foo', '[email protected]')) # Select the type of environment: try:
Signature · 1 line
2.8.1.339.g3ad15fd