FS#28694 - [namcap] should not report "Dependency included and not needed" for some types of packages

Attached to Project: Arch Linux
Opened by Alexander (AlexanderR) - Tuesday, 28 February 2012, 07:38 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 11
Private No

Details

Description:
Dependencies on packages with fonts, python scripts etc., that can not be handled by namcap dependency resolution mechanism should always be assumed correct.

Possible implementation:
1) check for "ttf-", "pythonX-", "java-", "ruby-" and similar prefixes in package names
2) check for arch=('any')
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/58
Comment by Pantelis Panayiotou (plp) - Saturday, 18 May 2013, 08:24 GMT
I second that. For packages with many dependencies, it gets very difficult to read namcap's output because of the huge number of "Dependency included and not needed" lines.
Comment by Colin Keenan (colinkeenan) - Monday, 22 September 2014, 06:36 GMT
Me too. This was the first time I used namcap and it ended up telling me I should only list bash and python as dependencies because my package is nothing but scripts.

Why can't namcap be made to verify those types of dependencies?

It certainly shouldn't be reporting dependencies aren't needed when it actually didn't check one way or the other!

Checking for arch=('any') certainly would've worked for me. But, instead of just assuming it's correct, it should explain it can't verify arch=('any') types of packages.
Comment by Antony Lee (anntzer) - Wednesday, 15 June 2016, 04:25 GMT
python-* packages could check for dependencies in *.egg-info/requires.txt, which would match the dependencies declared for setuptools.
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...