svn-inject - puts a Debian source package into Subversion repository
svn-inject [ options ] <package>.dsc <repository URL>
-h print this message
-v Make the command verbose
-q Hide less important messages.
-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 sets the mergeOnUpstream property automaticaly, see HOWTO.
svn-buildpackage - build Debian packages from SVN repository
svn-buildpackage [ OPTIONS ... ] [ OPTIONS for dpkg-buildpackage ]
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-move When done, move the created files (as listed in .changes) to the parent directory, relativ to the one where svn-buildpackage was started.
--svn-override=var=value,anothervar=value Overrides any config variable that has been autodetected or found in .svn/deb\-layout.
--svn-builder =COMMAND Specifies alternative build command instead of dpkg-buildpackage, eg. debuild, pdebuild... WARNING: shell quotation rules do not apply here, better use wrappers for complex constructs. Using this option may break --svn-lintian and --svn-move functionality.
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.
svn-buildpackage's behaviour can be modified using the file ~/.svn-buildpackage.conf . It is basicaly a list of the long command line options (without leading minus signs), one argument per line (but without quotes embrassing multi-word arguments). WARNING: shell quotation rules do not apply here, better use shell aliases for complex constructs. Example:
svn-builder=dpkg-buildpackage -us -uc -rfakeroot
svn-lintian
svn-no-links
# svn-ignore-new
svn-upgrade - upgrade source package from a new upstream revision
svn-upgrade newtarball [ OPTIONS ... ]
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.
svn-buildpackage - maintaining Debian packages with Subversion
$LastChangedDate: 2004-10-12 11:56:09 +0200 (Di, 12 Okt 2004) $