[RFC] New ports idea: github / gitorious / bitbucket direct support.

Peter Pentchev roam at ringlet.net
Sun Sep 11 21:50:23 UTC 2011


On Sun, Sep 11, 2011 at 01:01:31PM +0400, Lev Serebryakov wrote:
> Hello, Perryh.
> You wrote 11 сентября 2011 г., 10:05:59:
> 
> > 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:
> 
> % 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) = 7b7c763a9d1d4edca7b5b415ab297fec
> MD5 (test2.tar.gz) = 703ac5387b2bd1146434516f1d761ed9
> % gzip -d test1.tar.gz test2.tar.gz
> % md5 test1.tar test2.tar
> MD5 (test1.tar) = 0ba33aa8ff6bffeeeb2d96efc38eec85
> MD5 (test2.tar) = 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

-- 
Peter Pentchev	roam at ringlet.net roam at FreeBSD.org peter at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20110911/c9737df7/attachment.pgp


More information about the freebsd-ports mailing list