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

Feature/hw filtering #2368

Merged
merged 11 commits into from Aug 2, 2023
Merged

Feature/hw filtering #2368

merged 11 commits into from Aug 2, 2023

Conversation

dr-bonez
Copy link
Member

@dr-bonez dr-bonez commented Jul 20, 2023

@elvece the registry must honor the following new query params (in addition to the old ones for backwards compatibility)

arch (for /package endpoints) -> hardware.arch
arch (for /eos endpoints) -> os.arch
eos-version -> os.version
eos-version-compat -> os.compat
hardware.ram: numeric (bytes) must be greater than manifest.hardware-requirements.ram
hardware.device.<class>: can be present multiple times, one of them must match manifest.hardware-requirements.<class> if present in manifest

make sure to ignore query params that are not relevant for an endpoint (don't error on unknown query params)

@MattDHill MattDHill added this to the 0.3.4.4 milestone Jul 25, 2023
@dr-bonez dr-bonez merged commit 7322950 into master Aug 2, 2023
7 of 10 checks passed
@dr-bonez dr-bonez deleted the feature/hw-filtering branch November 9, 2023 19:43
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

Successfully merging this pull request may close these issues.

None yet

3 participants