{"thread":{"id":"15850","subject":"Re: tip tree clone fail","startedAt":"2008-10-10T08:56:46Z","lastAt":"2008-10-15T05:25:43Z","messageCount":21,"participants":["Thomas Gleixner","Wang Chen","H. Peter Anvin","Lars Hjemli","Ingo Molnar","Miklos Vajna","Teemu Likonen","Petr Baudis","Jakub Narebski","Shawn O. Pearce"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"92736","messageId":"alpine.LFD.2.00.0810101046260.3271@apollo","threadId":"15850","inReplyTo":"48EF14FC.1000801@cn.fujitsu.com","subject":"Re: tip tree clone fail","fromName":"Thomas Gleixner","fromEmail":"tglx@linutronix.de","sentAt":"2008-10-10T08:56:46Z","receivedAt":"2008-10-10T08:56:46Z","isPatch":false,"sender":{"key":"tglx@linutronix.de","avatar":null},"body":"On Fri, 10 Oct 2008, Wang Chen wrote:\n> Thomas Gleixner said the following on 2008-10-10 16:40:\n> > On Fri, 10 Oct 2008, Ingo Molnar wrote:\n> > \n> >> Cc:-ed Thomas too - Thomas just ran a clean git clone and that succeeded \n> >> for him, both over the http and over the git protocols.\n> > \n> > No, I did ssh and git. Will start a http one now.\n> \n> OK. I will wait.\n> Thanks, Thomas :)\n\ngit clone http://www.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-tip.git \n\nfails here as well. \n\nGetting pack 7c461fa5d92f9e047ae07b70eb30828a63a803f5\n which contains 874e848aefc2d5952b00593c9fd23d748259eec7\nwalk 874e848aefc2d5952b00593c9fd23d748259eec7\nGetting pack list for http://www.kernel.org/home/ftp/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/\nGetting pack list for http://www.kernel.org/home/ftp/pub/scm/linux/kernel/git/sfr/linux-next.git/\nerror: Unable to find 85ba94ba0592296053f7f2846812173424afe1cb under http://www.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-tip.git\nCannot obtain needed object 85ba94ba0592296053f7f2846812173424afe1cb\nwhile processing commit 874e848aefc2d5952b00593c9fd23d748259eec7.\nfatal: Fetch failed.\n\nThe needed object 85ba94ba0592296053f7f2846812173424afe1cb is a commit\nin linus tree.\n\nSo http transport is wreckaged. (git version 1.6.0.1 here, Wang is using\n1.5.3.x)\n\nJunio, can you please have a look ? I know it's http again, but we can\nnot sanitze the corporate firewall folks by any means.\n\nThanks,\n\n\ttglx\n"},{"id":"92737","messageId":"48EF1902.4070309@cn.fujitsu.com","threadId":"15850","inReplyTo":"alpine.LFD.2.00.0810101046260.3271@apollo","subject":"Re: tip tree clone fail","fromName":"Wang Chen","fromEmail":"wangchen@cn.fujitsu.com","sentAt":"2008-10-10T08:57:38Z","receivedAt":"2008-10-10T08:57:38Z","isPatch":false,"sender":{"key":"wangchen@cn.fujitsu.com","avatar":null},"body":"Thomas Gleixner said the following on 2008-10-10 16:56:\n> On Fri, 10 Oct 2008, Wang Chen wrote:\n>> Thomas Gleixner said the following on 2008-10-10 16:40:\n>>> On Fri, 10 Oct 2008, Ingo Molnar wrote:\n>>>\n>>>> Cc:-ed Thomas too - Thomas just ran a clean git clone and that succeeded \n>>>> for him, both over the http and over the git protocols.\n>>> No, I did ssh and git. Will start a http one now.\n>> OK. I will wait.\n>> Thanks, Thomas :)\n> \n> git clone http://www.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-tip.git \n> \n> fails here as well. \n> \n> Getting pack 7c461fa5d92f9e047ae07b70eb30828a63a803f5\n>  which contains 874e848aefc2d5952b00593c9fd23d748259eec7\n> walk 874e848aefc2d5952b00593c9fd23d748259eec7\n> Getting pack list for http://www.kernel.org/home/ftp/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/\n> Getting pack list for http://www.kernel.org/home/ftp/pub/scm/linux/kernel/git/sfr/linux-next.git/\n> error: Unable to find 85ba94ba0592296053f7f2846812173424afe1cb under http://www.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-tip.git\n> Cannot obtain needed object 85ba94ba0592296053f7f2846812173424afe1cb\n> while processing commit 874e848aefc2d5952b00593c9fd23d748259eec7.\n> fatal: Fetch failed.\n> \n> The needed object 85ba94ba0592296053f7f2846812173424afe1cb is a commit\n> in linus tree.\n> \n> So http transport is wreckaged. (git version 1.6.0.1 here, Wang is using\n> 1.5.3.x)\n> \n\nMy git version is 1.5.5.1, although it doesn't matter ;)\n\n> Junio, can you please have a look ? I know it's http again, but we can\n> not sanitze the corporate firewall folks by any means.\n> \n"},{"id":"92765","messageId":"48EF7BC1.4000401@zytor.com","threadId":"15850","inReplyTo":"48EF1902.4070309@cn.fujitsu.com","subject":"Re: tip tree clone fail","fromName":"H. Peter Anvin","fromEmail":"hpa@zytor.com","sentAt":"2008-10-10T15:58:57Z","receivedAt":"2008-10-10T15:58:57Z","isPatch":false,"sender":{"key":"hpa@zytor.com","avatar":null},"body":"Wang Chen wrote:\n>>\n>> So http transport is wreckaged. (git version 1.6.0.1 here, Wang is using\n>> 1.5.3.x)\n> \n> My git version is 1.5.5.1, although it doesn't matter ;)\n> \n\nhttp transport requires that \"git update-server-info\" is done after each \npush.  Otherwise, it ends up in a trainwreck.\n\nShawn Pierce at Google is working on a long-term solution, but in the \nmeantime, if you have to use http transport, murder your IT people.\n\n\t-hpa\n"},{"id":"92832","messageId":"48F1DF6A.4000900@cn.fujitsu.com","threadId":"15850","inReplyTo":"48EF7BC1.4000401@zytor.com","subject":"Re: tip tree clone fail","fromName":"Wang Chen","fromEmail":"wangchen@cn.fujitsu.com","sentAt":"2008-10-12T11:28:42Z","receivedAt":"2008-10-12T11:28:42Z","isPatch":false,"sender":{"key":"wangchen@cn.fujitsu.com","avatar":null},"body":"H. Peter Anvin said the following on 2008-10-10 23:58:\n> Wang Chen wrote:\n>>>\n>>> So http transport is wreckaged. (git version 1.6.0.1 here, Wang is using\n>>> 1.5.3.x)\n>>\n>> My git version is 1.5.5.1, although it doesn't matter ;)\n>>\n> \n> http transport requires that \"git update-server-info\" is done after each\n> push.  Otherwise, it ends up in a trainwreck.\n> \n> Shawn Pierce at Google is working on a long-term solution, but in the\n> meantime, if you have to use http transport, murder your IT people.\n> \n\n\nSo, the current solutions are:\n1. Waiting for Shawn fixing it.\n2. Asking Ingo to \"git update-server-info\" after each push.\n3. Murdering our IT people.\n\nI'd rather to do the second solution than the third one :)\n\nIngo, will you do \"git update-server-info\" after each push before\nShawn fix this problem?\n"},{"id":"92834","messageId":"8c5c35580810120504o4423560aodd8d58e9e9ae322c@mail.gmail.com","threadId":"15850","inReplyTo":"48F1DF6A.4000900@cn.fujitsu.com","subject":"Re: tip tree clone fail","fromName":"Lars Hjemli","fromEmail":"lh@elementstorage.no","sentAt":"2008-10-12T12:04:05Z","receivedAt":"2008-10-12T12:04:05Z","isPatch":false,"sender":{"key":"lh@elementstorage.no","avatar":null},"body":"On Sun, Oct 12, 2008 at 13:28, Wang Chen <wangchen@cn.fujitsu.com> wrote:\n>\n> H. Peter Anvin said the following on 2008-10-10 23:58:\n> > Wang Chen wrote:\n> >>>\n> >>> So http transport is wreckaged. (git version 1.6.0.1 here, Wang is using\n> >>> 1.5.3.x)\n> >>\n> >> My git version is 1.5.5.1, although it doesn't matter ;)\n> >>\n> >\n> > http transport requires that \"git update-server-info\" is done after each\n> > push.  Otherwise, it ends up in a trainwreck.\n> >\n> > Shawn Pierce at Google is working on a long-term solution, but in the\n> > meantime, if you have to use http transport, murder your IT people.\n> >\n>\n>\n> So, the current solutions are:\n> 1. Waiting for Shawn fixing it.\n> 2. Asking Ingo to \"git update-server-info\" after each push.\n> 3. Murdering our IT people.\n\n4. Install cgit, which removes the need for `git update-server-info`\n\n--\nlarsh\n"},{"id":"92835","messageId":"20081012124105.GA26988@elte.hu","threadId":"15850","inReplyTo":"48EF7BC1.4000401@zytor.com","subject":"Re: tip tree clone fail","fromName":"Ingo Molnar","fromEmail":"mingo@elte.hu","sentAt":"2008-10-12T12:41:05Z","receivedAt":"2008-10-12T12:41:05Z","isPatch":false,"sender":{"key":"mingo@elte.hu","avatar":null},"body":"\n* H. Peter Anvin <hpa@zytor.com> wrote:\n\n> Wang Chen wrote:\n>>>\n>>> So http transport is wreckaged. (git version 1.6.0.1 here, Wang is using\n>>> 1.5.3.x)\n>>\n>> My git version is 1.5.5.1, although it doesn't matter ;)\n>>\n>\n> http transport requires that \"git update-server-info\" is done after \n> each push.  Otherwise, it ends up in a trainwreck.\n\ncan i simply put \"git update-server-info\" into .git/hooks/post-receive \nto solve this problem?\n\n\tIngo\n"},{"id":"92836","messageId":"20081012125956.GI536@genesis.frugalware.org","threadId":"15850","inReplyTo":"20081012124105.GA26988@elte.hu","subject":"Re: tip tree clone fail","fromName":"Miklos Vajna","fromEmail":"vmiklos@frugalware.org","sentAt":"2008-10-12T12:59:56Z","receivedAt":"2008-10-12T12:59:56Z","isPatch":false,"sender":{"key":"vmiklos@frugalware.org","avatar":"https://gravatar.com/avatar/401c1cbbb3a5d13e650c691a2c71d6fd0b80df1a01bc74d9f1972675dd58f2bd?d=mp&s=160"},"body":"On Sun, Oct 12, 2008 at 02:41:05PM +0200, Ingo Molnar <mingo@elte.hu> wrote:\n> can i simply put \"git update-server-info\" into .git/hooks/post-receive \n> to solve this problem?\n\nYes. And don't forget the chmod +x it, if it's not done yet.\n"},{"id":"92841","messageId":"48F20663.2040407@zytor.com","threadId":"15850","inReplyTo":"20081012124105.GA26988@elte.hu","subject":"Re: tip tree clone fail","fromName":"H. Peter Anvin","fromEmail":"hpa@zytor.com","sentAt":"2008-10-12T14:14:59Z","receivedAt":"2008-10-12T14:14:59Z","isPatch":false,"sender":{"key":"hpa@zytor.com","avatar":null},"body":"Ingo Molnar wrote:\n> * H. Peter Anvin <hpa@zytor.com> wrote:\n> \n>> Wang Chen wrote:\n>>>> So http transport is wreckaged. (git version 1.6.0.1 here, Wang is using\n>>>> 1.5.3.x)\n>>> My git version is 1.5.5.1, although it doesn't matter ;)\n>>>\n>> http transport requires that \"git update-server-info\" is done after \n>> each push.  Otherwise, it ends up in a trainwreck.\n> \n> can i simply put \"git update-server-info\" into .git/hooks/post-receive \n> to solve this problem?\n> \n\npost-update, rather than post-receive.\n\nThe standard post-update.sample contains it, it just needs a rename.\n\n\t-hpa\n"},{"id":"92842","messageId":"48F20698.4090105@zytor.com","threadId":"15850","inReplyTo":"48F1DF6A.4000900@cn.fujitsu.com","subject":"Re: tip tree clone fail","fromName":"H. Peter Anvin","fromEmail":"hpa@zytor.com","sentAt":"2008-10-12T14:15:52Z","receivedAt":"2008-10-12T14:15:52Z","isPatch":false,"sender":{"key":"hpa@zytor.com","avatar":null},"body":"Wang Chen wrote:\n> \n> So, the current solutions are:\n> 1. Waiting for Shawn fixing it.\n> 2. Asking Ingo to \"git update-server-info\" after each push.\n> 3. Murdering our IT people.\n> \n> I'd rather to do the second solution than the third one :)\n> \n\nActually, the third solution is the proper one given the circumstances \nyou find yourself in.  None of this would be a problem if there wasn't a \nbunch of companies with incompetent network management.\n\n\t-hpa\n"},{"id":"92851","messageId":"20081012152427.GA4607@elte.hu","threadId":"15850","inReplyTo":"48F20663.2040407@zytor.com","subject":"Re: tip tree clone fail","fromName":"Ingo Molnar","fromEmail":"mingo@elte.hu","sentAt":"2008-10-12T15:24:27Z","receivedAt":"2008-10-12T15:24:27Z","isPatch":false,"sender":{"key":"mingo@elte.hu","avatar":null},"body":"\n* H. Peter Anvin <hpa@zytor.com> wrote:\n\n> Ingo Molnar wrote:\n>> * H. Peter Anvin <hpa@zytor.com> wrote:\n>>\n>>> Wang Chen wrote:\n>>>>> So http transport is wreckaged. (git version 1.6.0.1 here, Wang is using\n>>>>> 1.5.3.x)\n>>>> My git version is 1.5.5.1, although it doesn't matter ;)\n>>>>\n>>> http transport requires that \"git update-server-info\" is done after  \n>>> each push.  Otherwise, it ends up in a trainwreck.\n>>\n>> can i simply put \"git update-server-info\" into .git/hooks/post-receive  \n>> to solve this problem?\n>>\n>\n> post-update, rather than post-receive.\n>\n> The standard post-update.sample contains it, it just needs a rename.\n\nhm, -tip's .git/hooks/post-update already contained this, for the last 2 \nmonths:\n\n  exec git update-server-info\n\nso ... _despite_ us having this in the git repo, the HTTP protocol still \ndoes not work. Why?\n\n\tIngo\n"},{"id":"92852","messageId":"877i8dx1tb.fsf@iki.fi","threadId":"15850","inReplyTo":"20081012152427.GA4607@elte.hu","subject":"Re: tip tree clone fail","fromName":"Teemu Likonen","fromEmail":"tlikonen@iki.fi","sentAt":"2008-10-12T15:36:48Z","receivedAt":"2008-10-12T15:36:48Z","isPatch":false,"sender":{"key":"tlikonen@iki.fi","avatar":null},"body":"Ingo Molnar <mingo@elte.hu> writes:\n\n> * H. Peter Anvin <hpa@zytor.com> wrote:\n>> post-update, rather than post-receive.\n>>\n>> The standard post-update.sample contains it, it just needs a rename.\n>\n> hm, -tip's .git/hooks/post-update already contained this, for the last 2 \n> months:\n>\n>   exec git update-server-info\n>\n> so ... _despite_ us having this in the git repo, the HTTP protocol\n> still does not work. Why?\n\nI don't know why but I have experienced the same: post-update hook just\ndoesn't work. I described it here:\n\n    http://thread.gmane.org/gmane.comp.version-control.git/82351\n\nFortunately post-receive hooks works, so you could to try it instead.\n"},{"id":"92853","messageId":"20081012153952.GV10544@machine.or.cz","threadId":"15850","inReplyTo":"20081012152427.GA4607@elte.hu","subject":"Re: tip tree clone fail","fromName":"Petr Baudis","fromEmail":"pasky@suse.cz","sentAt":"2008-10-12T15:39:52Z","receivedAt":"2008-10-12T15:39:52Z","isPatch":false,"sender":{"key":"pasky@ucw.cz","avatar":"https://avatars.githubusercontent.com/u/18439?v=4"},"body":"On Sun, Oct 12, 2008 at 05:24:27PM +0200, Ingo Molnar wrote:\n> hm, -tip's .git/hooks/post-update already contained this, for the last 2 \n> months:\n> \n>   exec git update-server-info\n> \n> so ... _despite_ us having this in the git repo, the HTTP protocol still \n> does not work. Why?\n\nI think your problem is that HTTP does not know where to look for\nobjects coming from alternates; IIRC this would work if you used\nrelative paths in objects/info/alternates, or you can create\nobjects/info/http-alternates like\n\n\t/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/objects\n\t/pub/scm/linux/kernel/git/sfr/linux-next.git/objects\n\n-- \n\t\t\t\tPetr \"Pasky\" Baudis\nPeople who take cold baths never have rheumatism, but they have\ncold baths.\n"},{"id":"92856","messageId":"20081012165954.GA2317@elte.hu","threadId":"15850","inReplyTo":"20081012153952.GV10544@machine.or.cz","subject":"Re: tip tree clone fail","fromName":"Ingo Molnar","fromEmail":"mingo@elte.hu","sentAt":"2008-10-12T16:59:54Z","receivedAt":"2008-10-12T16:59:54Z","isPatch":false,"sender":{"key":"mingo@elte.hu","avatar":null},"body":"\n* Petr Baudis <pasky@suse.cz> wrote:\n\n> On Sun, Oct 12, 2008 at 05:24:27PM +0200, Ingo Molnar wrote:\n> > hm, -tip's .git/hooks/post-update already contained this, for the last 2 \n> > months:\n> > \n> >   exec git update-server-info\n> > \n> > so ... _despite_ us having this in the git repo, the HTTP protocol still \n> > does not work. Why?\n> \n> I think your problem is that HTTP does not know where to look for\n> objects coming from alternates; IIRC this would work if you used\n> relative paths in objects/info/alternates, or you can create\n> objects/info/http-alternates like\n> \n> \t/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/objects\n> \t/pub/scm/linux/kernel/git/sfr/linux-next.git/objects\n\nok, i've now set it up like this:\n\n $ pwd\n /pub/scm/linux/kernel/git/x86/linux-2.6-tip.git\n\n $ cat objects/info/alternates\n /home/ftp/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/objects\n /home/ftp/pub/scm/linux/kernel/git/sfr/linux-next.git/objects\n\n $ cat objects/info/http-alternates\n /pub/scm/linux/kernel/git/torvalds/linux-2.6.git/objects\n /pub/scm/linux/kernel/git/sfr/linux-next.git/objects\n\nand i've added \"git update-server-info\" to hooks/post-receive and made \nit chmod +x.\n\nthat should be golden, right? I'm wondering why this isnt in the default \nsetup - i've been behind a limited corporate firewall in a former life \nand having HTTP access is indeed very handy and pragmatic. Often hotel \nWLANs are HTTP only as well.\n\nSoapbox: in fact it would be outright stupid to limit the kernel \nsource's availability artificially by not making HTTP a tier-one access \nmethod.\n\nFighting against HTTP-only firewalls is like constantly pointing it out \nto the popular press that they should say 'cracker' instead of 'hacker'. \nIt is pointless and only hurts the availability our own project.\n\t\n\tIngo\n"},{"id":"92857","messageId":"m3tzbhk94k.fsf@localhost.localdomain","threadId":"15850","inReplyTo":"20081012165954.GA2317@elte.hu","subject":"Re: tip tree clone fail","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2008-10-12T17:37:22Z","receivedAt":"2008-10-12T17:37:22Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"Ingo Molnar <mingo@elte.hu> writes:\n\n> Soapbox: in fact it would be outright stupid to limit the kernel \n> source's availability artificially by not making HTTP a tier-one access \n> method.\n> \n> Fighting against HTTP-only firewalls is like constantly pointing it out \n> to the popular press that they should say 'cracker' instead of 'hacker'. \n> It is pointless and only hurts the availability our own project.\n\nHopefully there should soon be here \"smart\" HTTP server (as for\nexample CGI script), which encapsulates git protocol, modified for the\nfact that HTTP is stateless protocol, in HTTP.  It would unfortunately\nrequire git installed on server.\n\nIt is WIP, but I'm not sure how far it is from completion.\n-- \nJakub Narebski\nPoland\nShadeHawk on #git\n"},{"id":"92858","messageId":"20081012175927.GB4856@spearce.org","threadId":"15850","inReplyTo":"m3tzbhk94k.fsf@localhost.localdomain","subject":"Re: tip tree clone fail","fromName":"Shawn O. Pearce","fromEmail":"spearce@spearce.org","sentAt":"2008-10-12T17:59:27Z","receivedAt":"2008-10-12T17:59:27Z","isPatch":false,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"Jakub Narebski <jnareb@gmail.com> wrote:\n> Ingo Molnar <mingo@elte.hu> writes:\n> \n> > Soapbox: in fact it would be outright stupid to limit the kernel \n> > source's availability artificially by not making HTTP a tier-one access \n> > method.\n> \n> Hopefully there should soon be here \"smart\" HTTP server [...]\n> \n> It is WIP, but I'm not sure how far it is from completion.\n\nIts still not even prototyped.  I'm supposed to be spending my 20%\ntime at Google on the Git-in-HTTP documentation and implementation,\nso I can feed patches to the list for review.\n\nSadly, my current 80% project has been demanding >120% of my time\nthese past 5 weeks, so I have not been able to touch the Git-in-HTTP\nconcept in that time period.\n\nMost of my 80% project has to be wrapped up by this time next\nweek.  Afterwards I'm going to try and dedicate at least a week\nto Git-in-HTTP and get caught up.  I sort of have to; its part of\nmy goals for my performance evaluation.  Even if the list winds\nup rejecting my implementation, I still have to put it out there\nfor discussion.\n\n-- \nShawn.\n"},{"id":"92897","messageId":"48F2C988.1010104@zytor.com","threadId":"15850","inReplyTo":"20081012153952.GV10544@machine.or.cz","subject":"Re: tip tree clone fail","fromName":"H. Peter Anvin","fromEmail":"hpa@zytor.com","sentAt":"2008-10-13T04:07:36Z","receivedAt":"2008-10-13T04:07:36Z","isPatch":false,"sender":{"key":"hpa@zytor.com","avatar":null},"body":"Petr Baudis wrote:\n> On Sun, Oct 12, 2008 at 05:24:27PM +0200, Ingo Molnar wrote:\n>> hm, -tip's .git/hooks/post-update already contained this, for the last 2 \n>> months:\n>>\n>>   exec git update-server-info\n>>\n>> so ... _despite_ us having this in the git repo, the HTTP protocol still \n>> does not work. Why?\n> \n> I think your problem is that HTTP does not know where to look for\n> objects coming from alternates; IIRC this would work if you used\n> relative paths in objects/info/alternates, or you can create\n> objects/info/http-alternates like\n> \n> \t/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/objects\n> \t/pub/scm/linux/kernel/git/sfr/linux-next.git/objects\n> \n\nYes, alternates must not contain paths referencing /home/ftp.\n\n\t-hpa\n"},{"id":"92898","messageId":"48F2C9EF.4020203@zytor.com","threadId":"15850","inReplyTo":"20081012165954.GA2317@elte.hu","subject":"Re: tip tree clone fail","fromName":"H. Peter Anvin","fromEmail":"hpa@zytor.com","sentAt":"2008-10-13T04:09:19Z","receivedAt":"2008-10-13T04:09:19Z","isPatch":false,"sender":{"key":"hpa@zytor.com","avatar":null},"body":"Ingo Molnar wrote:\n> \n> Soapbox: in fact it would be outright stupid to limit the kernel \n> source's availability artificially by not making HTTP a tier-one access \n> method.\n> \n> Fighting against HTTP-only firewalls is like constantly pointing it out \n> to the popular press that they should say 'cracker' instead of 'hacker'. \n> It is pointless and only hurts the availability our own project.\n> \t\n\nYes, and Shawn Pierce is working on making HTTP a proper \"smart\" access \nmethod, based on a proposal I submitted.  That is the proper solution, \nsince it avoids all the braindamage of \"dumb\" access methods.  We \n[kernel.org] intend to deploy it as soon as it is available.\n\n\t-hpa\n"},{"id":"92920","messageId":"48F3178A.50106@cn.fujitsu.com","threadId":"15850","inReplyTo":"20081012165954.GA2317@elte.hu","subject":"Re: tip tree clone fail","fromName":"Wang Chen","fromEmail":"wangchen@cn.fujitsu.com","sentAt":"2008-10-13T09:40:26Z","receivedAt":"2008-10-13T09:40:26Z","isPatch":false,"sender":{"key":"wangchen@cn.fujitsu.com","avatar":null},"body":"Ingo Molnar said the following on 2008-10-13 0:59:\n> * Petr Baudis <pasky@suse.cz> wrote:\n> \n>> On Sun, Oct 12, 2008 at 05:24:27PM +0200, Ingo Molnar wrote:\n>>> hm, -tip's .git/hooks/post-update already contained this, for the last 2 \n>>> months:\n>>>\n>>>   exec git update-server-info\n>>>\n>>> so ... _despite_ us having this in the git repo, the HTTP protocol still \n>>> does not work. Why?\n>> I think your problem is that HTTP does not know where to look for\n>> objects coming from alternates; IIRC this would work if you used\n>> relative paths in objects/info/alternates, or you can create\n>> objects/info/http-alternates like\n>>\n>> \t/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/objects\n>> \t/pub/scm/linux/kernel/git/sfr/linux-next.git/objects\n> \n> ok, i've now set it up like this:\n> \n>  $ pwd\n>  /pub/scm/linux/kernel/git/x86/linux-2.6-tip.git\n> \n>  $ cat objects/info/alternates\n>  /home/ftp/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/objects\n>  /home/ftp/pub/scm/linux/kernel/git/sfr/linux-next.git/objects\n> \n>  $ cat objects/info/http-alternates\n>  /pub/scm/linux/kernel/git/torvalds/linux-2.6.git/objects\n>  /pub/scm/linux/kernel/git/sfr/linux-next.git/objects\n> \n> and i've added \"git update-server-info\" to hooks/post-receive and made \n> it chmod +x.\n> \n> that should be golden, right? I'm wondering why this isnt in the default \n> setup - i've been behind a limited corporate firewall in a former life \n> and having HTTP access is indeed very handy and pragmatic. Often hotel \n> WLANs are HTTP only as well.\n> \n> Soapbox: in fact it would be outright stupid to limit the kernel \n> source's availability artificially by not making HTTP a tier-one access \n> method.\n> \n> Fighting against HTTP-only firewalls is like constantly pointing it out \n> to the popular press that they should say 'cracker' instead of 'hacker'. \n> It is pointless and only hurts the availability our own project.\n> \t\n\nIngo, thank you for your work.\nI can clone more, but error still occurs:\n\nGetting alternates list for http://www.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-tip.git\nAlso look at http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/\nAlso look at http://www.kernel.org/pub/scm/linux/kernel/git/sfr/linux-next.git/\nGetting pack list for http://www.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-tip.git\nerror: transfer closed with 8280 bytes remaining to read\nGetting pack list for http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/\nGetting pack list for http://www.kernel.org/pub/scm/linux/kernel/git/sfr/linux-next.git/\nerror: Unable to find 95630fe2917f805a26f8d8beaafb80cd2f729eb5 under http://www.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-tip.git\nCannot obtain needed object 95630fe2917f805a26f8d8beaafb80cd2f729eb5\n"},{"id":"92937","messageId":"48F37073.1030808@zytor.com","threadId":"15850","inReplyTo":"48F3178A.50106@cn.fujitsu.com","subject":"Re: tip tree clone fail","fromName":"H. Peter Anvin","fromEmail":"hpa@zytor.com","sentAt":"2008-10-13T15:59:47Z","receivedAt":"2008-10-13T15:59:47Z","isPatch":false,"sender":{"key":"hpa@zytor.com","avatar":null},"body":"Wang Chen wrote:\n> \n> Ingo, thank you for your work.\n> I can clone more, but error still occurs:\n> \n> Getting alternates list for http://www.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-tip.git\n> Also look at http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/\n> Also look at http://www.kernel.org/pub/scm/linux/kernel/git/sfr/linux-next.git/\n> Getting pack list for http://www.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-tip.git\n> error: transfer closed with 8280 bytes remaining to read\n> Getting pack list for http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/\n> Getting pack list for http://www.kernel.org/pub/scm/linux/kernel/git/sfr/linux-next.git/\n> error: Unable to find 95630fe2917f805a26f8d8beaafb80cd2f729eb5 under http://www.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-tip.git\n> Cannot obtain needed object 95630fe2917f805a26f8d8beaafb80cd2f729eb5\n\nI cleaned it up and it should work now.\n\n\t-hpa\n"},{"id":"93049","messageId":"48F566C4.2050905@cn.fujitsu.com","threadId":"15850","inReplyTo":"48F37073.1030808@zytor.com","subject":"Re: tip tree clone fail","fromName":"Wang Chen","fromEmail":"wangchen@cn.fujitsu.com","sentAt":"2008-10-15T03:43:00Z","receivedAt":"2008-10-15T03:43:00Z","isPatch":false,"sender":{"key":"wangchen@cn.fujitsu.com","avatar":null},"body":"H. Peter Anvin said the following on 2008-10-13 23:59:\n> Wang Chen wrote:\n>>\n>> Ingo, thank you for your work.\n>> I can clone more, but error still occurs:\n>>\n>> Getting alternates list for\n>> http://www.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-tip.git\n>> Also look at\n>> http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/\n>> Also look at\n>> http://www.kernel.org/pub/scm/linux/kernel/git/sfr/linux-next.git/\n>> Getting pack list for\n>> http://www.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-tip.git\n>> error: transfer closed with 8280 bytes remaining to read\n>> Getting pack list for\n>> http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/\n>> Getting pack list for\n>> http://www.kernel.org/pub/scm/linux/kernel/git/sfr/linux-next.git/\n>> error: Unable to find 95630fe2917f805a26f8d8beaafb80cd2f729eb5 under\n>> http://www.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-tip.git\n>> Cannot obtain needed object 95630fe2917f805a26f8d8beaafb80cd2f729eb5\n> \n> I cleaned it up and it should work now.\n> \n\nYes. My clone is successful. Thanks, Peter.\nBut, after cloning, git-pull failed because of conflict.\nI think maybe because Ingo rebased his tree?\n---\nAuto-merged init/main.c\nCONFLICT (content): Merge conflict in init/main.c\nAuto-merged scripts/bootgraph.pl\nCONFLICT (add/add): Merge conflict in scripts/bootgraph.pl\nRemoved sound/soc/at91/eti_b1_wm8731.c\nAutomatic merge failed; fix conflicts and then commit the result.\n---\n"},{"id":"93051","messageId":"48F57ED7.1090305@zytor.com","threadId":"15850","inReplyTo":"48F566C4.2050905@cn.fujitsu.com","subject":"Re: tip tree clone fail","fromName":"H. Peter Anvin","fromEmail":"hpa@zytor.com","sentAt":"2008-10-15T05:25:43Z","receivedAt":"2008-10-15T05:25:43Z","isPatch":false,"sender":{"key":"hpa@zytor.com","avatar":null},"body":"Wang Chen wrote:\n> \n> Yes. My clone is successful. Thanks, Peter.\n> But, after cloning, git-pull failed because of conflict.\n> I think maybe because Ingo rebased his tree?\n> ---\n> Auto-merged init/main.c\n> CONFLICT (content): Merge conflict in init/main.c\n> Auto-merged scripts/bootgraph.pl\n> CONFLICT (add/add): Merge conflict in scripts/bootgraph.pl\n> Removed sound/soc/at91/eti_b1_wm8731.c\n> Automatic merge failed; fix conflicts and then commit the result.\n> ---\n\nYes, the master branch on tip is not rebase-free.\n\n\t-hpa\n"}]}