← Back to team overview

ubuntu-appstore-developers team mailing list archive

Re: Summary of my understandings

 

On Thu, Jul 11, 2013 at 12:34:53PM -0300, Lucio Torre wrote:
> > Upon installation of the package there will be a set of hooks run.  There
> > are two types of hooks, system hooks and user hooks.
> > An example of a system hook would be one that builds the apparmor profile
> > and installs it.
> 
> Sorry to jump in without much context, but what i get from previous
> comments is that a click package is 100% declarative. And this hooks
> comment is not clear about that. And i associate hooks with user
> extensibility. Will the package be able to add to those hooks or not?

Do not fear; hooks are defined by system packages for Click packages to
hook into; in other words they permit parts of the system other than the
core click tool itself to define meaning for declarative parts of the
Click package's manifest.

Click packages do not get to define hooks.

-- 
Colin Watson                                       [cjwatson@xxxxxxxxxx]


References