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
Data checker fails on manifest for org.gnome.Chess #91
Comments
Remove the first set of parentheses:
We don't need to capture the first one. The second one is the full version number. |
I tried the change locally and now I got rid of the error, but got:
But I know the EDIT: Here is the PR with the current state. |
Ah… https://download.gnome.org/sources/gnome-chess/ is not going to work because the checker only scrapes 1 page. The links to the 3.y.z tarballs are not on that page. You will have better luck with:
or similar, and bump it on every GNOME release. Sorry. |
Ok, so I see I need to update it when new minor version is out. Thanks for the help. I will try something else before I close it. |
@wjt Your solution didn't help I have the following:
and still getting:
So I'm not sure if the x-checker-data is even usable for this project. :-( |
I will try to look tomorrow |
@Zlopez I think you can use json checker for this (until #92 lands). "x-checker-data": {
"type": "json",
"url": "https://download.gnome.org/sources/gnome-chess/cache.json",
"version-query": ".[2][\"gnome-chess\"] | last",
"url-query": "\"https://download.gnome.org/sources/gnome-chess/\" + .[1][\"gnome-chess\"][$version][\"tar.xz\"]"
} |
@gasinvein This is working, thank you. |
I tried to use the data checker for org.gnome.Chess and got
As I understand there is issue in url-pattern, because the url for gnome apps is
https://download.gnome.org/sources/gnome-chess/3.36/gnome-chess-3.36.1.tar.xz
, so the version is there twice, but one time without patch number and in the other with patch number. I'm not sure how to adjust the manifest to make it work. Could you give me some advice?The text was updated successfully, but these errors were encountered: