Package: svn-buildpackage
Version: 0.6.7
Severity: normal

I decided to use svn-buildpackage on my packages so I tried t svn-inject
all my current sources. However until now I always used "uscan" (package
devscripts) to download new upstream sources and this program keeps 
the old name to the archive but it creates a symlink with a proper name.

Example:
$ ls -l libxml-mini-perl_1.2.8.orig.tar.gz
lrwxrwxrwx  1 rhertzog rhertzog 21 2004-11-07 09:42 
libxml-mini-perl_1.2.8.orig.tar.gz -> XML-Mini-1.2.8.tar.gz

This works fine with all common tools (dpkg-source, dput, etc.)

Now I tried to svn-inject that package and I got this
$ svn-inject libxml-mini-perl_1.2.8-2.dsc 
https://svn.freexian.org:8084/debian/pkg/
cp /home/rhertzog/partages/debian/paquets/XML-Mini-1.2.8.tar.gz 
/home/rhertzog/partages/debian/paquets/tarballs
mkdir -p libxml-mini-perl/branches/upstream
tar -z -x -f /home/rhertzog/partages/debian/paquets/XML-Mini-1.2.8.tar.gz
mv XML-Mini-1.2.8 current
 svn -q import -m"[svn-inject] Installing original source of libxml-mini-perl" 
libxml-mini-perl https://svn.freexian.org:8084/debian/pkg/libxml-mini-perl
 svn -m [svn-inject] Tagging upstream source version of libxml-mini-perl copy 
https://svn.freexian.org:8084/debian/pkg/libxml-mini-perl/branches/upstream/current
 <2 more arguments>
svn: Path 'current' already exists
Command  svn -m [svn-inject] Tagging upstream source version of 
libxml-mini-perl copy 
https://svn.freexian.org:8084/debian/pkg/libxml-mini-perl/branches/upstream/current
 <2 more arguments> failed, how to continue now? [Qri?]:
[...]

The log skips the useful arguments ... but I watches the process list and
the command which fails is mostly:
svn copy .../branches/upstream/current .../branches/upstream/

Checking quickly the source code, I see that $upsVersion was concatenated
at the end of the last arguement. But it looks like $upsVersion is
empty... so this means that svn-inject failed to guess the upstream
version correctly.

Furthermore, in 'tarballs' the program copied archives with the original
name and not the Debian name:
$ ls tarballs/ 
XML-Mini-1.2.8.tar.gz

I'm pretty sure this will create problems later.

Hope this helps. Feel free to ask questions if needed.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages svn-buildpackage depends on:
ii  devscripts                    2.8.14     Scripts to make the life of a Debi
ii  perl                          5.8.4-8    Larry Wall's Practical Extraction 
ii  subversion                    1.1.4-2    advanced version control system (a
ii  subversion-tools              1.1.4-2    assorted tools related to Subversi

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to