1 |
On Wed, Apr 25, 2001 at 08:17:39PM +0200, Sebastian Werner wrote: |
2 |
> Rebuild Dependecies - a really good idea. I wonder that Gentoo don't save |
3 |
> package-information in a database like db3 or postres. It's not really fast |
4 |
> to search hundrets of ebuild-files or? |
5 |
|
6 |
We don't use a database because we are modeled after the FreeBSD ports system. |
7 |
Many people prefer plain text in /var/db/pkg so that they can easily see what's |
8 |
going on without using a special tool. |
9 |
|
10 |
However, we now have a dblink() python class that handles database access, |
11 |
specifically designed to allow mysql, db3, postgres, oracle, etc backends to be |
12 |
added easily. If you implement a new db-aware dblink() class, portage will |
13 |
automatically store all data in a database rather than in text files. |
14 |
|
15 |
But the default db format is likely to remain plain-text since it is preferred |
16 |
by many users and is the least-complex solution. And, it's very likely that |
17 |
the dblink() class will be moved to C++ at some point... which will increase |
18 |
performance by a good amount. |
19 |
|
20 |
Best Regards, |
21 |
|
22 |
-- |
23 |
Daniel Robbins <drobbins@g.o> |
24 |
President/CEO http://www.gentoo.org |
25 |
Gentoo Technologies, Inc. |