Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

*: Remove hooks #483

Closed
wants to merge 1 commit into from
Closed

*: Remove hooks #483

wants to merge 1 commit into from

Commits on Aug 13, 2016

  1. *: Remove hooks

    This drops all instances (outside the ChangeLog) turned up by
    case-insensitive searches for 'hook'.
    
    The desire to drop hooks has been around for a while now [1], but it
    took a while to land a create/start split.  By the time that split did
    land, dropping hooks was still part of its motivation [2].  Hooks are
    hard to support robustly [3], and after the create/start split,
    callers can do whatever they like at those times without having to go
    through the runtime [4].  There is still a use-case for folks who
    prefer the old all-in-one UX, but we can support those folks with a
    higher-level wrapper built on hookless create/start primatives [5].
    There was some last-minute discussion of pre-pivot mount propagation
    needing pre-start hooks [6], but that use case can be addressed by
    manipulating the mounts array [7].  With those arguments in place, the
    consensus at today's meeting seemed in favor of removing hooks from
    the spec [8].  And after some second-guessing [9], we're now back in
    favor of removing hooks from the spec [10].
    
    [1]: http://ircbot.wl.linuxfoundation.org/meetings/opencontainers/2015/opencontainers.2015-10-28-17.02.log.html#l-71
         <wking> if you have a distinct create operation, you can drop the
           pre-start hooks, which makes a simpler spec
    [2]: opencontainers#384
         Subject: Split create and start
    
         In the topic post:
    
         > # Motivating usecases:
         >
         > * to simplify the flows/interaction patterns by removing hooks,
         >   but still allow for the same functionality
    
    [3]: opencontainers#265
         Subject: runtime-config: Require serial hook execution
    [4]: http://ircbot.wl.linuxfoundation.org/eavesdrop/%23opencontainers/%23opencontainers.2016-03-24.log.html#t2016-03-24T18:56:15
         <vishh> mrunalp: How do I run http hooks? I need a binary wrapper
           to execute http hooks
    [5]: https://groups.google.com/a/opencontainers.org/d/msg/dev/Y7p6YW8zr4s/OVaAI_WDBAAJ
         Subject: Re: Hooks and all-in-one operation
         Date: Wed, 1 Jun 2016 11:49:07 -0700
         Message-ID: <[email protected]>
    [6]: opencontainers#384 (comment)
         Subject: Split create and start
    [7]: opencontainers#384 (comment)
         Subject: Split create and start
    [8]: http://ircbot.wl.linuxfoundation.org/meetings/opencontainers/2016/opencontainers.2016-06-01-17.01.log.html#l-83
    [9]: https://groups.google.com/a/opencontainers.org/forum/#!topic/dev/Y7p6YW8zr4s
         Subject: Hooks and all-in-one operation
         Date: Wed, 1 Jun 2016 11:38:27 -0700
         Message-ID: <CANEZBD69Q4VV4UoBodWjtAR1PrJ1OysaMUHgA5cW_aGj2ZEhLQ@mail.gmail.com>
    [10]: http://ircbot.wl.linuxfoundation.org/meetings/opencontainers/2016/opencontainers.2016-08-03-21.01.log.html#l-21
    
    Signed-off-by: W. Trevor King <[email protected]>
    wking committed Aug 13, 2016
    Configuration menu
    Copy the full SHA
    0113d7a View commit details
    Browse the repository at this point in the history