Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Currently the regindexer code that maintains an index of Flatpaks and containers in the Fedora registry looks at the 'ctype' field of a
match_topic = conf.daemon.topic_prefix + '.' + conf.daemon.environment + '.bodhi.masktask.complete' for name, endpoint, topic, raw_msg in fedmsg.tail_messages(topic=match_topic): msg = raw_msg['msg'] if msg.get('ctype') in ('container', 'flatpak'): indexer_thread.reindex('Bodhi mash, ctype="%s"' % msg['ctype'])
The ctype field is not part of the ComposeCompleteV1 schema - it would be great if it could be added, since I'd like to continue using it when switching to fedora-messaging.
(@bowlofeggs suggested possibly extending the topic - I suppose like