Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#26413 - [namcap] should also check shell scripts

Attached to Project: Arch Linux
Opened by Matthias Krüger (matthiaskrgr) - Wednesday, 12 October 2011, 12:16 GMT
Last edited by Rémy Oudompheng (remyoudompheng) - Saturday, 04 February 2012, 12:13 GMT
Task Type Feature Request
Category Arch Projects
Status Assigned
Assigned To Rémy Oudompheng (remyoudompheng)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 2
Private No


I think namcap should also be able to detect if a shell script is requiring any programms.

I had a script which was running 'calc' (among other things), but when I set calc as dependency, namcap said
W: Dependency included and not needed ('calc').

namcap 3.1-1
This task depends upon

Comment by Kyle Keen (keenerd) - Saturday, 10 December 2016, 20:28 GMT
This is frankly not feasible except for the most trivial of cases, like shebang lines. (Namcap already does those.) The occasional false-positive warning will happen.

Unless you have another trivial case that Namcap doesn't cover or you have a brilliant way of accomplishing it more generally, there isn't much that can be done.