berberman / nvfetcher

Generate nix sources expr for the latest version of packages
https://nvfetcher.torus.icu
MIT License
178 stars 15 forks source link

src.github_tag does not pull in the latest tag #88

Closed blakat360 closed 1 year ago

blakat360 commented 2 years ago

The following toml:

[z]
src.github_tag = "jethrokuan/z"
fetch.github = "jethrokuan/z"

pulls in tag 1.1 and not <2.7.0

I have tried passing src.include_regex = ".*" but that doesn't change anything

berberman commented 2 years ago

nvchecker uses pkg_resources.parse_version to compare versions. In this case, <2.7.0 is considered to be older than 1.1.