From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4414 invoked by uid 1002); 11 Dec 2003 12:45:38 -0600 Mailing-List: contact gentoo-portage-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail Reply-To: gentoo-portage-dev@gentoo.org X-BeenThere: gentoo-portage-dev@gentoo.org Received: (qmail 2924 invoked from network); 11 Dec 2003 12:45:38 -0600 Date: Thu, 11 Dec 2003 19:44:55 +0100 From: Patrick =?ISO-8859-1?Q?B=F6rjesson?= To: gentoo-portage-dev@gentoo.org Message-Id: <20031211194455.18c966bf.psycho@rift.ath.cx> X-Mailer: Sylpheed version 0.9.7claws (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Thu__11_Dec_2003_19_44_55_+0100__NiL2/NlgBS6QMBv" Subject: [gentoo-portage-dev] if (world file) then {no add to world when update pkg} X-Archives-Salt: 5904391b-c7b5-498e-a015-1370ca9d0ea2 X-Archives-Hash: 21bd6d6b6521e8dc6c57a12ef894d6d8 --Signature=_Thu__11_Dec_2003_19_44_55_+0100__NiL2/NlgBS6QMBv Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I just thought that if portage-ng is to rely on a world file just as current portage, then one idea would be to not add the packages you update manually with 'emerge -u ' to it. There was a thread in gentoo-user today which took up this matter when someone asked for a way to update all the packages currently installed on his machine. One method is to run 'emerge -Du `qpkg -I -nc`', but as someone pointed out, this would add every single package you have on your system to your world file (which I guess nobody wants) if you didn't supply the --oneshot flag to emerge. I propose that the default behaviour for portage-ng would be to check whether the package you're trying to update is already installed on the system, else do nothing. And if it's installed it shouldn't add the package to world after the merging is completed (which it currently does).=20 Would there be some negative sides of doing it this way? And if not, why is this not default behaviour in current portage? Feedback (in all its forms) appreciated. Patrick B=F6rjesson --=20 Public key ID: 4C5AB0BF Public key available at wwwkeys.pgp.net --Signature=_Thu__11_Dec_2003_19_44_55_+0100__NiL2/NlgBS6QMBv Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/2Lsqoil/ZExasL8RAhBpAJ0cQxTzNk2ym37XHUDfDrECqd05vwCgqx5w OnrPbCZ4nQ+Qm5rcVzP0TgI= =hJKk -----END PGP SIGNATURE----- --Signature=_Thu__11_Dec_2003_19_44_55_+0100__NiL2/NlgBS6QMBv--