If config_prefix (and config_prefix_re) is changed in /etc/fedmsg.d/*.py, fedmsg-relay doesn't actually relay any messages from fedmsg-logger because org.fedoraproject.* is hardcoded in commands/relay.py.
Perhaps commands and the like should use config_prefix?
Nice catch! Definitely!
Ugh, this is problematic. Moksha (in the __init_consumers method) uses a Consumer's topic before the class is instantiated. It accesses it as a class attribute.
If we were to dynamically assign the topic of a Consumer using the contents of /etc/fedmsg.d/*.py, it would have to be done at import time which is bad news, almost always.
This will, I think, require a patch to Moksha to avoid accessing that attribute until after instantiating each Consumer.
Ok, that patch should be in place with moksha.hub>=1.1.3 (not yet released).
moksha.hub-1.2.0 is out - https://pypi.python.org/pypi/moksha.hub/1.2.0
Produce topic_prefix_re from topic_prefix if not specified.
Relates to #126.
Remove hardcoded topic prefixes.