Bug#423487: export requires build dependencies

2007-05-14 Thread Eddy Petrișor
Peter Eisentraut wrote:
 Package: svn-buildpackage
 Version: 0.6.18
 Severity: normal
 
 It seems that using svn-buildpackage --svn-export requires the build
 dependencies to be satisfied.  I don't think that makes sense.

I agree.

Actually, this dependency issue is not singular to export. It is (was?) needed 
for tag operations.

I think the whole check for features/needs could be redesigned so that a check 
can be done at the begining, but is taken
into account only when needed.

The way I think it could be done is to not fail on the initial checks, but to 
cache the results for the different checks
that are done and only when a requirement needs to be fulfilled do a check on 
the cached result and fail then.


Since code sometimes speaks better, here is some pseudocode:


svnbpinit:
cachedepssatisfied
cachetrunkurldefined
cachetagsurldefined
cacheorigdirexists


svnbptag:
checknopending or die pending modifications
checktagsurldefined or die tags url not defined
dotagstuff

svnbpexport:
if checkusesmerge
checkorigdirdefined or die merge is used, but no orig dir


Comments are welcome

-- 
Regards,
EddyP
=
Imagination is more important than knowledge A.Einstein



signature.asc
Description: OpenPGP digital signature


Bug#423487: export requires build dependencies

2007-05-12 Thread Peter Eisentraut
Package: svn-buildpackage
Version: 0.6.18
Severity: normal

It seems that using svn-buildpackage --svn-export requires the build
dependencies to be satisfied.  I don't think that makes sense.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-k7 (SMP w/1 CPU core)
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages svn-buildpackage depends on:
ii  devscripts  2.10.2   Scripts to make the life of a Debi
ii  file4.20-4   Determines file type using magic
ii  libsvn-perl 1.4.2dfsg1-2 Perl bindings for Subversion
ii  perl5.8.8-7  Larry Wall's Practical Extraction 
ii  subversion  1.4.2dfsg1-2 Advanced version control system
ii  unp 1.0.12   unpack (almost) everything with on
ii  wget1.10.2-2 retrieves files from the web

svn-buildpackage recommends no packages.

-- no debconf information


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