Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 May 2007 23:25:58 +0200
From:      Ivan Voras <ivoras@fer.hr>
To:        freebsd-hackers@freebsd.org
Subject:   Re: DPS Initial Ideas
Message-ID:  <f25bd9$8k3$1@sea.gmane.org>
In-Reply-To: <20070512193302.GA24673@xor.obsecurity.org>
References:  <20070512004209.GA12218@lpthe.jussieu.fr>	<17989.8202.624522.136573@bhuda.mired.org>	<20070512090935.GA13929@lpthe.jussieu.fr> <20070512193302.GA24673@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigF6442AB842370A2BED6C0E76
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Kris Kennaway wrote:

> First figure out what specific problems need to be solved, then figure
> out how to solve them, not the other way around.  So far I have seen
> little discussion of how SQLite is necessary and sufficient for fixing
> fundamental issues.  The argument in favour of SQL seems to boil down
> to "It's SQL!  You can do more complex queries...if you wanted to".

I've posted some general ideas (resulting from my experience using the
package / port system, not developing for it):

1. speed and simplicity of querying (single query vs traversing a tree
of text files)
2. formal data constraints (UNIQUE, CHECK)
3. transaction safety (a consequence of which is the ability to run
concurrent installs / updates)
4. easy interface for 3d party tools

I admit again that I didn't develop anything with the package / ports
subsystems, so there might be other, bigger problems not solvable by
sqlite, but I believe the features above could at least solve
performance problems.

(I also agree there's no point in changing the ports infrastructure
itself, just the package tracking database in base system).


--------------enigF6442AB842370A2BED6C0E76
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGRjDmldnAQVacBcgRAoNjAJ49nGszEsRLWD5nXX9By0+a63Q1vACgyCgB
hA/8hk2m1A0IbmRb2Kijtj4=
=KArl
-----END PGP SIGNATURE-----

--------------enigF6442AB842370A2BED6C0E76--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f25bd9$8k3$1>