← Back to team overview

sloecode-dev team mailing list archive

Re: Loggerhead plugin for Sloecode

 

Hi Guy,

On 9 January 2012 11:42, Guy K. Kloss <guy.kloss@xxxxxxxxx> wrote:

> Is there already, or somebody working on, a plugin (such as Loggerhead)
> for source code browsing in Sloecode? Obviously it could be another one
> as well, but it seems like Loggerhead is a good fit (see [1, 2]).
>
>
It's something I want to do, and I've already looked into intergrating
loggerhead with sloecode. However, there are a few problems with the way
loggerhead is written that makes it hard to intergrate nicely. From memory
(it was at least 6 months since I looked at this), loggerhead has no easy
way to render just part of a page - which is what we need in order to
integrate it with sloecode. Ideally there's be a loggerhead API that allows
sloecode to say "Render the history view for this file and give me the
result", or "render the branch log and give me the result", WITHOUT getting
the entire page (i.e.- navigation, <head>, and footer elements are left
out, and can be requested separately.


If I had more time, I'd investigate starting again with something that uses
jinja2 templates and takes a lot of the logic from loggerhead, but provides
a more flexible interface.


> If there's interest, but nobody has made an attempt/start at it, yet, it
> might be good to propose that as a project to some students here. We've
> got at our school two-semester projects for a smallish group of students
> (2-4 per project) to work away on. And I think this may be decent for
> such a project.
>
>
That would be awesome - I'm happy to act as a "client" to provide answers
or guidance where needed. If you're keen to do this we should talk in
greater detail at some point about how to get the ball rolling.


Cheers,


-- 
Thomi Richards

Follow ups

References