On Thu, Sep 06, 2012 at 03:35:50PM +0200, Stefano Rivera wrote: > Hi ubuntu-devel (2012.09.06_15:31:14_+0200) > > The hooks just run a script provided by another package (in the > > archive). It makes the decisions on how to collate things.
> A (hopefully) clearer attempt to articulate this: > We make the extras packages entirely self-contained and namespaced. > Then, we provide some machinery outside them that handles collates > things across extras packages. If there's some kind of conflict here, > (although it should be avoidable), it's not an issue. It just results in > a broken extras package. Not broken in a way that stops apt from > working. And it doesn't break anything in the Ubuntu archive, only the > conflicting extras packages. There's no reason that any of this should be done in a postinst hook. If we already have a scheme to make the extras packages properly namespaced with no conflicts, the same class of namespacing should be used as well for the integration points (the shared directories), and the files should all be shipped in the package. "If there's a conflict" means it's designed wrong, because this should be done in a way that there's never a conflict. It's completely achievable to have our packaging helper create the correct symlinks automatically. Compared to the work of getting the package installed correctly in /opt/extras.u.c/$pkg, it's a piece of cake, even. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer http://www.debian.org/ [email protected] [email protected]
signature.asc
Description: Digital signature
-- ubuntu-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel
