FS#2584 - Eliminate Dud Uploads
Attached to Project:
AUR web interface
Opened by Simo Leone (neotuli) - Friday, 15 April 2005, 23:28 GMT
Last edited by Paul Mattal (paul) - Friday, 22 April 2005, 04:19 GMT
Opened by Simo Leone (neotuli) - Friday, 15 April 2005, 23:28 GMT
Last edited by Paul Mattal (paul) - Friday, 22 April 2005, 04:19 GMT
|
Details
During testing, I had the misfortune of typing in a path
that doesn't exist on my machine on the package submission
page. It took me forever to figure this out because the
error message displayed was "No PKGBUILD found". I
discovered that a zero length file existed, and thus never
got extracted.
The attatched patch checks for zero length uploaded files "duds", and fails gracefully with a more informative error message. |
This task depends upon
Comment by Paul Mattal (paul) -
Friday, 22 April 2005, 04:19 GMT
I've committed this in v154. Will go out in 1.0.1.
duds.diff