Issue tracker moved to https://gitlab.archlinux.org/archlinux/aurweb/-/issues
FS#37496 - Better error message for refusing split packages
Attached to Project:
AUR web interface
Opened by Justin Dray (justin8) - Saturday, 26 October 2013, 04:45 GMT
Last edited by Lukas Fleischer (lfleischer) - Monday, 13 January 2014, 19:07 GMT
Opened by Justin Dray (justin8) - Saturday, 26 October 2013, 04:45 GMT
Last edited by Lukas Fleischer (lfleischer) - Monday, 13 January 2014, 19:07 GMT
|
DetailsWhen uploading a split package the error given is "Invalid name: only lowercase letters are allowed" The reason for refusal was that it is a split package.
Perhaps upon parsing that it is a split package, return a more relevant error. |
This task depends upon
Closed by Lukas Fleischer (lfleischer)
Monday, 13 January 2014, 19:07 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 2.3.1.
Monday, 13 January 2014, 19:07 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 2.3.1.
[1] https://projects.archlinux.org/aur.git/commit/?id=789245077d1ded7b2aaf4631bbca2a9267690739
https://gist.github.com/anonymous/7184087
[1] https://mailman.archlinux.org/pipermail/aur-dev/2014-January/002613.html
Refer to the $pkgname variable: “name” on its own was too vague.
The AUR clearly also allows digits, and some other punctuation, which are not lowercase letters. So maybe explicitly say which characters are allowed.
Maybe also mention if Bash substitutions (or other complicated syntax) are not allowed. This seems to be the reason I got the message today, though I think it worked in the past. BTW I worked around this with “.AURINFO”.