Proposing a New App Developer Upload Process
Steve Langasek
steve.langasek at ubuntu.com
Thu Sep 6 16:12:13 UTC 2012
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/
slangasek at ubuntu.com vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20120906/c7e0384b/attachment.pgp>
More information about the ubuntu-devel
mailing list