How identify and remove leftover files on buildbots?

Marko Käning MK-MacPorts at techno.ms
Sun Nov 2 15:21:20 PST 2014


On 03 Nov 2014, at 00:12 , Ryan Schmidt <ryandesign at macports.org> wrote:
> Any port.

Ok.


> Note that the registry only contains files and symlinks, not directories, which some of the items you're globbing are.

OK.


> If you're sure that no port other than R should be installing anything in ${frameworks_dir}/R.framework, but rkward or some other port previously did without registering that, you could just unconditionally delete that pre-activate.

I mean, that’s what I am doing with the pre-activate phase as is now, right?!
Everything found in there gets deleted.


> Or you could fs-traverse that directory and just delete things not registered to any port.

I haven’t used fs-traverse up to now, but I thought that is what the current implementation of my pre-activate phase does… Or not?


More information about the macports-dev mailing list