Freshmaker waits for new fedmsg messages, this happens in
fedmsg message handled by a Freshmaker is parsed by one of the parsers which can
be found in the
parsers directory. This parser converts the fedmsg to trigger
object (inherits from
BaseTrigger). All the triggers are defined in the
triggers.py. This separation between message and trigger is done to possibly
support different messaging backends in the future or easily change the message
we react to. This trigger object is then handled by one or more handlers defined
The example flow for the modulemd yaml change in dist-git is following:
ModuleMetadataUpdatedtrigger is generated out of this message and the trigger event is passed to handlers.
ModuleBuilttrigger is generated and passed to handlers.
Handlers can be turned on/off in config file.
Following is the list of all available HANDLERS:
Freshmaker sends messages to either fedmsg or UMB, which depends on how it is configured, when certain event happens.
|Containers are found and will be built soon||
$ tox -e py27,py35