[Pkg-virtualbox-devel] Bug#699141: get-orig-source

Dmitry Smirnov onlyjob at debian.org
Sun Jul 20 09:20:46 UTC 2014


On Wed, 2 Jul 2014 11:48:12 Gianfranco Costamagna wrote:
> so now you can run
> ./debian/rules get-orig-source or directly uscan, with exactly the same
> behaviour.
> 
> I think this is the best way, compliant with policy and not breaking the
> existing update procedure.
> 
> I hope you agree, I committed it here
> 
> http://anonscm.debian.org/gitweb/?p=pkg-virtualbox/virtualbox.git;a=commitdi
> ff;h=cb88c2a13a0fe8336831b3d63082fda348c02c4b

I'm sorry to be a pest but this solution is incomplete. When `uscan` can be 
called with usual parameters you may need no "get-orig-source" target in first 
place. I sometimes introduce it in order to help remembering `uscan` arguments 
which I had troubles to recall for a while.
If you decide to use "get-orig-source" then please make sure it is policy 
compliant: it should work when called from any directory, not just from 
current one (e.g. `/path/to/package/debian/rules get-orig-source`); it should 
fetch ceurrent version by default etc. You can find the simplest sample of 
properly working "get-orig-source" here:

    https://wiki.debian.org/onlyjob/get-orig-source

Note $(PKD) variable and how it is passed to `uscan`.

Thank you.

-- 
Best wishes,
 Dmitry Smirnov.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-virtualbox-devel/attachments/20140720/390cd046/attachment.sig>


More information about the Pkg-virtualbox-devel mailing list