1 |
On 05/07/2015 11:43 AM, Zac Medico wrote: |
2 |
> It certainly be nicer if the data from vdb_metadata.pickle had the |
3 |
> packages indexed by ${CATEGORY}/${PN}, so that the sequential search |
4 |
> would not be necessary. We should do that later if we decide to modify |
5 |
> the vdb_metadata.pickle format in a backward-incompatible way. |
6 |
d |
7 |
Actually, we can add as many additional indexes as we want to the |
8 |
pickle, and older portage would still be able the read the existing |
9 |
structure if we keep it compatible. It's not terribly important to |
10 |
maintain this sort of backward compatibility though. The worst case is |
11 |
that the old version of portage has to re-read /var/db/pkg and generate |
12 |
a new pickle. |
13 |
-- |
14 |
Thanks, |
15 |
Zac |