Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 2010 20:00:12 -0400
From:      Jim Trigg <jktrigg@gmail.com>
To:        Ivan Voras <ivoras@freebsd.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: what next for the pkg_install rewrite
Message-ID:  <AANLkTikTwvYh6Mt%2BiWwnAOF=e1rWcjADfB7L7c_Ok3zV@mail.gmail.com>
In-Reply-To: <AANLkTi=h_GdAFbZ2X0agCAtyLLiwNrMoLx_ZunhBBx2=@mail.gmail.com>
References:  <20100819143830.GJ35140@azathoth.lan> <AANLkTimY=FJas-oXkWwO07QtaD%2BGrLockgJ_SZQJ7UHM@mail.gmail.com> <AANLkTimhh2vOtXUb-frzWcZmANWyEC7oPtTgepzvOtSB@mail.gmail.com> <4C6DA0FA.7080203@DataIX.net> <AANLkTi=h_GdAFbZ2X0agCAtyLLiwNrMoLx_ZunhBBx2=@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 19, 2010 at 6:10 PM, Ivan Voras <ivoras@freebsd.org> wrote:
> On 19/08/2010, jhell <jhell@dataix.net> wrote:
>> =A0 =A0 =A0 Adding to this I would like to see a central database create=
d for
>> packages that have been removed like in Slackware Linux. They keep a
>> file in /var/log/preserved_packages with a flat text format with the
>> file name looking like:
>>
>> ${PORTNAME}-${PORTVERSION}${PORTREVISION}-`date +%Y%m%d%H%M%S`
>
> Ah yes, you reminded me of this other thing: I would also suggest
> getting rid of text files carrying rich information in ad-hoc formats
> :)
>
> I'm not saying XML should be the only choice, but it *is* well
> supported - expat is even in base as libbsdxml.

That might be acceptable.

> While suggesting nebulous things I know will be hard to pass near a
> lot of people: sqlite is *the* choice for any record-based file
> databases today. The single most important thing I'll promote with it
> is its transaction capabilities and ACID - these would get much use if
> parallel operations (upgrades / installs) are to be supported. There
> are a ton of other reasons too.

On the other hand, I have strong philosophical objections to core
port/package management utilities requiring large support structures
of other ports/packages.

Jim



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikTwvYh6Mt%2BiWwnAOF=e1rWcjADfB7L7c_Ok3zV>