public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Daniel Robbins <drobbins@gentoo.org>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] some additions to portage/ebuild and some other nice thingys i'dd like :)
Date: Wed Apr 25 13:00:01 2001	[thread overview]
Message-ID: <20010425125955.C9823@cvs.gentoo.org> (raw)
In-Reply-To: <EJEEIJCGLLBLCNCCMJHEAEGDCBAA.sebastian@werner-productions.de>; from sebastian@werner-productions.de on Wed, Apr 25, 2001 at 08:17:39PM +0200

On Wed, Apr 25, 2001 at 08:17:39PM +0200, Sebastian Werner wrote:
> Rebuild Dependecies - a really good idea. I wonder that Gentoo don't save
> package-information in a database like db3 or postres. It's not really fast
> to search hundrets of ebuild-files or?

We don't use a database because we are modeled after the FreeBSD ports system.
Many people prefer plain text in /var/db/pkg so that they can easily see what's
going on without using a special tool.

However, we now have a dblink() python class that handles database access,
specifically designed to allow mysql, db3, postgres, oracle, etc backends to be
added easily.  If you implement a new db-aware dblink() class, portage will
automatically store all data in a database rather than in text files.

But the default db format is likely to remain plain-text since it is preferred
by many users and is the least-complex solution.  And, it's very likely that
the dblink() class will be moved to C++ at some point... which will increase
performance by a good amount.

Best Regards,

-- 
Daniel Robbins					<drobbins@gentoo.org>
President/CEO					http://www.gentoo.org 
Gentoo Technologies, Inc.			



  reply	other threads:[~2001-04-25 18:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-25 12:11 [gentoo-dev] some additions to portage/ebuild and some other nice thingys i'dd like :) troxx
2001-04-25 12:24 ` AW: " Sebastian Werner
2001-04-25 13:00   ` Daniel Robbins [this message]
2001-04-25 13:12   ` Achim Gottinger
2001-04-25 12:53 ` Daniel Robbins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010425125955.C9823@cvs.gentoo.org \
    --to=drobbins@gentoo.org \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox