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

Bug#873001: [debian-policy] get-orig-source documentation should include a pointer to devref and a minimal example



roucaries bastien <roucaries.bastien+debian@gmail.com> writes:

> you call the rules with something (using shebang or directly) make -f
> somepath/package/debian/rules, uscan need to be excuted on
> somepath/package/.

Oh, I see the edge case this is trying to handle.

I'll be honest: I'm personally more inclined to just drop get-orig-source
entirely than to try to handle special cases like this.  I feel like the
target has outlived its usefulness and it would be better to just enhance
uscan to support repacking scripts.  (And people can still keep the target
if they want; I'm not saying people need to remove it.  I just question
whether it's useful for Policy to bless it and try to standardize it,
since I'm dubious it's an important part of the workflow to try to
standardize.)

But that said, I think your feeling that this should go into dpkg-dev's
makefile fragment is the right one, and then we can put something much
simpler in Policy that assumes the dpkg-dev interface.  That doesn't solve
the problem for packages older than that version of dpkg-dev, but we can
probably just note that.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>


Reply to: