Scoop
Scoop copied to clipboard
Add a “provides” element
I have both ffmpeg-nightly and imagemagick installed, but scoop list reports:
Missing runtime dependencies:
'imagemagick' requires 'ffmpeg'
If we added:
“provides”: [“ffmpeg”]
to ffmpeg-nightly that would solve this issue.
Thoughts?
Could this be inferred by the bin?
That wouldn’t work for packages we haven’t seen yet, right?
This would resolve quite a few inconsistencies. Some manifests suggest either ffmpeg or ffmpeg-nightly, some only suggest ffmpeg, while others just depend on ffmpeg or ffmpeg-nightly.
Very related to #3769
Just another example. I get this even though I already have sudo within psutils package:
Missing runtime dependencies:
'FiraCode-NF' requires 'sudo'
From @rrelmy in #1198:
A manifest should be able to define what it provides.
Currently there are following packages
git,openssh,git-with-opensshThegit-lfsdepends ongit,gitwill be installed even ifgit-with-opensshis already installed.It would be great if the
git-with-opensshmanifest could define what it contains."provides": ["git", "openssh"],Nice to have, low priority. ;-)