Daniel Pielmeier <daniel.pielme...@googlemail.com> posted
4946fb3f.1090...@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 
gotten used to using a set of (local) stub scripts that added in all the 
appropriate switches, including --oneshot, so once I used udept to clean 
up the mess I had created before that, as a Gentoo noob, I was fine.  I 
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 
make use of EMERGE_DEFAULT_OPTS to put --oneshot in there.  If you use 
the latter, you can then create a stub using --ignore-default-opts
--noreplace to add the (presumably already merged) entries to your world 

I actually use --oneshot when merging new stuff now, thus effectively 
giving me a "temporary/testing" merge option.  Then if I decide to keep 
it, I run my stub-script to add it to world, and until I either do that 
or delete it, it stays listed in the --pretend --depclean run I do 
routinely after my weekly update. =:^)

(If you're interested in my stub scripts, mail me offlist and ask.  I can 
tarball them up and send them to you, along with a description of the 
"method to my madness."  I've considered creating a proper package for 
them as I imagine quite a few people would find it useful, but I haven't, 
yet, and in some ways, they're almost too trivial to package.  Maybe if I 
had someone else test them and tell me whether they found them useful 
enough to be worth packaging...  You may also find Steve Long's emerge 
helper script useful.  It's a bit more featureful than my stub scripts, 
which are pretty much just bare emerge wrappers.  I believe it can be 
found in the forums.)

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

Reply via email to