Skip to content

Add sample/stack query filter to registry query API #409

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

Closed
elsony opened this issue Apr 8, 2021 · 1 comment
Closed

Add sample/stack query filter to registry query API #409

elsony opened this issue Apr 8, 2021 · 1 comment
Assignees
Labels
area/registry Devfile registry for stacks and infrastructure

Comments

@elsony
Copy link
Contributor

elsony commented Apr 8, 2021

This item is a spin-off item from #403.

Given that our current repo does not support sample vs stack definition yet (pending the work for #279), our existing query API only returns a list of stacks. We can provide a temporary implementation to return a static list of samples, e.g. https://github.com/redhat-developer/devfile-sample, for the time being. The list can be a file stored under https://registry.devfile.io/ for the time being.

When we have done #279, we can then modify the implementation to do a life query on the registry. When querying the list of samples, ideally, we should probably combine the list of samples and the list of starters and return all of them as samples.

For the query syntax, this item covers only the sample/stack filtering:
type:sample (the type of resources that needs to match, the initial supported values are sample and stack)

@GeekArthur
Copy link
Contributor

All the PRs related to this issue are merged, the issue is done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/registry Devfile registry for stacks and infrastructure
Projects
None yet
Development

No branches or pull requests

2 participants