Package: ftp.debian.org
Severity: normal

If a *.dak-commands file include an `Uploader` field with an invalid
address, dak will currently throw an exception when trying to send the
confirmation mail.  In addition the processed file will be archived in
queue/reject instead of queue/done:

+---
| 20210303101855|command|dak|Exception while processing 
dom-1614765002.dak-commands:|ParseMaintError('No @ found in email address 
part.')
| 20210303101855|command|dak|traceback|Traceback (most recent call last):
| 20210303101855|command|dak|traceback|  File 
"/srv/ftp-master.debian.org/dak/dak/process_commands.py", line 76, in main
| 20210303101855|command|dak|traceback|    command.evaluate()
| 20210303101855|command|dak|traceback|  File 
"/srv/ftp-master.debian.org/dak/daklib/command.py", line 179, in evaluate
| 20210303101855|command|dak|traceback|    self._notify_uploader()
| 20210303101855|command|dak|traceback|  File 
"/srv/ftp-master.debian.org/dak/daklib/command.py", line 110, in 
_notify_uploader
| 20210303101855|command|dak|traceback|    '__MAINTAINER_TO__': 
fix_maintainer(self.uploader)[1],
| 20210303101855|command|dak|traceback|  File 
"/srv/ftp-master.debian.org/dak/daklib/textutils.py", line 113, in 
fix_maintainer
| 20210303101855|command|dak|traceback|    raise ParseMaintError("No @ found in 
email address part.")
| 20210303101855|command|dak|traceback|daklib.dak_exceptions.ParseMaintError: 
No @ found in email address part.
| 20210303101855|command|dak|program end
+---[ /srv/ftp-master.debian.org/log/2021-03 ]

dak should probably just ignore the `Uploader` field in this case.

Ansgar

Reply via email to