First, thanks for the prompt reply. On Thu, Jan 15, 2009 at 10:32:44AM +0100, Johan Sørensen wrote: > > On Wed, Jan 14, 2009 at 10:29 PM, Sébastien Mazy <[email protected]> wrote: > > > > 1) If there are no branches directly under refs/heads but only in > > subdirectories, the link "source tree" is broken and a "The page you > > were looking for doesn't exist." is displayed: > > http://gitorious.org/projects/testing-ground-1/repos/mainline/trees > > Thanks, this has been fixed in 3dbb58e3 and will be part of the next deploy.
> > 3) If you go in the 'commits' view while having only subdirectory branches, > > you get a 404 error: > > http://gitorious.org/projects/testing-ground-1/repos/mainline/logs > > This should be fixed as well in the above commit. Great! Thanks. > > 2) In the source tree view, the link for subdirectory branches directs > > to a particular commit instead of the tip of the branch: > > > > http://gitorious.org/projects/testing-ground-1/repos/mainline/trees/592d4d11dbeeb4007b1fefde0a821166353c5785 > > instead of: > > > > http://gitorious.org/projects/testing-ground-1/repos/mainline/trees/directory/branch1 > > It is rendering the tree of the head commit of that particular branch. > The reason it redirects to the commit sha and not the branch name is > that rails doesn't support multiple wildcard paths (eg > slashed_path/another_slashed_path) since it tell them apart easily. > Hence we use the commit sha of the tip commit in that particular > branch. And isn't it possible to get round this limitation of Rails? (just asking, never wrote anything using Rails or even Ruby) I see 2 problems in the current behaviour: - nitpicking: the URIs are not consistent depending on whether you're on a subdirectory branch (trees/mybranch vs tress/commit_number) - more annoying: I can't point someone at the tip of a subdirectory branch in gitorious, just to a commit that was once it -- Sébastien Mazy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Gitorious" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/gitorious?hl=en -~----------~----~----~----~------~----~------~--~---
