The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

subatom - produce an atom feed from subversion commits

SYNOPSIS

  subatom [-m max] [-o output] [-v viewcvs] REPOSITORY_URL [path ...]

DESCRIPTION

subatom is a small script to produce an Atom feed from subversion commits. You can use this with a feed reader to see new commits to your repository.

The first argument is the URL for your subversion repository. The remaining arguments are paths within the repository for which you would like commit messages. If you don't specify any, it will default to the entire repository.

The -m flag states how many entries you would like in the feed. The default is 30.

If you pass a filename using the -o flag, the output will be written there instead of STDOUT. If the filename already exists then the timestamp will be checked and the new feed will only be written if it actually contains any newer entries. If you will be serving the feed file using a web server, then doing this enables If-Modified-Since to work correctly (ie: feed readers will only download the file if it has actually changed).

You can pass an URL using the -v flag, and subatom will create a link for each commit by appending the revision number to the URL. For example a viewcvs URL might look like this (on the command line).

    http://example.com/viewcvs/svn/?view=rev&rev=

If the URL has question marks or ampersands, don't forget to quote it on the command line. If you don't, the shell will interpret them and probably give some odd looking errors.

If you don't pass in a URL, a link will be automatically made to the first file that changed in this commit.

SEE ALSO

XML::Atom

http://subversion.tigris.org/

AUTHOR

Dominic Mitchell <cpan (at) happygiraffe.net>

COPYRIGHT AND LICENSE

Copyright (C) 2004 by Dominic Mitchell. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.