Bios-Marcel / spoon

Fast `scoop search`, (WIP) full scoop replacement and tab completion
BSD 3-Clause "New" or "Revised" License
5 stars 1 forks source link

Scoop version compare is broken #9

Closed Bios-Marcel closed 5 months ago

Bios-Marcel commented 5 months ago

It seems some versions, for example inkscape aren't compared correctly. My inkscape hasn't received an update in 4 months. I intend to not implement i the same broken way.

Bios-Marcel commented 5 months ago

We now use https://github.com/Boos-Marcel/versioncmp

While the API will probably change, it does the job for now. It is unclear at this point whether the requirements will change though.

While knowing which version is older / newer doesn't provide an obvious improvement in workflow, it is useful for later implementations, for example for cleaning up old installed versions.

On top of that, things such as the nightly rules can now technically be treated.