[Catalog-sig] PKG-INFO exports?

Richard Jones richardjones@optushome.com.au
Thu, 17 Apr 2003 11:06:57 +1000


On Thu, 17 Apr 2003 10:48 am, Kevin Turner wrote:
> On Wed, 2003-04-16 at 16:38, Richard Jones wrote:
> > Sure. I'll give you access to the SF project if that'll make things
> > easier.
>
> Thanks, my sourceforge username is 'acapnotic'.

OK, you're added.


> I can think of two ways to do this, one is to add a new action
> 'raw_display', the other would be to add a 'format' parameter to the
> existing 'display' argument, which would default to a pretty HTML view,
> but could also be set to PKG-INFO.  With that, you could later offer
> extensions for yaml or xml/rdf or what have you, without a proliferation
> of different action types.

I'd prefer to go with raw_display. Or rather, display_pkginfo. That seems to 
fit in better with the general feel of the code.

As you will have noticed by looking in the webui code, it's grown somewhat 
haphazardly :) In hindsight, I should have made use of some web framework, 
but when I started I had such a small requirement of the web interface I 
didn't feel it was necessary. Ho hum :)


    Richard