Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Sep 2011 00:26:56 +0300
From:      Peter Pentchev <roam@ringlet.net>
To:        Lev Serebryakov <lev@FreeBSD.org>
Cc:        perryh@pluto.rain.com, FreeBSD-Ports@freebsd.org
Subject:   Re: [RFC] New ports idea: github / gitorious / bitbucket direct support.
Message-ID:  <20110911212656.GA2834@straylight.m.ringlet.net>
In-Reply-To: <99834116.20110911130131@serebryakov.spb.ru>
References:  <765103585.20110909143052@serebryakov.spb.ru> <20110909130458.GO31003@azathoth.lan> <4e6b6e3d.58E89hPS0974IMyM%perryh@pluto.rain.com> <20110910071532.GA68847@over-yonder.net> <4e6c4fc7.M6OsWGol0SLyr/IR%perryh@pluto.rain.com> <99834116.20110911130131@serebryakov.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

--a8Wt8u1KmwUX3Y2C
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Sep 11, 2011 at 01:01:31PM +0400, Lev Serebryakov wrote:
> Hello, Perryh.
> You wrote 11 =D1=81=D0=B5=D0=BD=D1=82=D1=8F=D0=B1=D1=80=D1=8F 2011 =D0=B3=
=2E, 10:05:59:
>=20
> > I can't address the non-specific "etc", but I would claim that each
> > of those 3 specific examples is a VCS bug.  Creating a tarball of a
> > particular content set _should_ be a deterministic process:
>  Once again: gzip, for example, has "timestamp" field in header. Try
>  this locally, without any [D]VCS:
>=20
> % mkdir test && echo "one" > test/one.txt && echo "two" > test/two.txt
> % tar czf test1.tar.gz test && sleep 5 && tar czf test2.tar.gz test
> % md5 test1.tar.gz test2.tar.gz
> MD5 (test1.tar.gz) =3D 7b7c763a9d1d4edca7b5b415ab297fec
> MD5 (test2.tar.gz) =3D 703ac5387b2bd1146434516f1d761ed9
> % gzip -d test1.tar.gz test2.tar.gz
> % md5 test1.tar test2.tar
> MD5 (test1.tar) =3D 0ba33aa8ff6bffeeeb2d96efc38eec85
> MD5 (test2.tar) =3D 0ba33aa8ff6bffeeeb2d96efc38eec85
> %

Now try the same with the -n option :)

(and yes, I realize that you are probably aware of this, but so should
 any author of a system that automatically creates compressed tarballs
 out of not-ridigly-structured data)

G'luck,
Peter

--=20
Peter Pentchev	roam@ringlet.net roam@FreeBSD.org peter@packetscale.com
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
No language can express every thought unambiguously, least of all this one.

--a8Wt8u1KmwUX3Y2C
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJObSecAAoJEGUe77AlJ98T0WQQAKHONxdRefY1WfiruVune8qb
MIYhZh0X7biTYiEPmJVomwUWkmfbt2tjJd07+vqtW2vC2RFefZibeFoOgys9hzjD
gZsNafpKiK+UXvpwTa+z5ODDQXM7KD+ld4z60w7/yfXuCR0/m0bCTn034efAsTib
oXi8pl2TeYdR79k7JY88uBkUbtATofoQh8/l3gAiWgfjDbHUozBhwdu7DGxVfHzt
A3HdNCMiJ9ExFHlrhpQEsBYKWhxSVY3sKce+3KhadrCcpu4nVKAQyUaW1BVn6ey5
BxmQxSY+lybPGUaixfvfMtbcCbSPS8NfuGjIstnxnoICy8y47BU2uUWyO98F5x4U
L0Npbyr915f98vq+/ovLG4LGeLfW+N05JMMEquS+5m7hvK3bwpUQWxhLWPQeER83
WkeSQaZ74gdn0ROopbp/7REqDIKxbf+V3+d4I49y546PQeM8hSBSEOAWqYnYsyo1
cw5EjYbBZ1KR/MnD9Vh6WEmqYnSgWTRCtoODuh36U34CFRKk4WjRmypAak/ZQUzj
8mRJcrfA+4zdBG2RTVcSiIws2m92klAn53cCj6uQ97lWp1oRExflI0RCVAQNJ8FD
jdJfHph9DMlVBEOwXCCKLTK9jgFoFuCVQXdxv142xZOsPYsQqG77HsWBlpLoFMcv
iklmggo8Rbuwd1T9pa+0
=0ped
-----END PGP SIGNATURE-----

--a8Wt8u1KmwUX3Y2C--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110911212656.GA2834>