table of contents
other versions
- wheezy-backports 0.4.2-3~bpo70+1
- jessie 0.4.2-4
- testing 0.4.2-12
- unstable 0.4.2-12
darcs-monitor(1) | General Commands Manual | darcs-monitor(1) |
NAME¶
darcs-monitor - Darcs add-on that sends mail about newly pushed changesSYNOPSIS¶
darcs-monitor [ option ... ] email recipient [ email recipient ... ] [ repository ... ]DESCRIPTION¶
darcs-monitor reads one or more darcs(1) repositories and sends email about every change it has not previously sent an email about to the same address. To have darcs-monitor run every time someone pushes to a repository, add the following lines to _darcs/prefs/defaults.- apply posthook darcs-monitor
--charset=charset email recipient [
email recipient ... ]
- %RECIPIENT%
- the email address to which email is sent
- %DIFF%
- the Darcs-provided diff -u of the patch
- %CHANGES%
- a Darcs-provided summary of changes
- %REPO%
- the path to the repository
- %SHORTREPO%
- the final component of the path to the repository
- %AUTHOR%
- the patch author
- %DATE%
- the patch date
- %HASH%
- the patch Darcs hash
- %TITLE%
- the patch name
- %COMMENT%
- the patch comment
OPTIONS¶
- -n, --dry-run
- Do not actually do anything, but do mark it done.
- --darcs-path=FILE
- Provide the location of the darcs(1) executable.
- --darcs-args=ARGS
- Provide additional arguments to darcs(1), separating arguments with commas.
- --use-sendmail[=FILE]
- Use sendmail(1) (either at /usr/sbin/sendmail or at FILE).
- -d, --max-diff=SIZE
- Only include the first SIZE bytes of the diff in the e-mail.
- --charset=CHARSET
- Specify the MIME name of the repository's character set.
- -h, --help
- Show usage.
- --version
- Show version.
EXIT STATUS¶
Success is indicated by 0, failure by any other exit status.FILES¶
- /usr/share/darcs-monitor/default-template
- The default email template. See above for the format.