Loggerhead and friendly URLs

Martin Pool mbp at canonical.com
Wed Jul 28 07:43:29 BST 2010


On 28 July 2010 02:00, Marius Gedminas <marius at pov.lt> wrote:
> One of the things I dislike about loggerhead is the cumbersome URLs.
> Example:
>
>  file list:
>    http://bazaar.launchpad.net/~zodbbrowser-dev/zodbbrowser/trunk/files
>
>  file list in a subdirectory:
>    http://bazaar.launchpad.net/~zodbbrowser-dev/zodbbrowser/trunk/files/head:/src/zodbbrowser/
>
>  single file:
>    http://bazaar.launchpad.net/~zodbbrowser-dev/zodbbrowser/trunk/annotate/head:/src/zodbbrowser/__init__.py
>
>  This is not something you can remember and type out of the blue.
>  Well, maybe you can; I can't.  (When I switched from ViewVC to Trac I
>  fell in love with it because I could suddenly generate correct URLs
>  in my head.)

I agree, I think it would be reasonable for something that looks like
a path to a file to in fact give you the contents of the file.
There's a bit of a question there about whether you should get just
the contents by default or some html that can include links, but it
shouldn't require you to insert "annotate/" and "head:/" bits.


-- 
Martin



More information about the bazaar mailing list