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

Lev Serebryakov lev at FreeBSD.org
Sun Sep 11 09:01:43 UTC 2011


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
%



-- 
// Black Lion AKA Lev Serebryakov <lev at FreeBSD.org>



More information about the freebsd-ports mailing list