PostgreSQL cross-reference using LXR
Has anyone ever considered setting up LXR to cross-reference pgsql
source on developer.postgresql.org or maybe techdocs.postgresql.org? I
have seen it used in a couple of projects (originally written for the
Linux kernel; lxr.php.net is another user), and it seems pretty useful.
I set one up if anyone wants to take a look:
http://www.joeconway.com/lxr.pgsql/
It just needs apache, perl, glimpse, agrep, and a small amount of
configuration (and of course a fresh copy of cvs tip).
Joe
I'd love such a service...
Makes it a lot easier for me to figure out what the heck all the functions
and types are...
Chris
Show quoted text
-----Original Message-----
From: pgsql-hackers-owner@postgresql.org
[mailto:pgsql-hackers-owner@postgresql.org]On Behalf Of Joe Conway
Sent: Tuesday, 26 March 2002 2:32 PM
To: pgsql-hackers
Subject: [HACKERS] PostgreSQL cross-reference using LXRHas anyone ever considered setting up LXR to cross-reference pgsql
source on developer.postgresql.org or maybe techdocs.postgresql.org? I
have seen it used in a couple of projects (originally written for the
Linux kernel; lxr.php.net is another user), and it seems pretty useful.
I set one up if anyone wants to take a look:http://www.joeconway.com/lxr.pgsql/
It just needs apache, perl, glimpse, agrep, and a small amount of
configuration (and of course a fresh copy of cvs tip).Joe
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?
http://www.joeconway.com/lxr.pgsql/
It just needs apache, perl, glimpse, agrep, and a small amount of
configuration (and of course a fresh copy of cvs tip).
I've long used glimpse + an emacs macro for searching the sources.
LXR seems to add little to the glimpse engine except for an unreliable
gloss on what the references are --- for entertainment try searching
on a common local variable name, eg
http://www.joeconway.com/lxr.pgsql/ident?i=relname
(I think I'd better look for myself instead of trust this).
Another problem is that actually examining each reference is ungodly
painful in LXR --- I don't even see *how* to visit multiple references
in a single file, and you certainly can't visit a bunch of 'em without
lots of mousing-around. Never mind editing each one once you've found
it.
Think I'll stick with Control-x backquote ...
regards, tom lane