[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ next ]

svn-buildpackage - maintaining Debian packages with Subversion
Chapter 5 - Command reference


5.1 svn-inject


5.1.1 NAME

svn-inject - puts a Debian source package into Subversion repository


5.1.2 SYNOPSIS

svn-inject [ options ] <package>.dsc


5.1.3 OPTIONS

-h print this message

-v Make the command verbose

-l Layout type. 1 (default) means package/{trunk,tags,branches,...} scheme, 2 means the {trunk,tags,branches,...}/package scheme. 2 is not implemented yet.

-t Specify the directory where the .orig.tar.gz files are stored on the local machine.

-c number Checkout nothing (0), trunk directory (1) or everything (2) when the work is done.

-o Put only files that are actually touched in the .diff file under the version control. svn-inject creates the file debian/merge-with-upstream in that case.

Note that that svn-inject expects to be executed from the core directory of the Debian-SVN repository (containing trunk/tags/branch directories). Run with -i to force the creation of the default tree.


5.2 svn-buildpackage


5.2.1 NAME

svn-buildpackage - build Debian packages from SVN repository


5.2.2 SYNOPSIS

svn-buildpackage [ OPTIONS ... ] [ OPTIONS for dpkg-buildpackage ]


5.2.3 DESCRIPTION

Builds Debian package within the SVN repository. The source code repository must be in the format created by svn-inject, and this script must be executed from the work directory (trunk/package).

-h , --help Show the help message

--svn-dont-clean Don't run debian/rules clean (default: clean first)

--svn-dont-purge Don't run remove the build directory when the build is done. (Default: wipe after successfull build)

--svn-no-links Don't use file links (default: use where possible)

--svn-ignore-new Don't stop on svn conflicts or new/changed files

--svn-verbose More verbose program output

--svn-tag Final build: Tag, export, build cleanly & make new changelog entry

--svn-lintian Run lintian in the build area when done

--svn-pkg PACKAGE Specifies the package name if executed from TOPDIR

If debian/ is the only directory in the Debian source, or the file debian/merge-with-upstream has been found, svn-buildpackage will extract \&.orig.tar.gz file first and add the Debian files to it.


5.2.4 CONFIGURATION FILE

svn-buildpackage's behaviour can be modified using the file ~/.svn-buildpackage.conf . A documented example can be found in the documentation directory.


5.3 svn-upgrade


5.3.1 NAME

svn-upgrade - upgrade source package from a new upstream revision


5.3.2 SYNOPSIS

svn-upgrade newtarball [ OPTIONS ... ]


5.3.3 DESCRIPTION

svn-upgrade modifies a Debian package source located in a Subversion repository, upgrading it to a new upstream release. The repository filesystem tree must be in the format created by svn-inject.

-V , --version STRING Forces a different upstream version string

-c , ---clean Runs "make clean" and removed the debian/ directory in the new source.

-P , --packagename STRING Forces a different package name

-v , --verbose More verbose program output

-r , --replay-conflicting Extra cleanup run: replaces all conflicting files with upstream versions. Review of "svn status" output before doing that could make sense.

Tarballs must be compressed with gzip or bzip2.


[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ next ]

svn-buildpackage - maintaining Debian packages with Subversion

$LastChangedDate: 2004-03-09 15:48:37 +0100 (Tue, 09 Mar 2004) $

Eduard Bloch