Cannot view a directory by editing urls

Bug #569358 reported by Jasper St. Pierre
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
loggerhead
Fix Released
Low
Unassigned

Bug Description

URLs should be hand-editable friendly. My first instinct to go from "blob/a/b/c.txt" to its parent directory or the root of a repo is to delete the filename portion of the URL, which becomes "blob/a/b/". This does not work in Loggerhead. cgit handles this nicely by having a soft redirect from the incorrect "blob/a/b/" URL to the correct "tree/a/b/".

Related branches

Revision history for this message
Robert Collins (lifeless) wrote :

So there are two separate issues here; the ':' issue - I've not seen a browser that had trouble, and most show it as : in the url bar. Lets then focus on the other issue.

summary: - Code viewer URLs have problems
+ Cannot view a directory by editing urls
description: updated
Changed in loggerhead:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Max Kanat-Alexander (mkanat) wrote :

Oh, yeah, a soft redirect is a good idea. :-) Much better than trying to re-work all the controllers into a single "browse" controller.

Revision history for this message
Jasper St. Pierre (jstpierre) wrote :

"Cannot view a directory" -- just want to make it explicit that file redirects from tree, like "tree/a/b/c.txt" should be added too if it's not too hard.

Revision history for this message
Jasper St. Pierre (jstpierre) wrote :

This has been fixed for some time now.

Changed in loggerhead:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.