SYNOPSIS

  /etc/cvs-autoreleasedeb.conf
  $HOME/.cvs-autoreleasedeb/conf

DESCRIPTION

The cvs-autoreleasedeb configuration file is writed in \s-1XML\s0, because \s-1XML\s0 is easy to work with multiple-level data, but it's already in the \s-1TODO\s0 list to use a better format.

As a good \s-1XML\s0 file, this config file has the following header.

<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE cvs-autoreleasedeb [ <!ELEMENT sources (server)+> <!ELEMENT server (package)+> <!ATTLIST server name CDATA #REQUIRED options CDATA #REQUIRED> <!ELEMENT package (option)+> <!ATTLIST package name CDATA #REQUIRED cvsroot CDATA #REQUIRED prefix CDATA #REQUIRED tag CDATA #REQUIRED> <!ELEMENT option EMPTY> <!ATTLIST option name CDATA #REQUIRED value CDATA #REQUIRED> ]>

Which, in fact, tells the structure of the \s-1XML\s0 file. But in the case you don't know \s-1XML\s0, this header tells that, in the sources, you have servers, which have packages, which have options. A server has the \*(L"name\*(R" and the \*(L"option\*(R" properies, a package has \*(L"name\*(R", \*(L"cvsroot\*(R", \*(L"prefix\*(R" and \*(L"tag\*(R" properties and an option has \*(L"name\*(R" and \*(L"value\*(R" property.

Before explaining how the options affects the script, you must know that in the current version, all the tags and properties \s-1MUST\s0 be lowercase (it's already on the \s-1TODO\s0 list).

CONFIGURATION SECTIONS

\$1

This is the master section, tells what server to dupload. Actually, the \*(L"name\*(R" property of the server is used as the \*(L"--to\*(R" parameter to dupload. Packages are declared inside servers. Also, the \*(L"options\*(R" property tells aditional parameters to cvs-buildpackage for every package in this server. The package itself, the \*(L"name\*(R" property is used as the module name for cvs checkout. The \*(L"cvsroot\*(R" property is passed to cvs as the \s-1CVSROOT\s0 and the \*(L"prefix\*(R" is placed before the module name, used if your package is inside some other directory than the cvs root. Optionally, you can inform a tag to checkout the sources from. Specify an option to a package. The following options are accepted and increment the following text to the cvs-buildpackage command: binary-source = 1: \*(L"-b\*(R"

EXAMPLE

In the case you still didn't understand the config file, follows an example:

<server name="intern"> <package name="cvs-autoreleasedeb" cvsroot=":pserver:[email protected]:/var/cvs" prefix=""> </package> <package name="someotherpackage" cvsroot=":pserver:[email protected]:/var/cvs" prefix=""> <option name="binary-source" value="1"/> </package> </server>

RELATED TO cvs-autoreleasedeb.conf…

cvs-buildpackage\|(1), cvs\|(1), cvs-autoreleasedeb\|(1), dupload\|(1)

AUTHOR

This manual page was written by Daniel Ruoso <[email protected]>, for the Debian GNU/Linux system.