From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32207 invoked from network); 15 Apr 2004 06:58:03 +0000 Received: from smtp.gentoo.org (128.193.0.39) by eagle.gentoo.oregonstate.edu with DES-CBC3-SHA encrypted SMTP; 15 Apr 2004 06:58:03 +0000 Received: from lists.gentoo.org ([128.193.0.34] helo=eagle.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.24) id 1BE0p0-0001Bm-SH for arch-gentoo-dev@lists.gentoo.org; Thu, 15 Apr 2004 06:58:02 +0000 Received: (qmail 15399 invoked by uid 50004); 15 Apr 2004 06:58:02 +0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 4212 invoked from network); 15 Apr 2004 06:58:02 +0000 Date: Thu, 15 Apr 2004 00:06:22 -0700 From: Drake Wyrm To: gentoo-dev@lists.gentoo.org Message-ID: <20040415070622.GA7428@phaenix.haell.com> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <407D1434.3060900@go.ro> <1081942559.25334.43.camel@exodus> <407D2FBE.3060804@gentoo.org> <407DA0C8.9050507@go.ro> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0F1p//8PRICkK4MW" Content-Disposition: inline In-Reply-To: <407DA0C8.9050507@go.ro> X-Files: The truth is out there X-Arch: athlon_tbird-gentoo-linux-gnu X-Banner: This space for rent X-Fnord: There is no conspiracy X-Fortune: Some things have to be believed to be seen. User-Agent: Mutt/1.5.6i Subject: Re: [gentoo-dev] another portage ideea :) X-Archives-Salt: 65b28b78-8ad6-437d-9690-607c44382902 X-Archives-Hash: 6c06dbe57d0fee90f1cb0eb88ce62df3 --0F1p//8PRICkK4MW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, 2004-04-14, 23:36:24 +0300, in <407DA0C8.9050507@go.ro>, KRimminal wrote: [snip] > i wasn't talking about the unused ones, just the ones that have newer > downloaded releases. like portage-1-2-3-4 would be replaced by > portage-2-3-4-5 thus making portage-1-2-3-4 obsolete, and so, a > clutter. Random thoughts: 1. When updating a package, say from foo-1.2 to foo-2.3, move the sources for foo-1.2 from $DISTDIR to $DISTDIR/old. Portage can still find the sources (once it's updated to look in $DISTDIR/old also), but can be manually scrubbed. 2. Change ebuild.sh so that it "installs" the sources in $DISTDIR. When packages are unmerged and/or updated, the cruft will vanish. Those who dislike that behavior can add $DISTDIR to their CONFIG_PROTECT. Even a cfg-protected distdir would be easier to maintain. bash-2.05b$ equery belongs /usr/portage/distfiles/foo-2.3.tbz2 Searching for '/usr/portage/distfiles/foo-2.3.tbz2'... sys-misc/foo-2.3 (/usr/portage/distfiles/foo-2.3.tbz2) bash-2.05b$ equery belongs /usr/portage/distfiles/foo-1.2.tbz2 Searching for '/usr/portage/distfiles/foo-1.2.tbz2'... bash-2.05b$ --=20 Batou: Hey, Major... You ever hear of "human rights"? Kusanagi: I understand the concept, but I've never seen it in action. --Ghost in the Shell --0F1p//8PRICkK4MW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iEYEARECAAYFAkB+NG4ACgkQgFt3Np/YxLNIlgCfdKentJhgZWewgG5iZABxQ4dH ZloAn23c//K/mYJAUVf7ZpI9CAUIT1zF =1Mff -----END PGP SIGNATURE----- --0F1p//8PRICkK4MW--