From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LCTlR-0006Rw-KA for garchives@archives.gentoo.org; Tue, 16 Dec 2008 06:50:41 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 37C96E067A; Tue, 16 Dec 2008 06:50:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id DE08BE067A for ; Tue, 16 Dec 2008 06:50:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 6FD77654B1 for ; Tue, 16 Dec 2008 06:50:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -2.952 X-Spam-Level: X-Spam-Status: No, score=-2.952 required=5.5 tests=[AWL=0.647, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YZPHsdCGVWVf for ; Tue, 16 Dec 2008 06:50:33 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 6E0A1654AC for ; Tue, 16 Dec 2008 06:50:31 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LCTlC-00032S-2U for gentoo-dev@gentoo.org; Tue, 16 Dec 2008 06:50:26 +0000 Received: from ip68-230-99-190.ph.ph.cox.net ([68.230.99.190]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Dec 2008 06:50:26 +0000 Received: from 1i5t5.duncan by ip68-230-99-190.ph.ph.cox.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Dec 2008 06:50:26 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-dev@lists.gentoo.org From: Duncan <1i5t5.duncan@cox.net> Subject: [gentoo-dev] Re: Last Rites: app-portage/udept Date: Tue, 16 Dec 2008 06:50:20 +0000 (UTC) Message-ID: References: <1229371818.21630.7.camel@txslpc1d36.wkst.vzwnet.com> <4946F116.9060002@googlemail.com> <4946FB3F.1090703@googlemail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ip68-230-99-190.ph.ph.cox.net User-Agent: Pan/0.133 (House of Butterflies) Sender: news Content-Transfer-Encoding: quoted-printable X-Archives-Salt: e2bc6f3d-cca9-4a3f-9112-2762c8067c0a X-Archives-Hash: 7fe7b70f39e5988cd1fee6a79d412ca7 Daniel Pielmeier posted 4946FB3F.1090703@googlemail.com, excerpted below, on Tue, 16 Dec 2008 01:50:07 +0100: > It happens to me sometimes that I forget --oneshot and packages are > added to the world file that are not intended to be there. So this > option gives an overview over packages in world that have no reverse > dependencies and thus are probably not needed. FWIW, that's why I originally merged udept. However, by that time I had=20 gotten used to using a set of (local) stub scripts that added in all the=20 appropriate switches, including --oneshot, so once I used udept to clean=20 up the mess I had created before that, as a Gentoo noob, I was fine. I=20 didn't have to worry about using udept for that any more. I'd suggest a similar solution for you, either stub scripts as I use, or=20 make use of EMERGE_DEFAULT_OPTS to put --oneshot in there. If you use=20 the latter, you can then create a stub using --ignore-default-opts --noreplace to add the (presumably already merged) entries to your world=20 file. I actually use --oneshot when merging new stuff now, thus effectively=20 giving me a "temporary/testing" merge option. Then if I decide to keep=20 it, I run my stub-script to add it to world, and until I either do that=20 or delete it, it stays listed in the --pretend --depclean run I do=20 routinely after my weekly update. =3D:^) (If you're interested in my stub scripts, mail me offlist and ask. I can= =20 tarball them up and send them to you, along with a description of the=20 "method to my madness." I've considered creating a proper package for=20 them as I imagine quite a few people would find it useful, but I haven't,= =20 yet, and in some ways, they're almost too trivial to package. Maybe if I= =20 had someone else test them and tell me whether they found them useful=20 enough to be worth packaging... You may also find Steve Long's emerge=20 helper script useful. It's a bit more featureful than my stub scripts,=20 which are pretty much just bare emerge wrappers. I believe it can be=20 found in the forums.) --=20 Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman