On Wed, Jan 04, 2006 at 02:04:11AM +0200, Martin-??ric Racine wrote:
> Package: devscripts
> Version: 2.9.10
> Severity: normal
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I have the following debian/watch:
> 
> *****file*****
> version=3
> http://cip.physik.uni-wuerzburg.de/~vrbehr/cups-pdf/src/cups-pdf_(.*)\.tar\.gz
>  \
>         debian uupdate --no-symlink
> *****file*****
> 
> Running uscan on that nonetheless produces a symlink:

Indeed.  The manpage for uscan says:

   --symlink
          Make orig.tar.gz symlinks  to  any  downloaded  files  if  their
          extensions   are   .tar.gz   or   .tgz,  and  similarly  for  to
          orig.tar.bz2 for the suffixes .tar.gz, .tbz and .tbz2.  (This is
          the default behaviour.)

   --rename
          Instead  of  symlinking,  rename  the  downloaded files to their
          Debian orig.tar.gz names if  their  extensions  are  .tar.gz  or
          .tgz, and similarly for tar.bz2 files.

   --no-symlink
          Don't make these symlinks and don't rename the files.

You have presumably called uscan without the --no-symlink option; the
--no-symlink option to uupdate is too late: the symlink has already
been made by the time uupdate is called.

> *****output*****
> cups-pdf: Newer version (2.0.1) available on remote site:
>   
> http://cip.physik.uni-wuerzburg.de/~vrbehr/cups-pdf/src/cups-pdf_2.0.1.tar.gz
>   (local version is 2.0.0)
> cups-pdf: Successfully downloaded updated package cups-pdf_2.0.1.tar.gz
>     and symlinked cups-pdf_2.0.1.orig.tar.gz to it

Up to here was uscan output.  From here on is uupdate output.

> New Release will be 2.0.1-1.
> - -- Untarring the new sourcecode archive ../cups-pdf_2.0.1.orig.tar.gz
> Success!  The diffs from version 2.0.0-1 worked fine.
> Remember: Your current directory is the OLD sourcearchive!
> Do a "cd ../cups-pdf-2.0.1" to see the new package
> *****output*****
> 
> Getting the desired effect instead required running uscan with the --rename 
> option.

Or using the --no-symlink option to uscan as well as to uupdate.

> Perhaps the man pages and options for both uscan and uupdate need to be 
> updated?

I think that always passing a --no-symlink to uupdate if that is the
action called would fix this problem.  Then you would only need to use
the --no-symlink option with uscan and not with uupdate.

   Julian


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

Reply via email to