Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#66819 - [namcap] Doesn't return non zero exit code when errors are detected
Attached to Project:
Arch Linux
Opened by Christoph Reiter (lazka) - Friday, 29 May 2020, 06:04 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 29 May 2020, 13:32 GMT
Opened by Christoph Reiter (lazka) - Friday, 29 May 2020, 06:04 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 29 May 2020, 13:32 GMT
|
DetailsDescription:
I'm trying to integrate namcap in an automated workflow and it currently only prints errors to stdout and doesn't return a non-0 status code. It would be nice if it would do that so I don't need to grep for "E:". > namcap PKGBUILD PKGBUILD (namcap) E: Missing license > echo $? 0 I'd be happy to provide a patch if wanted. Open questions: * Should this be configurable so the strictness can be extended to "W" and "I" as well? * Should the return status represent the amount of found problems or just 1? |
This task depends upon
Closed by Doug Newgard (Scimmia)
Friday, 29 May 2020, 13:32 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#60333
Friday, 29 May 2020, 13:32 GMT
Reason for closing: Duplicate
Additional comments about closing: