Tuleap Community Edition development and releases are no longer public. You have until September 30th to download packages and sources in Tuleap project. You can contact the team if you need further assistance.

    •  
      request #31113 Simplify hook listening for plugins
    Infos
    #31113
    Manuel Vacelet (vaceletm)
    2023-04-05 10:32
    2023-03-03 12:07
    32755
    Details
    Simplify hook listening for plugins

    As of today, for plugins, listening to hooks is tedious, there is a lot of copy/paste and things are scattered at different places:

    • Usage of hooks must be declared in getHooksAndCallbacks
    • It's not easy to find the hook that correspond to a callback
    • There is a lot of repetition of the event: at hook declaration (getHooksAndCallbacks), at the name of the callback, at the first parameter name.

    Using attributes, we can greatly simplify that.

    Empty
    Empty
    Empty
    • [ ] enhancement
    • [x] internal improvement
    Empty
    Stage
    Manuel Vacelet (vaceletm)
    Closed
    2023-03-30
    Attachments
    Empty
    References

    Follow-ups

    User avatar

    All open changes related to that topic were merged, let's closed this artifact. We will open dedicated artifacts for future conversions.


    • Status changed from Under implementation to Closed
    • Connected artifacts
    • Close date set to 2023-03-30