Hello,

Right now, every time a bigger bunch of stuff (installed by various
packages) needs to be moved around the filesystem, we have a lot of
work to handle it somehow. And finally, users end up having to either
rebuild a lot of packages to get the files in the new locations, or
we do ugly things to move those files for them.

I believe we should consider implementing something simpler. Thus,
I propose introducing the following new command to profiles/updates:

    fsmove <old-location> <new-location>

which -- at the moment of update -- will cause all PM-owned files
in the old-location to be moved to the new one (recursively), updating
the vdb as necessary.

What remains to be solved/decided:

1. How to treat non-owned files? (leave them there, refuse to proceed
with updates?)

2. How to handle relevant required updates? (packages which
actually *have* to be updated before moving files)

-- 
Best regards,
Michał Górny

Attachment: signature.asc
Description: PGP signature

Reply via email to