{"thread":{"id":"21358","subject":"[ANNOUNCE] GIT 1.6.5.2","startedAt":"2009-10-26T05:19:27Z","lastAt":"2009-11-11T23:18:51Z","messageCount":6,"participants":["Junio C Hamano","Jakub Narebski","Todd Zullinger"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"125920","messageId":"7vljiypw9s.fsf@alter.siamese.dyndns.org","threadId":"21358","inReplyTo":null,"subject":"[ANNOUNCE] GIT 1.6.5.2","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2009-10-26T05:19:27Z","receivedAt":"2009-10-26T05:19:27Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"The latest maintenance release GIT 1.6.5.2 is available at the\nusual places:\n\n  http://www.kernel.org/pub/software/scm/git/\n\n  git-1.6.5.2.tar.{gz,bz2}\t\t\t(source tarball)\n  git-htmldocs-1.6.5.2.tar.{gz,bz2}\t\t(preformatted docs)\n  git-manpages-1.6.5.2.tar.{gz,bz2}\t\t(preformatted docs)\n\nThe RPM binary packages for a few architectures are found in:\n\n  RPMS/$arch/git-*-1.6.5.2-1.fc9.$arch.rpm\t(RPM)\n\nGIT v1.6.5.2 Release Notes\n==========================\n\nFixes since v1.6.5.1\n--------------------\n\n * Installation of templates triggered a bug in busybox when using tar\n   implementation from it.\n\n * \"git add -i\" incorrectly ignored paths that are already in the index\n   if they matched .gitignore patterns.\n\n * \"git describe --always\" should have produced some output even there\n   were no tags in the repository, but it didn't.\n\n * \"git ls-files\" when showing tracked files incorrectly paid attention\n   to the exclude patterns.\n\nOther minor documentation updates are included.\n\n----------------------------------------------------------------\n\nChanges since v1.6.5.1 are as follows:\n\nAndreas Schwab (1):\n      Work around option parsing bug in the busybox tar implementation\n\nCarlos R. Mafra (1):\n      Makefile: clean block-sha1/ directory instead of mozilla-sha1/\n\nJeff King (2):\n      ls-files: excludes should not impact tracked files\n      document push's new quiet option\n\nJoe Perches (1):\n      git-send-email.perl: fold multiple entry \"Cc:\" and multiple single line \"RCPT TO:\"s\n\nJohannes Sixt (2):\n      Remove a left-over file from t/t5100\n      Mark files in t/t5100 as UTF-8\n\nJonathan Nieder (1):\n      Documentation: describe check-ref-format --branch\n\nJunio C Hamano (4):\n      Fix incorrect error check while reading deflated pack data\n      Do not fail \"describe --always\" in a tag-less repository\n      Fix list of released versions in the toc document\n      GIT 1.6.5.2\n\nMarkus Heidelberg (1):\n      t7800-difftool: fix the effectless GIT_DIFFTOOL_PROMPT test\n\nMatt Kraai (1):\n      Documentation/git-gc.txt: change \"references\" to \"reference\"\n\nNanako Shiraishi (2):\n      git push: remove incomplete options list from help text\n      git push: say that --tag can't be used with --all or --mirror in help text\n\nNasser Grainawi (1):\n      Document `delta` attribute in \"git help attributes\".\n\nPauli Virtanen (1):\n      git-add--interactive: never skip files included in index\n"},{"id":"127377","messageId":"m3ljicsrg0.fsf@localhost.localdomain","threadId":"21358","inReplyTo":"7vljiypw9s.fsf@alter.siamese.dyndns.org","subject":"Re: [ANNOUNCE] GIT 1.6.5.2","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2009-11-11T21:05:26Z","receivedAt":"2009-11-11T21:05:26Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"Junio C Hamano <gitster@pobox.com> writes:\n\n> The RPM binary packages for a few architectures are found in:\n> \n>   RPMS/$arch/git-*-1.6.5.2-1.fc9.$arch.rpm\t(RPM)\n\nI tried to install git from source RPM... and failed:\n\n  $ rpmbuild --rebuild git-1.6.5.2-1.fc11.src.rpm \n  Installing git-1.6.5.2-1.fc11.src.rpm\n  warning: user junio does not exist - using root\n  warning: group junio does not exist - using root\n  error: unpacking of archive failed on file \n    /home/local/builddir/SOURCES/git-1.6.5.2.tar.gz;\n    4afb1f6a: cpio: MD5 sum mismatch\n  error: git-1.6.5.2-1.fc11.src.rpm cannot be installed\n\nError messages are line wrapped for better readibility.\n\nRedownloading the file didn't help\n\n  $ ls -l git-1.6.5.2-1.fc11.src.rpm \n  -rw-r--r--  1 jnareb users 2713416 Oct 26 03:59 git-1.6.5.2-1.fc11.src.rpm\n  $ md5sum git-1.6.5.2-1.fc11.src.rpm \n  9f89a01b65e1b8e8934c3a2252064632  git-1.6.5.2-1.fc11.src.rpm\n\n-- \nJakub Narebski\nPoland\nShadeHawk on #git\n"},{"id":"127386","messageId":"20091111215952.GR31109@inocybe.localdomain","threadId":"21358","inReplyTo":"m3ljicsrg0.fsf@localhost.localdomain","subject":"Re: [ANNOUNCE] GIT 1.6.5.2","fromName":"Todd Zullinger","fromEmail":"tmz@pobox.com","sentAt":"2009-11-11T21:59:52Z","receivedAt":"2009-11-11T21:59:52Z","isPatch":false,"sender":{"key":"tmz@pobox.com","avatar":"https://avatars.githubusercontent.com/u/806319?v=4"},"body":"Jakub Narebski wrote:\n> Junio C Hamano <gitster@pobox.com> writes:\n>\n>> The RPM binary packages for a few architectures are found in:\n>>\n>>   RPMS/$arch/git-*-1.6.5.2-1.fc9.$arch.rpm\t(RPM)\n>\n> I tried to install git from source RPM... and failed:\n>\n>   $ rpmbuild --rebuild git-1.6.5.2-1.fc11.src.rpm\n>   Installing git-1.6.5.2-1.fc11.src.rpm\n>   warning: user junio does not exist - using root\n>   warning: group junio does not exist - using root\n>   error: unpacking of archive failed on file\n>     /home/local/builddir/SOURCES/git-1.6.5.2.tar.gz;\n>     4afb1f6a: cpio: MD5 sum mismatch\n>   error: git-1.6.5.2-1.fc11.src.rpm cannot be installed\n>\n> Error messages are line wrapped for better readibility.\n>\n> Redownloading the file didn't help\n>\n>   $ ls -l git-1.6.5.2-1.fc11.src.rpm\n>   -rw-r--r--  1 jnareb users 2713416 Oct 26 03:59 git-1.6.5.2-1.fc11.src.rpm\n>   $ md5sum git-1.6.5.2-1.fc11.src.rpm\n>   9f89a01b65e1b8e8934c3a2252064632  git-1.6.5.2-1.fc11.src.rpm\n\nIt looks like the kernel.org builders are now using Fedora 11 to\ncreate the packages.  Unfortunately, there were backward-incompatible\nchanges in rpm.  Stronger hashes are now used and older rpm versions\ndo not understand these, leading to the error you got.\n\nI don't know what the process is for creating the rpm's, but if it's\nunder Junio's control, a fix to create packages which can be read by\nolder rpm versions would be to add:\n\n    --define \"_source_filedigest_algorithm md5\" \\\n    --define \"_binary_filedigest_algorithm md5\"\n\nto the rpmbuild invocation.\n\nPerhaps like this (I didn't test this, though the defines are what we\nuse in Fedora to create packages on Fedora >= 11 for building on\nCentOS and older releases):\n\n-- >8 --\nFrom: Todd Zullinger <tmz@pobox.com>\nSubject: [PATCH] Makefile: Ensure rpm packages can be read by older rpm versions\n\nThe kernel.org hosts where the packages are built are now using Fedora\n11, which defaults to sha256 for file digests instead of md5.  Older\nversions of rpm can not handle these packages.  Tell rpmbuild to use md5\nfile digests for better compatibility.\n\nSigned-off-by: Todd Zullinger <tmz@pobox.com>\n---\n Makefile |    5 ++++-\n 1 files changed, 4 insertions(+), 1 deletions(-)\n\ndiff --git a/Makefile b/Makefile\nindex 5d5976f..35f5294 100644\n--- a/Makefile\n+++ b/Makefile\n@@ -1806,7 +1806,10 @@ dist: git.spec git-archive$(X) configure\n \tgzip -f -9 $(GIT_TARNAME).tar\n \n rpm: dist\n-\t$(RPMBUILD) -ta $(GIT_TARNAME).tar.gz\n+\t$(RPMBUILD) \\\n+\t\t--define \"_source_filedigest_algorithm md5\" \\\n+\t\t--define \"_binary_filedigest_algorithm md5\" \\\n+\t\t-ta $(GIT_TARNAME).tar.gz\n \n htmldocs = git-htmldocs-$(GIT_VERSION)\n manpages = git-manpages-$(GIT_VERSION)\n-- \n1.6.5.2\n\n-- \nTodd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nDoes it follow that I reject all authority? Perish the thought. In the\nmatter of boots, I defer to the authority of the boot-maker.\n    -- Mikhail Bakunin\n"},{"id":"127388","messageId":"200911112323.57995.jnareb@gmail.com","threadId":"21358","inReplyTo":"20091111215952.GR31109@inocybe.localdomain","subject":"Re: [ANNOUNCE] GIT 1.6.5.2","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2009-11-11T22:23:56Z","receivedAt":"2009-11-11T22:23:56Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"On Wed, 11 Nov 2009, Todd Zullinger wrote:\n> Jakub Narebski wrote:\n> > Junio C Hamano <gitster@pobox.com> writes:\n> >\n> > > The RPM binary packages for a few architectures are found in:\n> > >\n> > >   RPMS/$arch/git-*-1.6.5.2-1.fc9.$arch.rpm\t(RPM)\n> >\n> > I tried to install git from source RPM... and failed:\n> >\n> >   $ rpmbuild --rebuild git-1.6.5.2-1.fc11.src.rpm\n> >   Installing git-1.6.5.2-1.fc11.src.rpm\n> >   warning: user junio does not exist - using root\n> >   warning: group junio does not exist - using root\n> >   error: unpacking of archive failed on file\n> >     /home/local/builddir/SOURCES/git-1.6.5.2.tar.gz;\n> >     4afb1f6a: cpio: MD5 sum mismatch\n> >   error: git-1.6.5.2-1.fc11.src.rpm cannot be installed\n> >\n> > Error messages are line wrapped for better readibility.\n>\n> It looks like the kernel.org builders are now using Fedora 11 to\n> create the packages.  Unfortunately, there were backward-incompatible\n> changes in rpm.  Stronger hashes are now used and older rpm versions\n> do not understand these, leading to the error you got.\n\nThanks for an information.  \n\nWell, it looks like I would have to use \"make rpm\" to generate RPM\nto install, at least until I finally upgrade my Linux distribution.\n\n-- \nJakub Narebski\nPoland\n"},{"id":"127389","messageId":"7vfx8kn1h7.fsf@alter.siamese.dyndns.org","threadId":"21358","inReplyTo":"20091111215952.GR31109@inocybe.localdomain","subject":"Re: [ANNOUNCE] GIT 1.6.5.2","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2009-11-11T22:25:08Z","receivedAt":"2009-11-11T22:25:08Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Todd Zullinger <tmz@pobox.com> writes:\n\n> I don't know what the process is for creating the rpm's, but if it's\n\nIt is essentially \"make rpm\" at the top directory as you found out.\n\n> under Junio's control, a fix to create packages which can be read by\n> older rpm versions would be to add:\n>\n>     --define \"_source_filedigest_algorithm md5\" \\\n>     --define \"_binary_filedigest_algorithm md5\"\n>\n> to the rpmbuild invocation.\n\nThanks; will try.  Will that have adverse effect when instsalled to FC11\nby the way?\n"},{"id":"127394","messageId":"20091111231851.GT31109@inocybe.localdomain","threadId":"21358","inReplyTo":"7vfx8kn1h7.fsf@alter.siamese.dyndns.org","subject":"Re: [ANNOUNCE] GIT 1.6.5.2","fromName":"Todd Zullinger","fromEmail":"tmz@pobox.com","sentAt":"2009-11-11T23:18:51Z","receivedAt":"2009-11-11T23:18:51Z","isPatch":false,"sender":{"key":"tmz@pobox.com","avatar":"https://avatars.githubusercontent.com/u/806319?v=4"},"body":"Junio C Hamano wrote:\n> Thanks; will try.  Will that have adverse effect when instsalled to\n> FC11 by the way?\n\nNone that I am aware of (aside from using a less secure file digest\nalgorith, of course :).  I've installed packages built that way on\nFedora 12 systems without issue.\n\n-- \nTodd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nBlessed are they who can laugh at themselves for they shall never\ncease to be amused.\n\n"}]}