current repository management system sucks.

This commit is contained in:
Mehmet D. Akın
2007-03-11 12:56:50 +00:00
parent 0405e82356
commit 6779f925f1
+5
View File
@@ -84,6 +84,11 @@ writing our own simple serialization routines for some objects like Conflicts or
* ComponentDB should not hold lists of Packages that belongs to it. A new index for components to package DB * ComponentDB should not hold lists of Packages that belongs to it. A new index for components to package DB
should be enough. should be enough.
* Current implementation of repository system is suboptimal. We add every package to a Dictionary as a value
repository name as value and add that dictionary to db. For example if I am adding package foo to
packages db, I am actually adding, a Dictionary with [foo, "repotype"] to db.
This is cheap, bloated and slow. We must have different repository databases for packages.
==> class attributes ==> class attributes
* In some classes there are some attributes assigned but never * In some classes there are some attributes assigned but never
used. (see remove_unused_attributes.patch) used. (see remove_unused_attributes.patch)