On Wed, Apr 28, 2010 at 6:39 PM, Allan McRae <allan@archlinux.org> wrote:
On 29/04/10 03:42, Aaron Griffin wrote:
On Wed, Apr 28, 2010 at 12:21 PM, Pierre Schmitz<pierre@archlinux.de> wrote:
<snip>
* Does this also work with the old layout/packages? (especially the cleanup and move scripts)
No. What will have to happen is that all packages will need to be moved to /srv/ftp/packages/os/*/ and symlinked to where they actually end up (with relative symlinks, for the purposes of rsync). This can be scripted away fairly quickly.
That is going to be a painful initial rsync... Is it just the clean-up script that can not handle the change?
I'm sure we could figure something out... the cleanup script does one thing that is incompatible: it removes (rm) files from each repo if not in the DB - this assumes it is a symlink. It should be fairly easy to replace that with a "if symlink, rm, else mv to cleanup" Can anyone else see anything incompatible here?