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

Re: uscan - inherit version number of component from main package (SVN)



On 2023-10-08 Hugh McMaster <hugh.mcmaster@outlook.com> wrote:
[...]
> Try this in your d/watch file:
[...]
> # netpbm-free user guide
> opts="mode=svn, pgpmode=none, \
>   component=userguide" \
>   https://svn.code.sf.net/p/netpbm/code/userguide \
>   HEAD ignore

> ----

> You want to match against HEAD to download the most recent version,
> and specify the 'ignore' keyword to avoid restricting the secondary
> tarball version.

"ignore" was the missing piece. Thanks!

> You'll probably want to adjust the userguide tarball name (not the
> symlink) with filenamemangle.

The default version (netpbm-free-0.0~svn4637.tar.xz) looks as good as
any other static string I can think of. Only $version_found_for_netpbm-free
would be a real (but minimal) improvement, but that seems to be impossible.

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'


Reply to: