[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#466550: Pristine source from upstream VCS repository



Just for the sake of the discussion:
A post-download command can be specified directly in the watch file, which
can be either uupdate, debian/rules get-orig-source, debian/dfsg.sh, or
whatever you want to call.

>From uscan(1):
> Finally, if a third parameter (an action) is given in the watchfile line,
> this is taken as the name of a command, and the command 
>       command --upstream-version version filename
> is executed, using either the original file or the symlink name.  A common
> such command would be  uupdate(1). (Note  that the calling syntax was
> slightly different when using watchfiles without a ‘version=...’ line;
> there the command executed was ‘command filename version’.)  If the
> command is  uupdate, then the --no-symlink option is given to uupdate as a
> first option, since any requested symlinking will already be done by
> uscan.      

Note that the 'version='less part is irrelevant nowadays, as that kind of
watch files should soon be unsupported.

Cheers,
Raphael Geissert



Reply to: