lilydjwg / nvchecker

New version checker for software releases
MIT License
425 stars 68 forks source link

feat/nix writer #253

Open blaggacao opened 6 months ago

blaggacao commented 6 months ago

This is a WIP patch implementing a nix writer.

I'd like to hear feedback on if we could come up with a suitable extension point that would allow maintaining this out of tree (as a plugin, maybe).

lilydjwg commented 6 months ago

I'm OK with adding more information to RichResult, but with regard to the nix part. Can it be done via reading the json log output? Or maybe by reading an extended format of newver file?

blaggacao commented 6 months ago

Absolutely! That's great news about the possibility to extend the RichResult. Other than that, I have no real intention to upstream a nix-specific functionality, but it's a great way to figure out the API.

This still relies on a layer violation, to urlquoteplus vslues that come from nvfetcjer_sources, so it needs more thought and refinememt.

I'll separate the RichResult enhancemsnts into a separate PR, and then iterate further. :+1: