FS#53476 - mention the actual pkgver value when it has a bad value
|
Details
Summary and Info:
It'll be better to show the actual value of the bad value so the error is obvious. I have a script to update and build packages. When it does something wrong with pkgver (it usually happens when upstreams change version string format), I can't easily see why it's wrong. I know I can show it from my script, but wouldn't it be better to just include it in the error message? Steps to Reproduce: Edit a PKGBUILD to contain a bad value, then run $ LANG=C updpkgsums ==> ERROR: pkgver is not allowed to contain colons, hyphens or whitespace. ==> ERROR: An unknown error has occurred. Exiting... ==> ERROR: Failed to generate new checksums |
This task depends upon