swh.web.add_forge_now.signal_receivers module#
- swh.web.add_forge_now.signal_receivers.handle_inbound_message(sender: Type, **kwargs) EmailProcessingStatus [source]#
Handle inbound email messages for add forge now.
This uses the from field in the message to set the actor for the new entry in the request history. We also unconditionally advance the status of requests in the
PENDING
orWAITING_FOR_FEEDBACK
states.The message source is saved in the request history as an escape hatch if something goes wrong during processing.