Recent submissions from Cirrus were classified as spam by the lore
analysis robot script. This is because cirrus used windows-1252 for
the encoding which failed to decode as utf-8.
Try both encodings when decoding email.
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Some of these pull requests are submitted using git protocol
in the pull request which b4 won't be able to handle. Manually
swap out for the https protocol.
Signed-off-by: Mario Limonciello <superm1@gmail.com>
There appears to be problems with `b4 am` with binary diffs, but there
also doesn't seem to be need to use b4 in this case.
Switch over to just applying the mbox directly.
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
```
Traceback (most recent call last):
File "~/linux-firmware-robot/./contrib/process_linux_firmware.py", line 339, in <module>
process_database(conn, remote)
File "~/linux-firmware-robot/./contrib/process_linux_firmware.py", line 276, in process_database
reply_email(mbox, branch)
File "~/linux-firmware-robot/./contrib/process_linux_firmware.py", line 86, in reply_email
reply["To"] += email.utils.formataddr(target)
TypeError: unsupported operand type(s) for +=: 'NoneType' and 'str'
```
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>