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.

Thanks for the report and sorry for the trouble it caused you.


--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to