r40 - website
Allard Hoeve
hoeve-guest@haydn.debian.org
Wed, 09 Jun 2004 13:20:10 -0600
Author: hoeve-guest
Date: 2004-06-09 13:20:07 -0600 (Wed, 09 Jun 2004)
New Revision: 40
Modified:
website/subversion.pod
Log:
subversion.pod: packages are moved into packages/ dir.
Modified: website/subversion.pod
===================================================================
--- website/subversion.pod 2004-06-09 19:15:42 UTC (rev 39)
+++ website/subversion.pod 2004-06-09 19:20:07 UTC (rev 40)
@@ -125,11 +125,13 @@
svn-inject \
libfile-touch-perl_0.04-1.dsc \
- svn+ssh://user@svn.debian.org/svn/pkg-perl/
+ svn+ssh://user@svn.debian.org/svn/pkg-perl/packages/
You might want to upload your public DSA key to the svn server before
starting this procedure, see hints and tricks below.
+Note: B<Do not forget the /packages/ suffix>.
+
svn-inject will now start doing the following:
=over 4
@@ -151,8 +153,8 @@
release:
svn copy \
- svn+ssh://user@svn.debian.org/svn/pkg-perl/libfile-touch-perl/trunk/ \
- svn+ssh://user@svn.debian.org/svn/pkg-perl/libfile-touch-perl/tags/debian_version_0_04-1
+ svn+ssh://user@svn.debian.org/svn/pkg-perl/packages/libfile-touch-perl/trunk/ \
+ svn+ssh://user@svn.debian.org/svn/pkg-perl/packages/libfile-touch-perl/tags/debian_version_0_04-1
More about tagging later.
@@ -163,7 +165,7 @@
If we would want to checkout a release for building, we would carry
out the following command:
-svn checkout svn://svn.debian.org/pkg-perl/libcgi-safe-perl/trunk/ .
+svn checkout svn://svn.debian.org/pkg-perl/packages/libcgi-safe-perl/trunk/ .
This checks out the trunk in to the current directory. Now, type:
@@ -203,14 +205,14 @@
This is a little trickier than building the trunk. First check out the tag:
- svn co svn://svn.debian.org/pkg-perl/libcgi-safe-perl/tags/debian_version_0_04-1 \
+ svn co svn://svn.debian.org/pkg-perl/packages/libcgi-safe-perl/tags/debian_version_0_04-1 \
libcgi-safe-perl_0.04-1
Now, if we want a full build, we need the sources. Therefore, we have
to sortof hack around some limitations of svn-buildpackage. We need to
add a line to libcgi-safe-perl_0.04-1/.svn/deb-layout:
-upsCurrentUrl=svn://svn.debian.org/pkg-perl/libnet-imap-simple-perl/branches/upstream/0.93
+upsCurrentUrl=svn://svn.debian.org/pkg-perl/packages/libnet-imap-simple-perl/branches/upstream/0.93
This enables svn-buildpackage to find upstream sources correctly.
@@ -236,8 +238,8 @@
It works like this:
svn copy \
- svn://user@svn.debian.org/svn/pkg-perl/libfile-touch-perl/trunk/ \
- svn://user@svn.debian.org/svn/pkg-perl/libfile-touch-perl/tags/debian_version_0.04-1
+ svn://user@svn.debian.org/svn/pkg-perl/packages/libfile-touch-perl/trunk/ \
+ svn://user@svn.debian.org/svn/pkg-perl/packages/libfile-touch-perl/tags/debian_version_0.04-1
You don't need a checkout of the SVN tree to do this. It even works
faster if you don't have one. It can execute these commands over the
@@ -247,7 +249,7 @@
check out the directory you copied earlier.
svn export \
- svn://user@svn.debian.org/svn/pkg-perl/libfile-touch-perl/tags/debian_version_0.04-1 \
+ svn://user@svn.debian.org/svn/pkg-perl/packages/libfile-touch-perl/tags/debian_version_0.04-1 \
libfile-touch_0.04-1
Now, dpkg-buildpackage away!
@@ -258,8 +260,8 @@
You can tag an older revision by using the -r switch:
- svn copy -r 53 svn://.../pkg-perl/libfile-touch-perl/trunk/ \
- svn://.../pkg-perl/libfile-touch-perl/tags/tag_we_forgot
+ svn copy -r 53 svn://.../pkg-perl/packages/libfile-touch-perl/trunk/ \
+ svn://.../pkg-perl/packages/libfile-touch-perl/tags/tag_we_forgot
=head1 6. Upstream upgrade