GNOME Bugzilla – Bug 765531
Review UI shows for all application types, regardless if the review server can review them
Last modified: 2016-07-07 03:37:01 UTC
If a plugin provides review support then review UI is shown for all applications. A review server might only be able to review certain application types (e.g. PackageKit apps, not XDG apps). Proposed solution is to have a new flag that is set in refine "reviewable". Then each plugin can determine which apps they can review.
Isn't this just AS_APP_QUIRK_NOT_REVIEWABLE?
As I understand it AS_APP_QUIRK_NOT_REVIEWABLE is for things that are fundamentally unreviewable (i.e. not an app as such). This proposal is mark which apps can be reviewed when they are refined (i.e. there is a review plugin that can review this app type). The specific case was the Ubuntu store which can only review .deb packages (i.e. not XDG apps / snaps). We discussed this before I went on leave and I was meant to file this bug then...
So the problem with this opt-in approach is that other plugins are then unable to handle the review action. There's nothing wrong in theory using the ODRS anon server for snappy apps and the ubuntu review server for .debs...
AS_APP_QUIRK_NOT_REVIEWABLE is working well enough for now so I don't need this feature.