{"thread":{"id":"8279","subject":"HTTP trees trailing GIT trees","startedAt":"2007-05-23T14:01:33Z","lastAt":"2007-05-25T12:36:16Z","messageCount":9,"participants":["Panagiotis Issaris","Petr Baudis","Johannes Schindelin","Jakub Narebski"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"43031","messageId":"loom.20070523T154909-285@post.gmane.org","threadId":"8279","inReplyTo":null,"subject":"HTTP trees trailing GIT trees","fromName":"Panagiotis Issaris","fromEmail":"takis.issaris@uhasselt.be","sentAt":"2007-05-23T14:01:33Z","receivedAt":"2007-05-23T14:01:33Z","isPatch":false,"sender":{"key":"takis.issaris@uhasselt.be","avatar":null},"body":"Hi all,\n\nA few days ago I started noticing that my GIT tree cloned through http was\nalways trailing the one which was clone using the git protocol.\n\nWhen pulling both clones to the lastest version I got this:\n\n* Last one when accessed through http:\ncommit dedc2982f2f845357f28dff401fe5df8510c6a8f\nAuthor: benoit <benoit <at> 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>\nDate:   Tue May 22 08:28:32 2007 +0000\n\n* Last one when accessed through git:\ncommit 55d4b9a1d0bb75a085462d4f885301507d8fd082\nAuthor: takis <takis <at> 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>\nDate:   Wed May 23 09:07:57 2007 +0000\n\n\nI reported this to the person who had setup the repository:\nhttp://article.gmane.org/gmane.comp.video.ffmpeg.devel/51151\n\nBut unfortunately, the problem seems to remain.\n\nIs this a known problem, or might this be a bug or misconfiguration?\n\nI am using git version 1.5.2.35.ga334 when using http and git version 1.5.1.3\nwhen using the git protocol.\n\nThe repository is available through http as:\nhttp://git.mplayerhq.hu/ffmpeg\n\nThrough the git protocol:\ngit://git.mplayerhq.hu/ffmpeg\n\nAnd through gitweb:\nhttp://git.mplayerhq.hu/\n\n\nWith friendly regards,\nTakis\n"},{"id":"43032","messageId":"20070523140552.GN4489@pasky.or.cz","threadId":"8279","inReplyTo":"loom.20070523T154909-285@post.gmane.org","subject":"Re: HTTP trees trailing GIT trees","fromName":"Petr Baudis","fromEmail":"pasky@suse.cz","sentAt":"2007-05-23T14:05:52Z","receivedAt":"2007-05-23T14:05:52Z","isPatch":false,"sender":{"key":"pasky@ucw.cz","avatar":"https://avatars.githubusercontent.com/u/18439?v=4"},"body":"  Hi,\n\nOn Wed, May 23, 2007 at 04:01:33PM CEST, Panagiotis Issaris wrote:\n> I reported this to the person who had setup the repository:\n> http://article.gmane.org/gmane.comp.video.ffmpeg.devel/51151\n> \n> But unfortunately, the problem seems to remain.\n> \n> Is this a known problem, or might this be a bug or misconfiguration?\n\n  did any push happenned since the post-update hook was enabled? It\ntakes effect only after the next push. So far,\n\n\thttp://git.mplayerhq.hu/ffmpeg/info/refs\n\nand\n\n\thttp://git.mplayerhq.hu/ffmpeg/refs/heads/master\n\nis still out-of-sync (keeping this in sync is what is the job of the\npost-update hook, or git-update-server-info respectively).\n\n-- \n\t\t\t\tPetr \"Pasky\" Baudis\nStuff: http://pasky.or.cz/\nEver try. Ever fail. No matter. // Try again. Fail again. Fail better.\n\t\t-- Samuel Beckett\n"},{"id":"43034","messageId":"46544B80.90907@uhasselt.be","threadId":"8279","inReplyTo":"20070523140552.GN4489@pasky.or.cz","subject":"Re: HTTP trees trailing GIT trees","fromName":"Panagiotis Issaris","fromEmail":"takis.issaris@uhasselt.be","sentAt":"2007-05-23T14:11:12Z","receivedAt":"2007-05-23T14:11:12Z","isPatch":false,"sender":{"key":"takis.issaris@uhasselt.be","avatar":null},"body":"-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nHi,\n\nPetr Baudis wrote:\n>   Hi,\n> \n> On Wed, May 23, 2007 at 04:01:33PM CEST, Panagiotis Issaris wrote:\n>> I reported this to the person who had setup the repository:\n>> http://article.gmane.org/gmane.comp.video.ffmpeg.devel/51151\n>>\n>> But unfortunately, the problem seems to remain.\n>>\n>> Is this a known problem, or might this be a bug or misconfiguration?\n> \n>   did any push happenned since the post-update hook was enabled? It\n> takes effect only after the next push. So far,\n> \n> \thttp://git.mplayerhq.hu/ffmpeg/info/refs\n> \n> and\n> \n> \thttp://git.mplayerhq.hu/ffmpeg/refs/heads/master\n> \n> is still out-of-sync (keeping this in sync is what is the job of the\n> post-update hook, or git-update-server-info respectively).\n\nYes, I'd think so, as Måns stated that he had enabled the hook on\n2007-05-22 20:43:27. The last commit shown on http://git.mplayerhq.hu/\nthrough gitweb occurred 25 minutes ago (\"Wed, 23 May 2007 13:46:11 +0000\").\n\nThanks for your fast reply.\n\nWith friendly regards,\nTakis\n-----BEGIN PGP SIGNATURE-----\nVersion: GnuPG v1.4.6 (GNU/Linux)\nComment: Using GnuPG with Mozilla - http://enigmail.mozdev.org\n\niD8DBQFGVEuA9kOxLuzz4CkRAkXTAJ9xqbkUO6qF88HwV7GSYnVkV+VRNgCfSr/D\nZPPYBfeD9RpqbXNKwmukObc=\n=wkyo\n-----END PGP SIGNATURE-----\n"},{"id":"43033","messageId":"loom.20070523T161537-175@post.gmane.org","threadId":"8279","inReplyTo":"20070523140552.GN4489@pasky.or.cz","subject":"Re: HTTP trees trailing GIT trees","fromName":"Panagiotis Issaris","fromEmail":"takis.issaris@uhasselt.be","sentAt":"2007-05-23T14:15:51Z","receivedAt":"2007-05-23T14:15:51Z","isPatch":false,"sender":{"key":"takis.issaris@uhasselt.be","avatar":null},"body":"Hi,\n\nPetr Baudis <pasky <at> suse.cz> writes:\n> \n>   Hi,\n> \n> On Wed, May 23, 2007 at 04:01:33PM CEST, Panagiotis Issaris wrote:\n> > I reported this to the person who had setup the repository:\n> > http://article.gmane.org/gmane.comp.video.ffmpeg.devel/51151\n> > \n> > But unfortunately, the problem seems to remain.\n> > \n> > Is this a known problem, or might this be a bug or misconfiguration?\n> \n>   did any push happenned since the post-update hook was enabled? It\n> takes effect only after the next push. So far,\n> \n> \thttp://git.mplayerhq.hu/ffmpeg/info/refs\n> \n> and\n> \n> \thttp://git.mplayerhq.hu/ffmpeg/refs/heads/master\n> \n> is still out-of-sync (keeping this in sync is what is the job of the\n> post-update hook, or git-update-server-info respectively).\n> \n\nYes, I'd think so, as Måns stated that he had enabled the hook on\n2007-05-22 20:43:27. The last commit shown on http://git.mplayerhq.hu/\nthrough gitweb occurred 25 minutes ago (\"Wed, 23 May 2007 13:46:11 +0000\").\n\nThanks for your fast reply.\n\nWith friendly regards,\nTakis\n"},{"id":"43129","messageId":"loom.20070524T142358-608@post.gmane.org","threadId":"8279","inReplyTo":"loom.20070523T161537-175@post.gmane.org","subject":"Re: HTTP trees trailing GIT trees","fromName":"Panagiotis Issaris","fromEmail":"takis.issaris@uhasselt.be","sentAt":"2007-05-24T12:44:45Z","receivedAt":"2007-05-24T12:44:45Z","isPatch":false,"sender":{"key":"takis.issaris@uhasselt.be","avatar":null},"body":"Hi,\n\nPanagiotis Issaris <takis.issaris <at> uhasselt.be> writes:\n> Petr Baudis <pasky <at> suse.cz> writes:\n> > On Wed, May 23, 2007 at 04:01:33PM CEST, Panagiotis Issaris wrote:\n> > > I reported this to the person who had setup the repository:\n> > > http://article.gmane.org/gmane.comp.video.ffmpeg.devel/51151\n> > > \n> > > But unfortunately, the problem seems to remain.\n> > > \n> > > Is this a known problem, or might this be a bug or misconfiguration?\n> > \n> >   did any push happenned since the post-update hook was enabled? It\n> > takes effect only after the next push. So far,\n> > \n> > \thttp://git.mplayerhq.hu/ffmpeg/info/refs\n> > \n> > and\n> > \n> > \thttp://git.mplayerhq.hu/ffmpeg/refs/heads/master\n> > \n> > is still out-of-sync (keeping this in sync is what is the job of the\n> > post-update hook, or git-update-server-info respectively).\n> > \n> \n> Yes, I'd think so, as Måns stated that he had enabled the hook on\n> 2007-05-22 20:43:27. The last commit shown on http://git.mplayerhq.hu/\n> through gitweb occurred 25 minutes ago (\"Wed, 23 May 2007 13:46:11 +0000\").\n> \n> Thanks for your fast reply.\n\nI've checked both protocols from the same network now, unfortunately\nwithout any improvements.\n\nFurthermore, I've also started tracing, hoping to figure out what\nthe problem might be (or getting a hint from someone regarding\nthe possible cause).\n\nThe host which is involved:\nnslookup 213.144.138.186\n186.138.144.213.in-addr.arpa    name = natsuki.mplayerhq.hu\n\nParts of the trace -f:\n...\nconnect(4, {sa_family=AF_INET, sin_port=htons(80),\nsin_addr=inet_addr(\"213.144.138.186\")}, 16) = -1 EINPROGRESS \n(Operation now in progress)\n...\nsend(4, \"GET /ffmpeg/info/refs HTTP/1.1\\r\\n\nUser-Agent: curl/7.15.5\n(i486-pc-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8c zlib/1.2.3\nlibidn/0.6.5\\r\\n\nHost: git.mplayerhq         .hu\\r\\nAccept: */*\\r\\nPragma:\nno-cache\\r\\n\\r\\n\", 188, MSG_NOSIGNAL) = 188\n...\nrecv(4, \"HTTP/1.1 200 OK\\r\\nDate: Thu, 24 May 2007 12:27:05 GMT\\r\\n\nServer: Apache/2.2.3 (Debian) mod_python/3.2.10 Python/2.4.4\\r\\n\nLast-Modified:  Thu, 24 May 2007          04:25:50 GMT\\r\\n\nETag: \\\"2c01f-79-ad720f80\\\"\\r\\nAccept-Ranges:\nbytes\\r\\nContent-Length: 121\\r\\nContent-Type:\ntext/plain\\r\\n\\r\\nc30fa83981290671ed972835297fbe93ef9d1e58\\t\nrefs/heads/master\\nc30fa83981290671ed972835297fbe93ef9d1e58\\t\nrefs/remotes/git-svn\\n\",\n16384, MSG_NOSIGNAL) = 381\n\n\nSo, we're asking for /ffmpeg/info/refs, and the server is \nreturning c30fa8391812..., but, using GitWeb one can see \nthat c30fa839812... is  not the last commit, this one is:\nhttp://git.mplayerhq.hu/?p=ffmpeg;a=commit;\nh=47d7dcb5a7d89f413064e7ef1b54d77e59fb8375\n\n\nWhen using the git protocol, the trace shows this:\n...\nconnect(3, {sa_family=AF_INET, sin_port=htons(9418),\nsin_addr=inet_addr(\"213.144.138.186\")}, 16) = 0\ndup(3)                            = 4\nwrite(4, \"0032git-upload-pack /ffmpeg\\0host=git.mplayerhq.hu\\0\",\n50) = 50\nread(3, \"007c\", 4)                = 4\nread(3, \"47d7dcb5a7d89f413064e7ef1b54d77e59fb8375 HEAD\\0multi_ack\nthin-pack side-band side-band-64k ofs-delta shallow no-progress\\n\",\n120) = 120\nread(3, \"003f\", 4)                = 4\nread(3, \"47d7dcb5a7d89f413064e7ef1b54d77e59fb8375 \nrefs/heads/master\\n\", 59) \n= 59\nread(3, \"0042\", 4)                = 4\nread(3, \"47d7dcb5a7d89f413064e7ef1b54d77e59fb8375 \nrefs/remotes/git-svn\\n\", 62) \n= 62\nread(3, \"0000\", 4)                = 4\n...\n\nSo, here, I'd guess it's also asking for the latest revision and \napparantly receiving 47d7dcb5a... as the hash, which is correct (and \nthe same as GitWeb shows).\n \nAnd hints? Any other info I can provide?\n\nI've upgrade GIT hoping it solve the problem, but it doesn't. Some \nversions, I've tried are git version 1.5.2.35.ga334 and git \nversion 1.5.2.\n\nWith friendly regards,\nTakis\n\n \n"},{"id":"43141","messageId":"Pine.LNX.4.64.0705241456080.4648@racer.site","threadId":"8279","inReplyTo":"loom.20070524T142358-608@post.gmane.org","subject":"Re: HTTP trees trailing GIT trees","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2007-05-24T13:57:28Z","receivedAt":"2007-05-24T13:57:28Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Thu, 24 May 2007, Panagiotis Issaris wrote:\n\n> So, we're asking for /ffmpeg/info/refs, and the server is returning \n> c30fa8391812..., but, using GitWeb one can see that c30fa839812... is \n> not the last commit, this one is: \n> http://git.mplayerhq.hu/?p=ffmpeg;a=commit; \n> h=47d7dcb5a7d89f413064e7ef1b54d77e59fb8375\n\nSo, info/refs is still old. This file should have been updated by \ngit-update-server-info. I am not sure how this repo is updated, but I \nsuspect that the wrong hook contains the call to update-server-info, or \nthat the correct hook is not activated, or it does not have write \npermission.\n\nCiao,\nDscho\n"},{"id":"43142","messageId":"loom.20070524T161814-702@post.gmane.org","threadId":"8279","inReplyTo":"Pine.LNX.4.64.0705241456080.4648@racer.site","subject":"Re: HTTP trees trailing GIT trees","fromName":"Panagiotis Issaris","fromEmail":"takis.issaris@uhasselt.be","sentAt":"2007-05-24T14:19:43Z","receivedAt":"2007-05-24T14:19:43Z","isPatch":false,"sender":{"key":"takis.issaris@uhasselt.be","avatar":null},"body":"Hi Dscho,\n\nJohannes Schindelin <Johannes.Schindelin <at> gmx.de> writes:\n> Hi,\n> \n> On Thu, 24 May 2007, Panagiotis Issaris wrote:\n> \n> > So, we're asking for /ffmpeg/info/refs, and the server is returning \n> > c30fa8391812..., but, using GitWeb one can see that c30fa839812... is \n> > not the last commit, this one is: \n> > http://git.mplayerhq.hu/?p=ffmpeg;a=commit; \n> > h=47d7dcb5a7d89f413064e7ef1b54d77e59fb8375\n> \n> So, info/refs is still old. This file should have been updated by \n> git-update-server-info. I am not sure how this repo is updated, but I \n> suspect that the wrong hook contains the call to update-server-info, or \n> that the correct hook is not activated, or it does not have write \n> permission.\n\nThanks! I've just reported this on the ffmpeg mailinglist.\n\nThanks again for your fast reply,\nWith friendly regards,\nTakis\n"},{"id":"43235","messageId":"f36g7l$2oe$1@sea.gmane.org","threadId":"8279","inReplyTo":"Pine.LNX.4.64.0705241456080.4648@racer.site","subject":"Re: HTTP trees trailing GIT trees","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2007-05-25T11:15:49Z","receivedAt":"2007-05-25T11:15:49Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"Johannes Schindelin wrote:\n\n> Hi,\n> \n> On Thu, 24 May 2007, Panagiotis Issaris wrote:\n> \n>> So, we're asking for /ffmpeg/info/refs, and the server is returning \n>> c30fa8391812..., but, using GitWeb one can see that c30fa839812... is \n>> not the last commit, this one is: \n>> http://git.mplayerhq.hu/?p=ffmpeg;a=commit; \n>> h=47d7dcb5a7d89f413064e7ef1b54d77e59fb8375\n> \n> So, info/refs is still old. This file should have been updated by \n> git-update-server-info. I am not sure how this repo is updated, but I \n> suspect that the wrong hook contains the call to update-server-info, or \n> that the correct hook is not activated, or it does not have write \n> permission.\n\nIf you push to repository (it is the usual setup for public\nrepositories), it would be enough to simply enable default \n'post-update' hook (make it executable).\n\nIf you however for example commit to this public repository directly,\nyou would need to put call to git-update-server-info in the 'post-commit'\nhook.\n\n-- \nJakub Narebski\nWarsaw, Poland\nShadeHawk on #git\n"},{"id":"43242","messageId":"Pine.LNX.4.64.0705251332360.4648@racer.site","threadId":"8279","inReplyTo":"f36g7l$2oe$1@sea.gmane.org","subject":"Re: HTTP trees trailing GIT trees","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2007-05-25T12:36:16Z","receivedAt":"2007-05-25T12:36:16Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Fri, 25 May 2007, Jakub Narebski wrote:\n\n> Johannes Schindelin wrote:\n> \n> > Hi,\n> > \n> > On Thu, 24 May 2007, Panagiotis Issaris wrote:\n> > \n> >> So, we're asking for /ffmpeg/info/refs, and the server is returning \n> >> c30fa8391812..., but, using GitWeb one can see that c30fa839812... is \n> >> not the last commit, this one is: \n> >> http://git.mplayerhq.hu/?p=ffmpeg;a=commit; \n> >> h=47d7dcb5a7d89f413064e7ef1b54d77e59fb8375\n> > \n> > So, info/refs is still old. This file should have been updated by \n> > git-update-server-info. I am not sure how this repo is updated, but I \n> > suspect that the wrong hook contains the call to update-server-info, or \n> > that the correct hook is not activated, or it does not have write \n> > permission.\n> \n> If you push to repository (it is the usual setup for public\n> repositories), it would be enough to simply enable default \n> 'post-update' hook (make it executable).\n> \n> If you however for example commit to this public repository directly,\n> you would need to put call to git-update-server-info in the 'post-commit'\n> hook.\n\nI have the slight suspicion that this repo is only updated via git-svn. \nAnd I am still new enough to git-svn to not know which hook it executes, \nif any.\n\nCiao,\nDscho\n"}]}