Configuration for svn-autoreleasedeb
The svn-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 svn-autoreleasedeb [ <!ELEMENT sources (server)+> <!ELEMENT server (package)+> <!ATTLIST server name CDATA #REQUIRED options CDATA #REQUIRED> <!ELEMENT package (option)+> <!ATTLIST package name CDATA #REQUIRED svnserver 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"svnserver\*(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).
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 svn-buildpackage for every package in this server. The package itself, the \*(L"name\*(R" property is used as the module name for svn checkout. The \*(L"svnserver\*(R" property is passed to svn and the \*(L"prefix\*(R" is placed before the module name, used if your package is inside some other directory than the svn root. You must inform the tag to checkout the sources from. This tag should be used to point where to get the release from. \*(L"stable\*(R" is a good name for a tag. Specify an option to a package. The following options are accepted and increment the following text to the svn-buildpackage command: binary-source = 1: \*(L"-b\*(R"
In the case you still didn't understand the config file, follows an example:
<server name="intern"> <package name="svn-autoreleasedeb" svnserver="svn://[email protected]:/var/svn" prefix="" tag="trunk"> </package> <package name="someotherpackage" svnserver="svn://[email protected]:/var/svn" prefix="" tag="trunk"> <option name="binary-source" value="1"/> </package> </server>
svn-buildpackage\|(1), svn\|(1), svn-autoreleasedeb\|(1), dupload\|(1)
This manual page was written by Daniel Ruoso <[email protected]>, for the Debian GNU/Linux system.