From owner-freebsd-ports@FreeBSD.ORG Fri Aug 20 00:00:17 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7EA0410656A9 for ; Fri, 20 Aug 2010 00:00:17 +0000 (UTC) (envelope-from jktrigg@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 3AAF28FC20 for ; Fri, 20 Aug 2010 00:00:12 +0000 (UTC) Received: by wwb31 with SMTP id 31so1403019wwb.31 for ; Thu, 19 Aug 2010 17:00:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=3ZG8xqMahB/Qn0OY4VwgZ/V/aDD5zICqCsPPfXXwPg8=; b=g+0IxhAsS+k9aW5B5b2T4SCScsyj7DUL25MYEuhvNXMHiZ2/9Ev6fhTWlSMP+Qu+hV X+fvG3I6UocpJTv4IXjCJ+cp4HcjR9SFkqwCffV22lS/6oDX6B4Noo9D+rFodD9Eg2DA 40SAMvMG9qPS+8mDOiNclOwZjUQBcTtveSrP0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=sqip1Qvk6i3Ejt3M+r7lw+KjU4VDqdGkUM4/3SauCTipZUvMzBwOIOj/dMZ9ynSzk9 9pKuYQHtgXSIlkX2LVkDuCxH/C4NTJQNvCnZjmZe8dG08ReHXG0Zkqu+LPds7Wowc+ma /bXD3d5XxQo1UVhQWKYdCOKfCWoP3QL88WAgY= MIME-Version: 1.0 Received: by 10.216.17.194 with SMTP id j44mr450802wej.68.1282262412099; Thu, 19 Aug 2010 17:00:12 -0700 (PDT) Received: by 10.216.53.137 with HTTP; Thu, 19 Aug 2010 17:00:12 -0700 (PDT) In-Reply-To: References: <20100819143830.GJ35140@azathoth.lan> <4C6DA0FA.7080203@DataIX.net> Date: Thu, 19 Aug 2010 20:00:12 -0400 Message-ID: From: Jim Trigg To: Ivan Voras Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-ports@freebsd.org Subject: Re: what next for the pkg_install rewrite X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2010 00:00:17 -0000 On Thu, Aug 19, 2010 at 6:10 PM, Ivan Voras wrote: > On 19/08/2010, jhell 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