Abhilash Raj pushed to branch master at GNU Mailman / Mailman Core
Commits: 2f392302 by Дилян Палаузов at 2022-03-12T01:14:12+02:00 plugin/docs: hooks must be implemented - - - - - 6a405d9e by Abhilash Raj at 2022-03-12T09:53:21+00:00 Merge branch 'plugins_mandatory' into 'master' plugin/docs: hooks must be implemented See merge request mailman/mailman!984 - - - - - 1 changed file: - src/mailman/plugins/docs/intro.rst Changes: ===================================== src/mailman/plugins/docs/intro.rst ===================================== @@ -36,7 +36,8 @@ Hooks Plugins can add initialization hooks, which will be run at two stages in the initialization process - one before the database is initialized and one after. These correspond to methods the plugin defines, a ``pre_hook()`` method and a -``post_hook()`` method. Each of these methods are optional. +``post_hook()`` method. Each of these methods must be present, together with +the ``resource`` property, for the plugin to be operational. Here is a plugin that defines these hooks: View it on GitLab: https://gitlab.com/mailman/mailman/-/compare/4dfadcb5b92d45114621ef5dd1f55e5d5fd28cd4...6a405d9e10edd6a09ba9cea337e13450799923b9 -- View it on GitLab: https://gitlab.com/mailman/mailman/-/compare/4dfadcb5b92d45114621ef5dd1f55e5d5fd28cd4...6a405d9e10edd6a09ba9cea337e13450799923b9 You're receiving this email because of your account on gitlab.com.
_______________________________________________ Mailman-checkins mailing list -- mailman-checkins@python.org To unsubscribe send an email to mailman-checkins-le...@python.org https://mail.python.org/mailman3/lists/mailman-checkins.python.org/ Member address: arch...@jab.org