[Pkg-ocaml-maint-commits] r1426 - trunk/policy

Stefano Zacchiroli zack@costa.debian.org
Fri, 01 Jul 2005 15:59:30 +0000


Author: zack
Date: 2005-07-01 15:59:29 +0000 (Fri, 01 Jul 2005)
New Revision: 1426

Modified:
   trunk/policy/svn-howto
Log:
- clarified some minor issues
- added a Tips section with the some useful aliases


Modified: trunk/policy/svn-howto
===================================================================
--- trunk/policy/svn-howto	2005-07-01 15:52:44 UTC (rev 1425)
+++ trunk/policy/svn-howto	2005-07-01 15:59:29 UTC (rev 1426)
@@ -51,8 +51,8 @@
 
 Place yourself in the directory trunk/packages of your working copy of
 the svn repository. Create a directory with the same name as your
-package (let's say, my-package), and subdirectories "upstream" and
-"trunk".  Put the current upstream tarball in "upstream", and the
+source package (let's say, my-package), and subdirectories "upstream"
+and "trunk".  Put the current upstream tarball in "upstream", and the
 current debian directory with all its relevant files in "trunk". This
 should now look like this:
 
@@ -118,7 +118,7 @@
 dpkg-buildpackage. Hence, basic usage should be something like this
 (from the trunk/packages/my_package/trunk directory) :
 
-svn-buildpackage -rfakeroot-uc -us
+svn-buildpackage -rfakeroot -uc -us
 
 svn-buildpackage will complain when your copy of the debian directory
 is not in sync with the repository. You may use the option
@@ -137,12 +137,16 @@
 version in tags/packages/my_package. The tagging is done directly in the
 svn repository.
 
+Tips
+====
 
+Some useful aliases took from the svn-buildpackage HOWTO:
 
+  alias svn-b='svn-buildpackage -rfakeroot -us -uc --svn-ignore'
+  alias svn-bt='svn-buildpackage -rfakeroot --svn-tag'
 
+The former ("svn-b") is to be used for test builds, while you are
+working on your package; while the latter ("svn-bt") is to be used at
+the end, after you commit your changes and just before uploading a new
+version of the package to the debian archive.
 
- 
-
-
-
-