[RFC] Repository fasçade
Aaron Bentley
aaron.bentley at utoronto.ca
Tue Jul 17 22:58:28 BST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
There are at least two major changes planned in terms of the repository API:
1. the repository stacking API
2. the elimination of versionedfile from the public interface
The repository stacking API involves implementing the repository API
anew, on top of a collection of repositories. The smaller the
repository API, the easier this work is.
I expect that removing all traces of versionedfiles from the repository
API will be difficult.
Therefore, perhaps it makes sense to start from the opposite direction,
and implement a new repository API. StackedRepository would be one
implementation, and we can either implement the new API on our existing
repositories, or create a new RepositoryFascade class to wrap
implementations of the current API.
I think that this would produce a cleaner API that would be
better-suited to stacking.
Thoughts?
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGnTuE0F+nu1YWqI0RAoWeAJ9IETSwp6Ah+3ZeV45zzF3R9RrJDgCfU9/z
mTXf1BOYp2PD/n6iVxm4WrI=
=n8Oo
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list