spkenv / spk

A Package Manager for high velocity software environments, built on spfs.
https://spkenv.dev
Apache License 2.0
34 stars 5 forks source link

Package file listing and reverse lookup #21

Open lgritz opened 3 years ago

lgritz commented 3 years ago

It would be great to have a command like spk manifest opencolorio that would list all of the individual things installed by the package layer (and optionally a flag to recurse and show you what would be supplied by all its runtime dependencies).

Also spk which maketx or spk which libIlmImf.so or spk which half.h should do the reverse searches, telling you what package would be needed in order to get a particular installed component that you need. (I'm not sure what the right name of this command should be, "which" is just my placeholder until somebody smarter chimes in.)

rydrman commented 3 years ago

in many other managers that's something like spk provides libIlmImf.so

I'm not sure what you mean by manifest - like to get the list of files?

lgritz commented 3 years ago

provides -- yeah, that's the idea.

manifest is the inverse -- what are all the files it provides

rydrman commented 2 years ago

From the meeting today:

jrray commented 10 months ago

It would be cool for spk search to have a way to search for files with a glob pattern. It seems natural to put this in the "search" tool but if the proposed spk provides can take a glob pattern then that's okay.

The spk which case was effectively implemented by #690.