package-manager icon indicating copy to clipboard operation
package-manager copied to clipboard

`zkg info` shows neither `depends` nor `external_depends`

Open bbannier opened this issue 2 years ago • 4 comments

It would be nice if zkg info would be able to show dependencies of a package (i.e., information derived from depends and external_depends). Ideally it would even be able to include links to more information for packages from depends (e.g., links to repositories, or at least link to the package index).

I am currently working on a meta package aggregating smaller, more dedicated packages. I plan to encode that information in the meta package's depends field. In order to check whether the package can be build used without zkg (in this case: built with CMake, and used), I would like to have access to that information in zkg.meta without having to parse it myself.

I could imagine this information to be useful in other scenarios as well, e.g., to check licenses, or to debug version if multiple packages depend on the same package (but possibly in different versions).

Making it easier to view a package's external_depends could simplify e.g., package deployment.

bbannier avatar Nov 08 '21 15:11 bbannier