From owner-freebsd-ports@FreeBSD.ORG Thu Jul 31 14:05:25 2008 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 4F05F1065670 for ; Thu, 31 Jul 2008 14:05:25 +0000 (UTC) (envelope-from freebsd-ports@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id C83F68FC15 for ; Thu, 31 Jul 2008 14:05:24 +0000 (UTC) (envelope-from freebsd-ports@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KOYmO-0001aq-0F for freebsd-ports@freebsd.org; Thu, 31 Jul 2008 14:05:20 +0000 Received: from 89-172-54-134.adsl.net.t-com.hr ([89.172.54.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 31 Jul 2008 14:05:19 +0000 Received: from ivoras by 89-172-54-134.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 31 Jul 2008 14:05:19 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-ports@freebsd.org From: Ivan Voras Date: Thu, 31 Jul 2008 16:05:05 +0200 Lines: 59 Message-ID: References: <489144B5.4030101@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigCC9A1F75B2713C76EC4A5D4E" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 89-172-54-134.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: <489144B5.4030101@FreeBSD.org> X-Enigmail-Version: 0.95.6 Sender: news Subject: Re: Call for comments - pkg_trans 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: Thu, 31 Jul 2008 14:05:25 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigCC9A1F75B2713C76EC4A5D4E Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Doug Barton wrote: > You have some very interesting ideas there. Not that I want to dissuade= =20 > you in any way from doing this, but I would like to point out that=20 > portmaster already does some of what you're suggesting and it could=20 > fairly easily be modified to do just about all the rest of it. The two = I really want the standard ways of installing and upgrading packages=20 (make install, portinstall) to support those features. > In terms of the rest of your proposal, off the top of my head the=20 > transaction IDs should probably be saved in /var/db/ports. I need to=20 > think harder about what format .... you could probably have a=20 > /var/db/ports/trans/ and then save the logs of the transactions as=20 > individual files by transaction ID. The wheels are spinning in my mind = I don't think this is a big problem. I have an idea how to record this da= ta. > right now about how this could get hairy down the road when you install= =20 > a bunch of stuff as dependencies for fooport, then you start doing=20 > upgrades on the individual dependencies the log of the transaction=20 > quickly becomes less valuable. Some thought would have to be given to=20 > exactly what the goals are, how long those logs should be valid/useful,= =20 > etc. Yes, rolling back old transactions, after individual packages in them=20 have been updated will be a problem. I see a way out of it if only=20 portupgrade is used for the upgrading so information exists about which=20 package is upgraded by which. --------------enigCC9A1F75B2713C76EC4A5D4E 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.2.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIkcaSldnAQVacBcgRApaDAKCUUpkHiJXICWGGx05Yw+JrDJ5/CgCfWta4 9HCUeOio6Oa7uYAEvbm9XW0= =Yh2X -----END PGP SIGNATURE----- --------------enigCC9A1F75B2713C76EC4A5D4E--