[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#849976: qml-module-org-kde-people: has no reverse depends



¡Hola Martin!

El 2017-01-02 a las 20:48 +0100, Martin Steigerwald escribió:
Package: qml-module-org-kde-people Version: 5.28.0-1 Severity: normal

this qml module package has no reverse depends. This probably hints at a missing dependency.

merkaba:~> apt-cache rdepends qml-module-org-kde-people qml-module-org-kde-people Reverse Depends:

Nice catch, the dependency was missing in kde-telepathy-desktop-applets, currently in experimental. We really need to figure out a way to generate the dependencies of the qml files.

This should be doable, at least doing this in two steps:
1. Parsing the qmldir files to list all the provided modules in a package,
   with that produce a suitable Provides: field (with the
   qml-module-$(tr '.' '-' <<<$module.name) format, and taking into account
   the package name)
2. Parse the qml imports and generate the Dependencies.

Maybe this is a bit too flacky, I'm not sure, also the second part would need to be easily tweakable, to blacklist modules (that might be only optionally required, in unreachable qml files or in modules outside our control that don't follow our naming requirements).

This should be discussed in pkg-kde-talk@lists.alioth.debian.org. I wouldn't be surprised if somebody already has a better idea on how to attack this, could you try to push this forward?

Happy hacking,
--
"Good judgement comes from experience, and experience comes from bad
judgement."
-- Fred Brooks
Saludos /\/\ /\ >< `/

Attachment: signature.asc
Description: PGP signature


Reply to: