public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] RFC: fsmove to profiles/updates
@ 2012-08-07  7:52 Michał Górny
  2012-08-07  8:15 ` Kent Fredric
  0 siblings, 1 reply; 7+ messages in thread
From: Michał Górny @ 2012-08-07  7:52 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 965 bytes --]

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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 316 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-08-08  1:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-07  7:52 [gentoo-dev] RFC: fsmove to profiles/updates Michał Górny
2012-08-07  8:15 ` Kent Fredric
2012-08-07 13:10   ` Peter Stuge
2012-08-07 13:58     ` Michał Górny
2012-08-07 14:48       ` Rich Freeman
2012-08-07 15:03         ` Michał Górny
2012-08-08  1:20       ` Kent Fredric

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox