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
Support flagging a release as end of life #272
Comments
|
This is already supported, check out the |
|
@ximion ah, thanks! I was having a hard time finding that by searching the docs, but that seems to make sense. |
|
@ximion ah, what appears not to be supported in AppStream still is this bit:
That seems important to an implementation in an app store to share the message to users and suggest a replacement package. |
I am currently working on improving the doc layout by switching away from Publican (the primary reason for that was that Publican adds zero-width-space unicode characters into code blocks, which creates invalid metainfo files when people copy&paste from there - which is an easy mistake to make, I fell into that trap multiple times already). @cassidyjames AppStream doesn't know about "replacement packages" and it's not AppStream's call to make to just swap out an application on the user's computer. You could kind of imitate something like this by adding a |
|
@ximion I don't think anyone is suggesting to swap out packages without user consent—we would simply be informing a user of the EOL state along with a reason (if provided), plus giving a recommendation to install a replacement package (if one exists). We have come across instances with both Debian packages and Flatpaks where a package is considered end-of-life with a recommendation for a replacement. We can manually use the Flatpak API and/or try and scrap something together with existing AppStream API, but perhaps it would be useful to provide the same sort of information as Flatpak in the AppData itself. |
|
Hmm... Couldn't the app author simply do that in the release description (make suggestions on what to use next, that is)? Make one final release, set an EoL date, and the software center then shows the user the end-of-life relase notes a lot more prominently once the app ran over the end of its life and no more up-to-date release was found in the software sources. |
|
@ximion I suppose that is possible, though it seems a little less reliable than a dedicated field. I guess I was imagining the software source (i.e. the AppCenter remote in this case) would be adding the EoL information into the AppStream data if needed, which seemed easier if it was a dedicated field. But we could modify the description as well. Hm. |
Flatpak has a concept of a package being end of life, but it seems like this would be useful to be communicated in the AppStream data, i.e. on a release?
Brought up here: elementary/appcenter#1020
The text was updated successfully, but these errors were encountered: