Am 24.07.2014 um 23:43 schrieb Stephan Eggermont <step...@stack.nl>:

> If you use a shared package cache, you should be aware of two potential 
> issues:
> - directories with a large number of files can get slow;

I don't think that this is an issue with todays filesystems. If you want to 
cleanup a package-cache you could use something like this

----
$ cat bin/clean-package-cache
#!/bin/sh

find /opt/mc/package-cache/ -atime +180d -exec mv {} ~/.Trash \;
——

It moves all files that have not been accessed for half a year into the trash 
folder (I'm a Mac user). You can have this run automatically if add a file 

----
$ cat Library/LaunchAgents/org.selfish.cleanPackageCache.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" 
"http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>org.selfish.cleanPackageCache</string>
    <key>ProgramArguments</key>
    <array>
        <string>/Users/norbert/bin/clean-package-cache</string>
    </array>
    <key>StartInterval</key>
    <integer>86400</integer>
</dict>
</plist>
——

> - Metacello configurations might load different versions of packages than 
> you'd expect

Indeed

Norbert

Reply via email to