From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28311 invoked by uid 1002); 24 Jun 2003 23:57:33 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 23866 invoked from network); 24 Jun 2003 23:57:32 -0000 From: Brian Jackson Organization: brianandsara.net To: gentoo-dev@gentoo.org Date: Tue, 24 Jun 2003 18:57:18 -0500 User-Agent: KMail/1.5.2 References: <200306250000.00937.tclark@telia.com> <1056495898.25716.35.camel@prefect.f00bar.com> <20030625005842.2fa0796c.bain@tcsn.co.za> In-Reply-To: <20030625005842.2fa0796c.bain@tcsn.co.za> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200306241857.18314.brian@mdrx.com> Subject: Re: [gentoo-dev] maybe it is time to put portage queries into a database. X-Archives-Salt: 9a86da3d-6cd0-4280-a154-691d41bbbfa6 X-Archives-Hash: 7344ba6a119cb0eb0ead208504fc1b1d On Tuesday 24 June 2003 05:58 pm, Henti Smith wrote: > On 24 Jun 2003 16:04:58 -0700 > > jesse wrote: > > > isn't db a system lib .. and installed on every machine ? > > > > > > can't you just use that ? > > > > My proposition was to use some connector lib that is compatable with all > > those db formats. so you don't have to re-write a bunch of backend > > drivers or DB specific queries. Im not a python programmer C/Perl are my > > main forte, and you can use DBI to interface with many many db's as long > > as you keep your queries db agnostic, and use the dbi methods. At least > > with postgresql, mysql, and oracle to (some extent) this is the case. > > but since the db system is already part of the default system, why not just > use that. It's really a system function .. and I knwo th "selectable" > databse of choice is a nice to have but do we (gentoo) really want people > to run different DB's for portage backend stuff .. and handle the bug > tracking hell that will result because of it ? I don't think that would scale well(sure a couple of boxes, but I'm probably going to have over ten by the end of the year, and if it scales well enough, that would be a boon for cluster environments where there can be thousands of nodes). I like the idea of having many backends available. That way, people could use whatever suited their environment. Aside from that the libs you are talking about are c libs. If this project aims to be included as part of portage at some point, it needs to be written in portage's native language. I think python has some basic db lib interface built in, I don't know about mysql/postgres/etc. --Brian Jackson -- OpenGFS -- http://opengfs.sourceforge.net Home -- http://www.brianandsara.net -- gentoo-dev@gentoo.org mailing list