Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 May 1999 14:18:01 +0200
From:      Ladavac Marino <mladavac@metropolitan.at>
To:        'Nick Hibma' <nick.hibma@jrc.it>, freebsd-ports@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG
Subject:   RE: a two-level port system?  (fwd)
Message-ID:  <55586E7391ACD211B9730000C110027617962F@r-lmh-wi-100.corpnet.at>

next in thread | raw e-mail | index | archive | help
> -----Original Message-----
> From:	Nick Hibma [SMTP:nick.hibma@jrc.it]
> Sent:	Monday, May 31, 1999 2:05 PM
> To:	freebsd-ports@FreeBSD.ORG; freebsd-hackers@FreeBSD.ORG
> Subject:	Re: a two-level port system?  (fwd)
> 
>  > Folks, how about _admitting_ finally that our ports collection is a
>  > database? We wouldn't need anything else than standard system tools
> to
>  > maintain a ports.db file containing all that we want as DB records.
> 
> Some thoughts:
> 
> 1) Cvsupping the while database on every change or writing YAT (Yet
> Another Tool) to do this properly
> 2) Keeping things like Makefiles, descriptions, patches in a database
> 3) making it a binary file instead of Human Readable ASCII
> 
	[ML]  Well, I'll try to make a proof of concept tonight with a
flatfile database not unlike the normal diff over several files.  The
result will be an ascii file which you could diff against and transfer
only the diffs.

	Basically the format will be
	graphics
	graphics/gimp
	graphics/gimp/Makefile
	<blank><line 1 of makefile>
	<you get the idea>

	It will be trivial to expand it into directories in order to
build ports, and compact directories into the file once the port has
been added/updated.

	Advantages:
	1) the file behaves like any other source file as far as CVS and
CVSup is concerned: one stores and transfers diffs only
	2) shar does it (and this will not be much different)
	3) well, it is ascii :)

	/Marino
> IMHO we'd end with something as silly as an OO database.
> 
> Nick
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55586E7391ACD211B9730000C110027617962F>