OnWorks favicon

darcs-monitor - Online in the Cloud

Run darcs-monitor in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command darcs-monitor that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



darcs-monitor - Darcs add-on that sends mail about newly pushed changes


darcs-monitor [ option ... ] email recipient [ email recipient ... ] [ repository ... ]

darcs-monitor -h | --help

darcs-monitor --version


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

apply posthook darcs-monitor --charset=charset email recipient [ email recipient
... ]
apply run-posthook

In the above, charset should be the MIME charset that patches (including their metadata)
are in, and recipient should be the email address where emails should be sent. You can
specify more than one recipient by repeating the email parameter.

You can also run darcs-monitor from crontab(1) or from the command line. In those cases,
it is easiest to specify the path to the repository on the command line after other
arguments. In fact, you can specify more than one.

By default, mail is sent by calling /usr/sbin/sendmail. Another sendmail (1) binary can
be specified by using a command-line switch.

You can customise the email by providing a template. You should put your own template in
the file _darcs/third-party/darcs-monitor/email-template (you can use other files, but
then you have to specify where it is). In the template you can use the following

the email address to which email is sent

%DIFF% the Darcs-provided diff -u of the patch

a Darcs-provided summary of changes

%REPO% the path to the repository

the final component of the path to the repository

the patch author

%DATE% the patch date

%HASH% the patch Darcs hash

the patch name

the patch comment

Also, in the template, two percent signs in sequence (%%) start a comment that extends to
the end of the current line.


-n, --dry-run
Do not actually do anything, but do mark it done.

Provide the location of the darcs(1) executable.

Provide additional arguments to darcs(1), separating arguments with commas.

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.

Specify the MIME name of the repository's character set.

-h, --help
Show usage.

Show version.


Success is indicated by 0, failure by any other exit status.

Use darcs-monitor online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Library to enable user space
    application programs to communicate with
    USB devices. Audience: Developers, End
    Users/Desktop. Programming Language: C.
    Download libusb
  • 2
    SWIG is a software development tool
    that connects programs written in C and
    C++ with a variety of high-level
    programming languages. SWIG is used with
    Download SWIG
  • 3
    WooCommerce Nextjs React Theme
    WooCommerce Nextjs React Theme
    React WooCommerce theme, built with
    Next JS, Webpack, Babel, Node, and
    Express, using GraphQL and Apollo
    Client. WooCommerce Store in React(
    contains: Products...
    Download WooCommerce Nextjs React Theme
  • 4
    Package repo for ArchLabs This is an
    application that can also be fetched
    It has been hosted in OnWorks in...
    Download archlabs_repo
  • 5
    Zephyr Project
    Zephyr Project
    The Zephyr Project is a new generation
    real-time operating system (RTOS) that
    supports multiple hardware
    architectures. It is based on a
    small-footprint kernel...
    Download Zephyr Project
  • 6
    SCons is a software construction tool
    that is a superior alternative to the
    classic "Make" build tool that
    we all know and love. SCons is
    implemented a...
    Download SCons
  • More »

Linux commands