#git #tool #cli

app amt

Accumulate git-trailers from emails grouped by mail subject

2 releases

Uses old Rust 2015

0.1.1 Oct 7, 2018
0.1.0 Oct 7, 2018

#336 in Email

GPL-2.0 license

11KB
177 lines

amt - accumulate mail trailers

amt is a helper for accumulating git trailers from email threads.

Workflow

It can be used to accumulate git-trailers on a per-patch basis. The suggested workflow is:

  • Save all mails of a mail thread into a new maildir.

  • Run amt /path/to/maildir "<message.id.of.toplevel@mail>"

  • amt outputs each mail subject with all trailers in the following format: '{mail subject, prefix stripped} - {trailer}'. For example:

    Fix Typo - Suggested-by: Heinz Dieter heinz@dieter.mail Fix Typo - Signed-off-by: Main Tainer main@tainer.bdfl Implement feature - Reviewed-By: R. Viewer re@view.er Implement feature - Suggested-By: R. Viewer re@view.er Implement feature - Signed-off-by: Main Tainer main@tainer.bdlf

Dependencies

amt uses git-interpret-trailers for interpreting trailers. It expects it to be in $PATH.

Dependencies are therefor rust and cargo for building and git for runtime.

License

GNU GPLv2.0

Dependencies

~7–15MB
~167K SLoC