pkgcheck icon indicating copy to clipboard operation
pkgcheck copied to clipboard

RedundantVersion false positives

Open trofi opened this issue 5 years ago • 1 comments

RedundantVersion does not check if package is really redundant with respect to it's reverse dependencies:

$ pkgcheck scan dev-util/radare2
dev-util/radare2
  UnstableOnly: for arches: [ amd64, arm, arm64, x86 ], all versions are unstable: [ 4.5.0, 4.5.1 ]
  RedundantVersion: version 4.5.0: slot(0) keywords are overshadowed by version: 4.5.1

dev-util/radare2-4.5.0 is not redundant:

$ git grep dev-util/radare2
dev-util/cutter/cutter-1.11.0.ebuild:   ~dev-util/radare2-4.5.0
dev-util/cutter/cutter-1.12.0.ebuild:   ~dev-util/radare2-4.5.1

trofi avatar Sep 12 '20 09:09 trofi

This is how the result has been since its inception over a decade ago. To do it properly, it needs a revdeps cache (https://github.com/pkgcore/pkgcheck/issues/285) which a number of other issues require as well.

radhermit avatar Sep 15 '20 05:09 radhermit