New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GNOME driver does not catch latest version #54
Comments
If the cache.json is always present, that would make things much easier indeed. |
Either way, we can look for the |
Implemented in https://github.com/fedora-infra/anitya/tree/gnome_cache but tbh I am not sure I like it, it seems to make the code more complex than anything. |
Well, you could break out the part inside the try:
use_gnome_cache_json()
except Exception as e:
log.warning(e) # Should almost certainly log something about the exception, even if its benign.
use_gnome_regex() |
(+1) to ralph suggestion |
current implementation of gnome driver finds only major version,
but not actual full release, which tarballs are in subdir
ex: https://release-monitoring.org/project/5390/
finds 3.14 from https://download.gnome.org/sources/gnome-power-manager/ dir
but 3.14 latest is 3.14.1 as of this writing: https://download.gnome.org/sources/gnome-power-manager/3.14/
there's cache.json in each project dir: https://download.gnome.org/sources/gnome-power-manager/cache.json
maybe parse that instead?
contains for example:
The text was updated successfully, but these errors were encountered: