[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Document Management

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-05-03 21:00:36 CEST

On Fri, May 03, 2002 at 09:02:56AM -0500, Ben Collins-Sussman wrote:
> Alan Langford <jal@ambitonline.com> writes:
> > The question is are there facilities or hooks for doing things like
> > document profiling and indexing (or how difficult is it to implement
> > this functionality).
> >
> > It would be nice, for example, if Subversion could trigger an indexing
> > process on the type of file being checked in (documents get indexed by
> > a scan of the file, images accept a keyword list). Presumably this
> > leads to search-based retrieval capabilities...
> Sure, just like CVS, the SVN repository has pre- and post-commit hooks
> that you can attach scripts to. That's where you'd do your indexing.

Yup. I would think that you would have a post-commit script (not pre -- you
want to wait for the thing to actually be committed). That script would send
the documents to index over to the indexer daemon. That would add the thing
onto a queue (if it isn't already there), and start/continue processing the

That script can process the triggers, or the daemon could do it. Note that
the daemon could also talk to the repository through the libraries, for easy
access to the content, revisions, changes, etc.


Greg Stein, http://www.lyra.org/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri May 3 20:59:45 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.