EnglishFrenchSpanish

Ad


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

PROGRAM:

NAME


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

SYNOPSIS


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

darcs-monitor -h | --help

darcs-monitor --version

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
... ]
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
substitutions:

%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

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

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.

Use darcs-monitor online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 2
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 3
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 4
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 5
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • 6
    Shadowsocks
    Shadowsocks
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    https://sourceforge.net/projects/shadowsocksgui/.
    It ha...
    Download Shadowsocks
  • More »

Linux commands

Ad