FS#13122 - Comments are parsed during upload
Attached to Project:
AUR web interface
Opened by Phillip Smith (fukawi2) - Wednesday, 04 February 2009, 22:21 GMT
Last edited by Loui Chang (louipc) - Tuesday, 29 September 2009, 00:13 GMT
Opened by Phillip Smith (fukawi2) - Wednesday, 04 February 2009, 22:21 GMT
Last edited by Loui Chang (louipc) - Tuesday, 29 September 2009, 00:13 GMT
|
Details
It seems that comments are parsed during uploading a
PKGBUILD tarball.
A specific case where this causes problems is where the comments have an opening round-bracket "(" without closing round-bracket ")". Eg, if the top of the PKGBUILD has this line (note the missing bracket at the end of the e-mail address) # Contributor: Phillip Smith (fukawi2@my.email.address.com Then the following error is given after upload: Missing url variable in PKGBUILD. System should at minimum give a sensical error, or preferably ignore the comment lines entirely. |
This task depends upon
The comment removal wasn't early enough, which caused problem with the bracket matching. Not sure why was it like that, the previous form wouldn't have solved the original bug. This patched form should do the trick (as much as I have checked with commented PKGBUILDs.)