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

Re: Bug#823584: [PATCH] Correct top-level directory name in repackaged tarballs



On Sat, 07 May 2016 at 09:04:24 +1000, Ben Finney wrote:
>   * The Debian upstream source is identical to the original, so “.orig”
>     is appropriate in the directory name.
> 
>   * The Debian upstream source should unpack to ‘foo-1.2.3~xyz.orig/’.

If we use upstream's tarball and do not repack it, by definition we don't
get to choose what it unpacks to, because it unpacks to whatever upstream
used! If they're using Autotools, that'll be ${PACKAGE}-${VERSION};
if not, it's usually something similar.

Whatever conventions Debian uses for repacked tarballs need to fit in
around upstreams' non-repacked tarballs. Having the directory inside
foo_1.2.3+repack.orig.tar.gz end with .orig is counter-intuitive,
but it's something that upstreams don't typically do, and is at least
what you might expect from the name of the tarball itself.

I'm not so sure it actually matters enough to be filing bugs about
anyway: if you want to determine whether something is pristine upstream
source, surely you fetch upstream's source and compare it, rather than
looking for traces of Debianness in the orig tarball?

     S


Reply to: