[bzrweb PATCH] look up repository descriptions in a config file

Martin Pool mbp at sourcefrog.net
Thu May 19 11:52:26 BST 2005


On 19 May 2005, Lalo Martins <lalo at exoweb.net> wrote:
> FWIW, unless I missed something, this begins something new in the list -
> patches to projects other than bzr ;-) I guess this means we're growing.
> 
> Here it is Chris. This reads .bzrweb.conf inside a repository.  There
> isn't much to "conf" yet, but it opens a precedent ;-)

That looks good.

We might separate description of a project from bzrweb-specific
configuration.

Some people have suggested that we should store a DOAP-like_ XML
description of a project in a tree; keeping it in XML might make it
easier for other tools to parse.  On the other hand I think one reason
why DOAP has not been taken up is that it's hard to read and write by
hand, so something simpler might be good.

_ http://usefulinc.com/doap

So perhaps just

<treedescription>
  <title>bazaar-ng</title>
  <shortdescription>...</shortdescription>
  <author>..</author>
</treedescription>

It's easy to recurse off into XML schema madness though; keeping it
simple is definitely good.

-- 
Martin




More information about the bazaar mailing list