Debian upscan

From a maintainer's point of view I need to see when a new upstream version of a package is available. When maintaining a lot of different packages and also working on other stuff one easily forgets to check remote servers frequently, hence, missing new upstream versions.

In the devscripts package the program uscan should do the monitoring. However, for some reason it did not work for me and it also did not support an ftp/http proxy, which is a requirement for me. Hence, I had to develop a similar tool on my own.

Synopsis

  upscan [--config|-c config] [--proxy|-p proxy-path]

Configuration

The configuration is similar to the one in uscan. You can place multiple sources in the same configuration file, which looks like:

manpages ftp://ftp.win.tue.nl/pub/linux-local/manpages/man-pages-(.*)\.tar\.gz 1.60 mail=joey

You can place everything in one line if you like. The four fields have the following meaning:

  1. Name of the package will be used for the second bug header.
  2. Path to the upstream source, where the last component is a regular expression (see perlre) and should place the version in $1. It can either be a HTTP or a FTP URL. The last component will be matched.
  3. The current version. Only more recent versions will be reported. Older versions will be ignored.
  4. The action to be taken. mail=addr means to send a mail to the given address. This is currently the only action supported. More will be ipmlemented on demand.

Source

CVS.

Download.