-
Notifications
You must be signed in to change notification settings - Fork 88
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
Implement a review backend #50
Comments
Odrs contains reviews submitted by people using the same software but packaged differently. A bunch of issues could be caused because of that. Showing those reviews doesn't make sense to me. |
I don't see a field designating flatpak packages, so I agree, it doesn't make much sense as it is. |
In fact, none of the reviews in the example call for Firefox are actually about Flathub, as we're using lowercase |
yeah, I've briefly talked about us not being able to separate the different packaging providers in the flatpak matrix channel. I guess there are tree ways forward:
|
Thinking about this again, Gnome Software seems to somehow differentiate reviews between rpm, flatpak (fedora) and flatpak (flathub) so I guess it's possible somehow? |
This would need to also add the reviews/ratings from the linked provides->id |
Do you have screenshots that show this? GS is able to change the repo to install from, but it seems to me that reviews stay the same. |
Yeah, I think it's something with provided ID but ultimately the same reviews to a degree. |
Still feels quiet misleading and shouldn't they load up those reviews too? Not just in the sum? |
I still think ratings would be cool, even if we just show the stars and nothing else. Then again, I think most people that are looking for apps, will not care about how it's packaged (they might, but I think that assumption is due to us working on this exactly) and the reviews are mostly not mentioning how it's packaged. |
Should wait for https://gitlab.gnome.org/Infrastructure/odrs-web/-/merge_requests/17 so that we can filter for actual reviews of the flatpak versions |
odrs lack features that are important for publishers, such as replying to reviews publicly or privately contacting a review author to ask for more details. Would these be doable wth odrs? |
I'm wondering if just starting with stars would be any improvement. |
Hi @razzeee, I would like to contribute to this feature. Is this #50 (comment) this a blocker for you? I basically had to make my own implementation of that, just to see the reviews of my app |
hey,
I at least thought so, as I suspect reviews heavily diff between the way something is packaged.
Not sure why as a |
I think it makes sense to show reviews and star ratings at least for verified apps, as the developer is actively targeting Flathub, so there shouldn't be issues related to sandboxing.
Can I? Not really sure where or how, their website says I can "request an account if you think it is required", without clarifying where to ask for. |
There still might be issues with the snap, appimage or native packages (dependencies) - while the flatpak still works fine
In theory, but I guess hugsie was adding people, so nobody might be doing that. |
I'll send a pr anyway, then you can decide what you think about it |
Please wirte an outline of what you are planning to do first |
Sure. This sis my proposal
|
Sounds good. Just trying to figure out if your proposal would conflict with this https://github.com/flathub-infra/gsoc#flathub-rating-system |
Well, ODRS apis are definitely a bit rough. They don't support timestamps queries, search or pagination: they return the full payload every time, which is not great. Also, |
you don't have to explain that :) but we should probably keep those endpoints around, if we manage to redo it, breaking every software center app is likely a nogo |
So, do I have green light on this one? Can I open a PR with a sample implementation? Let me know what you think. |
Yeah, as that would still rely on having odrs to consume it, that would not make the gsoc proposal invalid. (making it invalid would also be fine, but then I should remove that pitch) |
HI @razzeee , I'm having an hard time figuring out where to refresh app ratings. I came across |
It is invoked multiple times a day, but at this point, we could probably just have a once per day job and we will figure out it being called once per day on the server. So feel free to create such a thing. |
All right, I guess it should always be an http endpoint or can we run python scripts directly? |
Basically mirroring odrs, I think.
Here's an example call for firefox:
https://odrs.gnome.org/1.0/reviews/api/app/org.mozilla.firefox
Should then be used in:
flathub-infra/linux-store-frontend#311
The text was updated successfully, but these errors were encountered: