Fedora Notifications is a family of systems built to manage end-user notifications triggered by fedmsg, the fedora FEDerated MeSsaGe bus.
The wins here are:
In a nutshell, here's the way this application works:
We maintain a lot of applications. Over time, there has been an initiative to get them all speaking a similar language on the backend with fedmsg. Take a look at the list of fedmsg topics to see what all is covered.
This is smallest, most atomic object in the Fedora Notifications system. It is
a simple rule that can be applied to a fedmsg message. It can evaluate to
It has a name and a description. Some examples of rules are:
We have a long list of rules defined. You'll see them when you go to set up your first filter
To craft your preferences, you will build filters out of rules. Filters have a name (that you give them). An example could be something like:
You will receive notifications for this filter if and only if a given message both is a bodhi message and is about a package owned by you.
Note that, if you wanted to get notifications about bodhi updates created by multiple users, you would need to create distinct filters for each one.
You could not combine those both into the same filter, because all rules on a
filter must evalulate to
True for the filter to trigger a notification.
This is the medium over which we'll send a message. You can have one set of preferences for an email messaging context, and another set of preferences for an irc messaging context.
When a fedmsg message arrives in the system, if any one filter on one of your
messaging contexts evaluates to
True, then you will receive a notification
for that context. If some filters evaluate to
True for multiple contexts,
you will receive notifications for all those contexts.