gobolinux / Scripts

The GoboLinux scripts collection
41 stars 9 forks source link

Add Implicit Dependencies for Alien Packages #45

Closed sage-etcher closed 6 months ago

sage-etcher commented 6 months ago

When specifying an alien package as a dependency, imply that the alien package manager is also a dependency, for example 'LuaRocks:lgi', will list both 'LuaRocks' and 'LuaRocks:lgi' as dependencies. Implemented using 'Alien-PKGMGR --get-manager-rule'.

As suggested in Compile PR#58.

mwh commented 6 months ago

I think this looks fine. I have raised one note about possible code execution with an ill-formed dependency in GetManagerRulesFromAlien, but I don't think it is a genuine problem. If nobody else does either, this should be good to merge.