On Thu, 02 Feb 2012 11:19:30 -0800, Quanah Gibson-Mount quanah@zimbra.com wrote:
--On Thursday, February 02, 2012 10:46 AM +0100 Emmanuel Lecharny elecharny@gmail.com wrote:
emmanuel-lecharnys-MacBook-Pro:openldap-git elecharny$ git archive --format=tar --remote=git-master.openldap.org:~git/git/openldap.git OPENLDAP_REL_ENG_2_4 openldap-2.4.26.tar
This does not build the release. OpenLDAP does use git archive to pick the files for a release, but then untars them, runs build/mkrelease, and tars the result up again.
mkrelease seems to use sha1 and md5 programs from FreeBSD, the Linux utilities I found have different output format.
As for git archive --remote=git://git.openldap.org/openldap.git, man git-daemon says this requires 'git config daemon.uploadarch true'. But since the result differs from a release, it may do more harm than help to enable it. Unless it is set up to create an README.INCOMPLETE-RELEASE file or something.