Skip to content
This repository has been archived by the owner on Apr 25, 2022. It is now read-only.

Clearly show the architecture the package is available for #47

Closed
kklem0 opened this issue Oct 28, 2021 · 4 comments
Closed

Clearly show the architecture the package is available for #47

kklem0 opened this issue Oct 28, 2021 · 4 comments

Comments

@kklem0
Copy link

kklem0 commented Oct 28, 2021

Issue: flathub-infra/linux-store-frontend#263
I don't see it in the details page from the source code.

Today, there is still confusion when users try to install packages that are not available for their architecture. It is usually Chromebook users (arm or aarch64 platform) for packages that are Intel only and all they get is a "package not found" error.

The details page should display:

  • architecture the package is available for
  • a clear mention that the package might not be available for architecture the user runs (by checking the User-Agent)
@razzeee
Copy link
Member

razzeee commented Nov 16, 2021

I've implemented the first part
image

It's part of #63
If you have any ideas on how to make it clearer and potentially remove the jargon, please let me know.

@kklem0
Copy link
Author

kklem0 commented Nov 16, 2021

I've implemented the first part image

It's part of #63 If you have any ideas on how to make it clearer and potentially remove the jargon, please let me know.

Oh this looks great!

@razzeee
Copy link
Member

razzeee commented Nov 16, 2021

Looking for a library to parse the UA, turns up this https://faisalman.github.io/ua-parser-js/ but it doesn't seem like Firefox sets the arch on android. Will have to check other platforms.

@razzeee
Copy link
Member

razzeee commented Nov 27, 2021

It's set on linux, but we would need a mapping table and that's going to be a pain to figure out and maintain. I would prefer to leave it like this. But feel free to reopen this.

@razzeee razzeee closed this as completed Nov 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants