spkenv / spk

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

Make 'Failed to resolve' solver result message clearer #1093

Closed dcookspi closed 3 months ago

dcookspi commented 3 months ago

This tries to make the current 'Failed to resolve' solver result message a bit clearer for users.

spk outputs this when it can't find a solution after trying everything it can:

ERROR spk: (link)

  x Failed to resolve

This is a fairly rare "error". But recently people have been seeing this message and haven't understood what it means or what they can do to fix it. This doesn't address what they can do to fix it, It just tries to make the message clearer.

It changes the output to:

ERROR (link)

  x Failed to resolve: there is no solution for these requests using the available packages