Hi all.
I’m working on integrating appimage info with appstream using the appimage’s json.
The info contained in it is pretty useful (it also includes screenshots, wow!!) but it lacks all the info about the releases available for a particular app.
My actual workaround is grab the download url and scrap the appimages from there and add the info to our appstream components catalogue. It’s a time consuming task totally avoidable if only the releases info were included in the json.
One of the big advantages of appimage is that multiple versions of one app can coexist without a problem, If the releases were available all of the software centers or any kind of program that relies on appstream will get benefited, and thus implies that appimage will get benefited too.
Example:
"name": "Cerebral-Debugger",
"description": "Cerebral Debugger",
"categories": ["Development"],
"authors" : [{"name":"cerebral","url":"https://github.com/cerebral"}],
"license" : null,
"links": [{"type":"GitHub","url":"cerebral/cerebral-debugger"},{"type":"Download","url":"https://github.com/cerebral/cerebral-debugger/releases"}],
"screenshots" : ["Cerebral-Debugger/screenshot.png"]
},
If I want to know what releases are availabe I must to fetch them from https://github.com/cerebral/cerebral-debugger/release.
The releases field could be a dict indicating the latest release and all other releases. In both cases (latest and others) the info could be available as a list, because the arch could be aslo included with the version.
Example:
"name": "Cerebral-Debugger",
"description": "Cerebral Debugger",
"categories": ["Development"],
"authors" : [{"name":"cerebral","url":"https://github.com/cerebral"}],
"license" : null,
"links": [{"type":"GitHub","url":"cerebral/cerebral-debugger"},{"type":"Download","url":"https://github.com/cerebral/cerebral-debugger/releases"}],
**"releases":[{"latest":["2.3.0_x86_64"]},"olders":["2.2.0_x86_64","2.1.0_x86_64"]}],**
"screenshots" : ["Cerebral-Debugger/screenshot.png"]
},