Infrastructure for maintaining a directory with index files
Robert Collins
robertc at robertcollins.net
Sun Dec 13 21:35:38 GMT 2009
On Sun, 2009-12-13 at 21:40 +0100, Jelmer Vernooij wrote:
> Hi,
>
> I'm currently trying to use BTreeIndex to store the SHA map in bzr-git.
> With the current prototype I have this seems to work quite well.
>
> Is there any helper class that can assist me in working with a directory
> with index files, or (if there isn't) would it make sense to create one?
I started on a 'littletable' project but its not really mature enough to
use yet.
> bzrlib and bzr-search both do their own management (auto-packing, format
> checking, dealing with uploading new indexes) at the moment. This is a
> relatively large amount of code that I would rather avoid duplicating in
> bzr-svn, bzr-git and bzr-hg.
If you were to create a class that is ignorant of the internals that it
is managing and is given various callbacks, that would be a nice step.
Ideally that could simplify some of the repository pack classes too.
-Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20091214/2a29a3d8/attachment.pgp
More information about the bazaar
mailing list