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

Re: jquery debate with upstrea



Hi Joachim,

On Wed, Mar 12, 2014 at 11:02:27PM +0100, Joachim Breitner wrote:
> Hi,
> 
> Am Mittwoch, den 12.03.2014, 18:37 -0300 schrieb Lisandro Damián Nicanor
> Pérez Meyer:
> > > Do you (or anyone) know if it repacks the file consistently? I.e. will
> > > two developers, who both use uscan to get the original tarball for the
> > > same version and with the same File-Excluded get identical results?
> > 
> > IIRC, it uses an invocation of find to do the job, so I guess the answer is 
> > yes.
> 
> it sounded be too good to be true:
> 
> $ rm ../*tar.gz && uscan --download && md5sum ../haskell-ekg_0.3.1.4+dfsg.orig.tar.gz 
> haskell-ekg: Newer version (0.3.1.4) available on remote site:
>   http://hackage.haskell.org/package/ekg-0.3.1.4/ekg-0.3.1.4.tar.gz
>   (local version is 0.3.1.3)
> haskell-ekg: Successfully downloaded updated package ekg-0.3.1.4.tar.gz
>     and removed files from it in haskell-ekg_0.3.1.4+dfsg.orig.tar.gz
> d6af2e99727cfb6abca56d1c5a4d1e92  ../haskell-ekg_0.3.1.4+dfsg.orig.tar.gz
> $ rm ../*tar.gz && uscan --download && md5sum ../haskell-ekg_0.3.1.4+dfsg.orig.tar.gz 
> haskell-ekg: Newer version (0.3.1.4) available on remote site:
>   http://hackage.haskell.org/package/ekg-0.3.1.4/ekg-0.3.1.4.tar.gz
>   (local version is 0.3.1.3)
> haskell-ekg: Successfully downloaded updated package ekg-0.3.1.4.tar.gz
>     and removed files from it in haskell-ekg_0.3.1.4+dfsg.orig.tar.gz
> 9bd7134bb56a093b5f61ba7b710af826  ../haskell-ekg_0.3.1.4+dfsg.orig.tar.gz
> 
> This would be quite annoying in my usual workflow.

I hope you are aware that taring up two byte identical trees usually
does not lead to a byte identical tarball.  This was discussed on
debian-devel several times and the only way to *regenerate* a *given*
tarball is pristine-tar.  So if you use the usual Git workflow your team
mates can obtain a byte identical tarball as you did create.

You are simply expecting the impossible and this is for instance the
same (mis)feature as you get when repackaging an original zip archive.
The only thing Files-Excluded is solving that the *unpackaged* tarball
is byte identical.

Kind regards

      Andreas.

-- 
http://fam-tille.de


Reply to: