{"thread":{"id":"43421","subject":"Re: Possible but in gitweb","startedAt":"2006-11-18T16:58:51Z","lastAt":"2006-11-18T19:06:52Z","messageCount":7,"participants":["Jakub Narebski","Paolo Ciarrocchi","Petr Baudis","Luben Tuikov"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"294783","messageId":"4d8e3fd30611180858xf28e958g8511f2eb68d53848@mail.gmail.com","threadId":"43421","inReplyTo":null,"subject":"Possible but in gitweb","fromName":"Paolo Ciarrocchi","fromEmail":"paolo.ciarrocchi@gmail.com","sentAt":"2006-11-18T16:58:51Z","receivedAt":"2006-11-18T16:58:51Z","isPatch":false,"sender":{"key":"paolo.ciarrocchi@gmail.com","avatar":null},"body":"Hi all,\nI'm playing with a repo hosted by repos.os.cz and I think I faced a\nbug (Pasky confirmed that this should be reported here as a bug).\n\nMy repo has two branches,\nmaster\nhtml\n\nMaster contains a text file while html contains his conversion in html\ndone via asciidoc.\n\nI need to URLs that point to the top of the branches in order to have\nan easy way for lnkind the documentation to external portals.\n\nThis link points to HEAD, so top of master:\nhttp://repo.or.cz/w/LinuxKernelDevelopmentProcess.git?a=blob_plain;f=LinuxKernelDevelopmentProcess;hb=HEAD\n\nBrowsing the repo I reach the following URL\nhttp://repo.or.cz/w/LinuxKernelDevelopmentProcess.git?a=blob;f=LinuxKernelDevelopmentProcess.html;hb=HEAD\nthat is not accessible.\n\nLooks like is not possible to obtain a link to the top of a branch\ndifferent from master.\n\nRegards,\n-- \nPaolo\nhttp://docs.google.com/View?docid=dhbdhs7d_4hsxqc8\nhttp://www.linkedin.com/pub/0/132/9a3\nNon credo nelle otto del mattino. Però esistono. Le otto del mattino\nsono l'incontrovertibile prova della presenza del male nel mondo.\n"},{"id":"298250","messageId":"ejng62$k2m$1@sea.gmane.org","threadId":"43421","inReplyTo":"4d8e3fd30611180858xf28e958g8511f2eb68d53848@mail.gmail.com","subject":"Re: Possible but in gitweb","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2006-11-18T17:35:12Z","receivedAt":"2006-11-18T17:35:12Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"Paolo Ciarrocchi wrote:\n\n> Hi all,\n> I'm playing with a repo hosted by repos.os.cz and I think I faced a\n> bug (Pasky confirmed that this should be reported here as a bug).\n> \n> My repo has two branches,\n> * master\n>   html\n> \n> Master contains a text file while html contains his conversion in html\n> done via asciidoc.\n> \n> I need to URLs that point to the top of the branches in order to have\n> an easy way for linking the documentation to external portals.\n> \n> This link points to HEAD, so top of master:\n> http://repo.or.cz/w/LinuxKernelDevelopmentProcess.git?a=blob_plain;f=LinuxKernelDevelopmentProcess;hb=HEAD\n>\n> Browsing the repo I reach the following URL\n> http://repo.or.cz/w/LinuxKernelDevelopmentProcess.git?a=blob;f=LinuxKernelDevelopmentProcess.html;hb=HEAD\n> that is not accessible.\nBecause HEAD is master, not html, and there us no such file in master branch?\n\nBut all the following links\n http://repo.or.cz/w/LinuxKernelDevelopmentProcess.git?a=blob;f=LinuxKernelDevelopmentProcess.html;hb=html\n http://repo.or.cz/w/LinuxKernelDevelopmentProcess.git?a=blob;f=LinuxKernelDevelopmentProcess;hb=master\n http://repo.or.cz/w/LinuxKernelDevelopmentProcess.git?a=blob;f=LinuxKernelDevelopmentProcess;hb=HEAD\nworks\n\nYou can use\n http://repo.or.cz/w/LinuxKernelDevelopmentProcess.git/html:/LinuxKernelDevelopmentProcess.html\nor\n http://repo.or.cz/w/LinuxKernelDevelopmentProcess.git/html:LinuxKernelDevelopmentProcess.html\n(and there is remote possibility that links would work, too)\n\n> Looks like is not possible to obtain a link to the top of a branch\n> different from master.\n\nIt is possible, but you must specify the branch.\n\nP.S. Please reply also to git mailing list...\n-- \nJakub Narebski\nWarsaw, Poland\nShadeHawk on #git\n\n"},{"id":"298284","messageId":"4d8e3fd30611180942p548a92d1ufc9e0dcfabedb59@mail.gmail.com","threadId":"43421","inReplyTo":"ejng62$k2m$1@sea.gmane.org","subject":"Re: Possible but in gitweb","fromName":"Paolo Ciarrocchi","fromEmail":"paolo.ciarrocchi@gmail.com","sentAt":"2006-11-18T17:42:33Z","receivedAt":"2006-11-18T17:42:33Z","isPatch":false,"sender":{"key":"paolo.ciarrocchi@gmail.com","avatar":null},"body":"On 11/18/06, Jakub Narebski <jnareb@gmail.com> wrote:\n> Paolo Ciarrocchi wrote:\n>\n> > Hi all,\n> > I'm playing with a repo hosted by repos.os.cz and I think I faced a\n> > bug (Pasky confirmed that this should be reported here as a bug).\n> >\n> > My repo has two branches,\n> > * master\n> >   html\n> >\n> > Master contains a text file while html contains his conversion in html\n> > done via asciidoc.\n> >\n> > I need to URLs that point to the top of the branches in order to have\n> > an easy way for linking the documentation to external portals.\n> >\n> > This link points to HEAD, so top of master:\n> > http://repo.or.cz/w/LinuxKernelDevelopmentProcess.git?a=blob_plain;f=LinuxKernelDevelopmentProcess;hb=HEAD\n> >\n> > Browsing the repo I reach the following URL\n> > http://repo.or.cz/w/LinuxKernelDevelopmentProcess.git?a=blob;f=LinuxKernelDevelopmentProcess.html;hb=HEAD\n> > that is not accessible.\n> Because HEAD is master, not html, and there us no such file in master branch?\n\nFair enoough but then there should be no link in the web interface.\nThat sounds like a bug in the interface.\n\n> But all the following links\n>  http://repo.or.cz/w/LinuxKernelDevelopmentProcess.git?a=blob;f=LinuxKernelDevelopmentProcess.html;hb=html\n>\n\nYeah, but I would like to see the interpreted page.\n\nhttp://repo.or.cz/w/LinuxKernelDevelopmentProcess.git?a=blob;f=LinuxKernelDevelopmentProcess;hb=master\n\nThat is master not html\n  http://repo.or.cz/w/LinuxKernelDevelopmentProcess.git?a=blob;f=LinuxKernelDevelopmentProcess;hb=HEAD\n> works\n\nSame as above.\n\n> You can use\n>  http://repo.or.cz/w/LinuxKernelDevelopmentProcess.git/html:/LinuxKernelDevelopmentProcess.html\n\nYes, thanks! Is it reachable via the web interface?\nIs it always pointing to the top of the repo?\n\n> or\n>  http://repo.or.cz/w/LinuxKernelDevelopmentProcess.git/html:LinuxKernelDevelopmentProcess.html\n> (and there is remote possibility that links would work, too)\n>\n> > Looks like is not possible to obtain a link to the top of a branch\n> > different from master.\n>\n> It is possible, but you must specify the branch.\n\nWell, I don't see how it is possible just browsing with gitweb.\nAm I wrong?\n\n> P.S. Please reply also to git mailing list...\n\nCiao,\n-- \nPaolo\nhttp://docs.google.com/View?docid=dhbdhs7d_4hsxqc8\nhttp://www.linkedin.com/pub/0/132/9a3\nNon credo nelle otto del mattino. Però esistono. Le otto del mattino\nsono l'incontrovertibile prova della presenza del male nel mondo.\n"},{"id":"294704","messageId":"200611181901.31708.jnareb@gmail.com","threadId":"43421","inReplyTo":"4d8e3fd30611180942p548a92d1ufc9e0dcfabedb59@mail.gmail.com","subject":"Re: Possible but in gitweb","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2006-11-18T18:01:30Z","receivedAt":"2006-11-18T18:01:30Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"Paolo Ciarrocchi wrote:\n> On 11/18/06, Jakub Narebski <jnareb@gmail.com> wrote:\n>> Paolo Ciarrocchi wrote:\n>>>\n>>> Browsing the repo I reach the following URL\n>>> http://repo.or.cz/w/LinuxKernelDevelopmentProcess.git?a=blob;f=LinuxKernelDevelopmentProcess.html;hb=HEAD\n>>> that is not accessible.\n>>\n>> Because HEAD is master, not html, and there us no such file in master branch?\n> \n> Fair enough but then there should be no link in the web interface.\n> That sounds like a bug in the interface.\n\nWhere did you find this link? On what page?\n\n\"Browsing the repo\" is not enough information to discover where\nthere is a bug.\n-- \nJakub Narebski\n"},{"id":"294901","messageId":"200611181921.25873.jnareb@gmail.com","threadId":"43421","inReplyTo":"4d8e3fd30611181003o6374f01cy504c0c058f374f1@mail.gmail.com","subject":"Re: Possible but in gitweb","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2006-11-18T18:21:25Z","receivedAt":"2006-11-18T18:21:25Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"Paolo Ciarrocchi wrote:\n> On 11/18/06, Jakub Narebski <jnareb@gmail.com> wrote:\n>> Paolo Ciarrocchi wrote:\n>>> On 11/18/06, Jakub Narebski <jnareb@gmail.com> wrote:\n>>>> Paolo Ciarrocchi wrote:\n>>>>>\n>>>>> Browsing the repo I reach the following URL\n>>>>> http://repo.or.cz/w/LinuxKernelDevelopmentProcess.git?a=blob;f=LinuxKernelDevelopmentProcess.html;hb=HEAD\n>>>>> that is not accessible.\n>>>>\n>>>> Because HEAD is master, not html, and there us no such file in master branch?\n>>>\n>>> Fair enough but then there should be no link in the web interface.\n>>> That sounds like a bug in the interface.\n>>\n>> Where did you find this link? On what page?\n> \n> Here:\n> http://repo.or.cz/w/LinuxKernelDevelopmentProcess.git?a=blob;f=LinuxKernelDevelopmentProcess.html;h=b5e39498997930cd14ecddfe120f62c577ce2e28;hb=html\n> \n> try now to press \"HEAD\"\n\nAh, well. This could be considered a bug... but it can be not.\nThe link is clearly marked \"HEAD\", so you are requesting HEAD\nversion of the file... which does not exist.\n\nWe could check if the file has HEAD version, but that is another\ncall to git commands.\n\nWhat you want is the link to the tip of branch (\"head\", \"top\" or \"tip\")...\nyou are welcome to add that (or replace \"HEAD\" link with that).\nTip: href(...,hash_base => $hash_base,...)\n\n-- \nJakub Narebski\n"},{"id":"297213","messageId":"20061118184142.GN7201@pasky.or.cz","threadId":"43421","inReplyTo":"200611181901.31708.jnareb@gmail.com","subject":"Re: Possible but in gitweb","fromName":"Petr Baudis","fromEmail":"pasky@suse.cz","sentAt":"2006-11-18T18:41:42Z","receivedAt":"2006-11-18T18:41:42Z","isPatch":false,"sender":{"key":"pasky@ucw.cz","avatar":"https://avatars.githubusercontent.com/u/18439?v=4"},"body":"On Sat, Nov 18, 2006 at 07:01:30PM CET, Jakub Narebski wrote:\n> Paolo Ciarrocchi wrote:\n> > On 11/18/06, Jakub Narebski <jnareb@gmail.com> wrote:\n> >> Paolo Ciarrocchi wrote:\n> >>>\n> >>> Browsing the repo I reach the following URL\n> >>> http://repo.or.cz/w/LinuxKernelDevelopmentProcess.git?a=blob;f=LinuxKernelDevelopmentProcess.html;hb=HEAD\n> >>> that is not accessible.\n> >>\n> >> Because HEAD is master, not html, and there us no such file in master branch?\n> > \n> > Fair enough but then there should be no link in the web interface.\n> > That sounds like a bug in the interface.\n> \n> Where did you find this link? On what page?\n> \n> \"Browsing the repo\" is not enough information to discover where\n> there is a bug.\n\nIt's not really hard to find. :-)\n\nhttp://repo.or.cz/w/LinuxKernelDevelopmentProcess.git?a=blob;f=LinuxKernelDevelopmentProcess.html;h=b5e39498997930cd14ecddfe120f62c577ce2e28;hb=html\n\nI think the link shouldn't be 'HEAD' but 'latest' and point to the\nlatest version in the currently browser branch.\n\n-- \n\t\t\t\tPetr \"Pasky\" Baudis\nStuff: http://pasky.or.cz/\nThe meaning of Stonehenge in Traflamadorian, when viewed from above, is:\n\"Replacement part being rushed with all possible speed.\"\n"},{"id":"297536","messageId":"20061118190652.29135.qmail@web31810.mail.mud.yahoo.com","threadId":"43421","inReplyTo":"200611181921.25873.jnareb@gmail.com","subject":"Re: Possible but in gitweb","fromName":"Luben Tuikov","fromEmail":"ltuikov@yahoo.com","sentAt":"2006-11-18T19:06:52Z","receivedAt":"2006-11-18T19:06:52Z","isPatch":false,"sender":{"key":"ltuikov@yahoo.com","avatar":null},"body":"--- Jakub Narebski <jnareb@gmail.com> wrote:\n> Paolo Ciarrocchi wrote:\n> > On 11/18/06, Jakub Narebski <jnareb@gmail.com> wrote:\n> >> Paolo Ciarrocchi wrote:\n> >>> On 11/18/06, Jakub Narebski <jnareb@gmail.com> wrote:\n> >>>> Paolo Ciarrocchi wrote:\n> >>>>>\n> >>>>> Browsing the repo I reach the following URL\n> >>>>>\n>\nhttp://repo.or.cz/w/LinuxKernelDevelopmentProcess.git?a=blob;f=LinuxKernelDevelopmentProcess.html;hb=HEAD\n> >>>>> that is not accessible.\n> >>>>\n> >>>> Because HEAD is master, not html, and there us no such file in master branch?\n> >>>\n> >>> Fair enough but then there should be no link in the web interface.\n> >>> That sounds like a bug in the interface.\n> >>\n> >> Where did you find this link? On what page?\n> > \n> > Here:\n> >\n>\nhttp://repo.or.cz/w/LinuxKernelDevelopmentProcess.git?a=blob;f=LinuxKernelDevelopmentProcess.html;h=b5e39498997930cd14ecddfe120f62c577ce2e28;hb=html\n> > \n> > try now to press \"HEAD\"\n> \n> Ah, well. This could be considered a bug... but it can be not.\n> The link is clearly marked \"HEAD\", so you are requesting HEAD\n> version of the file... which does not exist.\n> \n> We could check if the file has HEAD version, but that is another\n> call to git commands.\n> \n> What you want is the link to the tip of branch (\"head\", \"top\" or \"tip\")...\n> you are welcome to add that (or replace \"HEAD\" link with that).\n\nI think so too, at lest this is the intention: \"head of line\", \"latest\"\nwhatever you want to call it, in the branch context one is at.\n\n    Luben\n\n\n> Tip: href(...,hash_base => $hash_base,...)\n> \n> -- \n> Jakub Narebski\n> Poland\n> -\n> To unsubscribe from this list: send the line \"unsubscribe git\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n> \n"}]}