Differences between revisions 3 and 4
Revision 3 as of 2007-03-17 00:24:23
Size: 1092
Editor: ?Eduard Bloch
Comment:
Revision 4 as of 2007-03-17 00:47:37
Size: 1650
Editor: EddyPetrisor
Comment: more clear info
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
 * store the upstream tarball location in the SVN property svn-bp:origUrl (thins will allow a workflow like the one described in Self:Games/Development/BuildProcess)
 * create debian/svn-deblayout files for all the packages in SVN and store all the URL fields:
   * trunkUrl
   * tagsUrl (use URI for authenticated users)
   * branchesUrl
 * store relative paths in the debian/svn-deblayout file:
 * storing layout information can be done in debian/svn-deblayout or by setting them in subversion properties of the debian/ directory
 * store the following information in the layout information (via svn-bp:* properties of the debian/ directory or debian/svn-deblayout)
   * upstream tarball - layout information origUrl (thins will allow a workflow like the one described in Self:Games/Development/BuildProcess)
   * set all the URL fields:
     * trunkUrl
     * tagsUrl (use URI for authenticated users)
     * branchesUrl
 * specify layout information by using relative paths

== Examples ==

origUrl specification:

{{{
eddy@bounty ~/usr/src/games/trunk/wormux $ svn pl debian/ | grep svn-bp
  svn-bp:origUrl
eddy@bounty ~/usr/src/games/trunk/wormux $ svn pg svn-bp:origUrl debian/
http://pkg-games.alioth.debian.org/tarballs/wormux_0.7.9.orig.tar.gz

}}}

Relative information:
Line 32: Line 49:
svn-buildpackage -d --svn-export
}}}

or

{{{

Abstract

svn-buildpackage is a tool which helps in maintainance of packages with Subversion.

Group maintainance HowTo

Rules:

  • storing layout information can be done in debian/svn-deblayout or by setting them in subversion properties of the debian/ directory
  • store the following information in the layout information (via svn-bp:* properties of the debian/ directory or debian/svn-deblayout)
    • upstream tarball - layout information origUrl (thins will allow a workflow like the one described in Games/Development/BuildProcess)

    • set all the URL fields:
      • trunkUrl
      • tagsUrl (use URI for authenticated users)
      • branchesUrl
  • specify layout information by using relative paths

Examples

origUrl specification:

eddy@bounty ~/usr/src/games/trunk/wormux $ svn pl debian/ | grep svn-bp
  svn-bp:origUrl
eddy@bounty ~/usr/src/games/trunk/wormux $ svn pg svn-bp:origUrl debian/
http://pkg-games.alioth.debian.org/tarballs/wormux_0.7.9.orig.tar.gz

Relative information:

origDir=..
trunkDir=.
buildArea=../build-area

Tricks

Just tag, no dependency checks

svn-buildpackage --svn-tag-only -d

Obtaining the unpacked source package without building

svn-buildpackage -d --svn-export

or

svn-buildpackage -d --svn-builder echo

Development

svn-buildpackage is currently maintained as part of the collab-maint repository. To join the development team, check it out, join the channel #debian-svn-bp on OFTC, subscribe to PTS on [http://packages.qa.debian.org/s/svn-buildpackage.html].