Hi Steve,

Happy year 2009 and beyond to you :)

On 08/12/25 09:00 -0600, Steve M. Robbins said ...
> That could lead someone to assume that they need to use dcut to remove
> each and every such file.  Whereas the truth is that they need remove
> only the last file uploaded.  Right?

That is not necessarily true.  On a slow link, it is possible that due
to multiple dput attempts there is more than one partially uploaded
file.

> If so, maybe it would be better to display the NOTE at the end of a
> failed upload instead.  Such a NOTE could be worded as follows.
> 
>   NOTE: Upload of file %s failed; this file may be trunctated or
>   otherwise corrupt on the server.  For official Debian upload queues,
>   the dcut(1) utility can be used to remove this file, and after an
>   acknowledgement mail is received in response to dcut, the upload can
>   be re-initiated.
> 
> What do you think?

The problem with this is that there maybe more than one file that was
partially uploaded.  Also, delaying the message to the end means that
the .changes file would be uploaded and the archive cron job may kick in
and reject the upload completely (in the time that a dcut can be issued
and email ack response received).  It is best if we display the message
as we go, so that one can correct the issue (dcut and retry) _before_
uploading the .changes file.

Cheers,

Giridhar

PS: I closed this bug in 0.9.2.37 that I uploaded the other day, but we
can always make any change that we like in the next version.  So please
do let me know if you have more suggestions.

-- 
Y Giridhar Appaji Nag | http://people.debian.org/~appaji/

Attachment: signature.asc
Description: Digital signature

Reply via email to