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 Jelle van der Waa (jelly) - Friday, 11 August 2023, 15:51 GMT
Task Type Feature Request
Category Arch Projects
Status Closed
Assigned To Rémy Oudompheng (remyoudompheng)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
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

Closed by  Jelle van der Waa (jelly)
Friday, 11 August 2023, 15:51 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/pacman/namc ap/issues/57
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.
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.

Loading...