Dne 08. 01. 19 v 0:11 Miro Hrončok napsal(a):
On 07. 01. 19 18:13, Vít Ondruch wrote:
> Nice, so the script is broken and does not report the dependencies
> correctly [1] and now js-jquery2 went unnoticed and get retired although
> it is required by rubygem-jquery-rails, similarly to js-jquery1.
This is interesting.
1. js-jquery2 provides jquery = 2.2...
2. The script finds that other packages provide jquery (any version)
and hence it ignores dependencies on jquery.
3. rubygem-jquery-rails requires jquery and is not reported by the
script.
The code essentially has this:
for prov in provides:
# check only base provide, ignore specific versions
# "foo = 1.fc20" -> "foo"
base_provide, *_ = prov.split()
# Elide provide if also provided by another package
for pkg in self.dnfquery.filter(provides=base_provide):
break
else:
# collect dependent packages only if the above for
didn't break
I think this problem can be fixed by using prov instead of
base_provide in the check. I'll run some tests to see how it alters
the results.
Thx.
Thanks for the report and sorry for the trouble it caused you.
Np, I could pay more attention to that list, but I was mainly checking
my name and rubygem-* packages.
Vít