Skip to content
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

Extend requirements to include HW specs #163

Closed
joaquimrocha opened this issue Jan 3, 2018 · 2 comments
Closed

Extend requirements to include HW specs #163

joaquimrocha opened this issue Jan 3, 2018 · 2 comments

Comments

@joaquimrocha
Copy link

It would be very useful to have a way to specify some important HW requirements for apps. For example, in machines that have only 1GB of memory, it is very important to tell the user which games may not run very well in their machines. Hence, memory is a very important entity to be added.

I thought CPU could also be important, but as previously pointed out by @ximion , it may be difficult to express the different values that each CPU has. So maybe for now we just add the memory spec.

@ximion
Copy link
Owner

ximion commented Jan 4, 2018

I potentially want this feature to be part of a more versatile system for AppStream components to express requirements on the system they are supposed to run on, which would also address a couple of other feature requests.

I will post a proposal for that soon to get some feedback. There is also always the option to make a specific tag to define hardware requirements, depending on the outcome the discussion (the more generic proposal would widen the scope of AppStream significantly, and I am not sure if we want that).

@ximion
Copy link
Owner

ximion commented Apr 3, 2018

AppStream 0.12.0 contains a recommends as well as a required tag for components now, to set relations of the component to other stuff.
For the start, you can depend on memory size, kernel versions, modaliases and other components.
See the AsRelation class and the specification changes from 5bf623d (libappstream API additions in 6f78954)

For the CPU dependencies, I don't know how to properly address those yet - but we can relatively easily add such a feature now.
The specification changes will go live in their final form on the Freedesktop documentation page when AS 0.12.0 is released - until then, there still might be changes, so don't rely on the changes in Git master just yet (as always ^^).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants