-
Notifications
You must be signed in to change notification settings - Fork 122
[new-backend] notification send hooks #4504
[new-backend] notification send hooks #4504
Conversation
For the send notification hooks I took a bit of a different approach: As there might be multiple valid choices for plugins to notify, e.g. dbus, zeromq, record, ... I made it in form of a list. Multiple plugins can be configured using the array
@markus2330 @kodebach any objections to this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The general concept looks good, but I have some notes on the details
Co-authored-by: Klemens Böswirth <23529132+kodebach@users.noreply.github.com>
Co-authored-by: Klemens Böswirth <23529132+kodebach@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM now, great work, IMO this could be merged now (unless you want to do something more).
The remaining discussion about using different KeySet
s with one KDB
can be moved to a separate issue, since it is a problem with the current solution (even on master) anyway.
Co-authored-by: Klemens Böswirth <23529132+kodebach@users.noreply.github.com>
Co-authored-by: Klemens Böswirth <23529132+kodebach@users.noreply.github.com>
Co-authored-by: Klemens Böswirth <23529132+kodebach@users.noreply.github.com>
No, I think this hook is done. The next thing I'll probably tackle would actually be the tracking of the changes, as this is what I also need for the record plugin. |
It is a bit difficult to review for me as I don't know the changes in new-backend enough. @kodebach its best when you decide if this brings us closer to merge new-backend. I'll directly review new-backend, then. @atmaxinger can you add some docu about how the hooks work, when they are called etc.. Or is it a straightforward implementation of the decision? |
IMO we can merge this PR now.
See https://github.com/ElektraInitiative/libelektra/blob/new-backend/doc/dev/hooks.md We need more docs on the individual hooks. But I think this can wait until we finalize the entire design (i.e. all planned hooks work they way we want). There is no point in adding docs that might change again soon, if there is no consumer of the docs. For example, it would be really stupid to document the way |
I will add some documentation to the |
@markus2330 @kodebach I added some documentation for all of the current hooks. We can merge this PR now. |
@markus2330 I merged this PR, if you still want to review the changes do so in #4187. |
Basics
(added as entry in
doc/news/_preparation_next_release.md
whichcontains
_(my name)_
)Please always add something to the release notes.
(first line should have
module: short statement
syntax)close #X
, are in the commit messages.doc/news/_preparation_next_release.md
scripts/dev/reformat-all
Checklist
(not in the PR description)
Review
Labels