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

cloudapi: Add /distributions/{arch} to cloudapi #4336

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

bcl
Copy link
Contributor

@bcl bcl commented Aug 28, 2024

This pull request includes:

  • adequate testing for the new functionality or fixed issue
  • adequate documentation informing people about the change such as
    • submit a PR for the READMEs listed here
    • submit a PR for the osbuild.org website repository if this PR changed any behavior not covered by the automatically updated READMEs

@bcl bcl marked this pull request as draft August 29, 2024 23:28
@bcl
Copy link
Contributor Author

bcl commented Aug 29, 2024

I'm thinking I want to extend this to return more, so converting to draft for now.

The NewTestedDefault function doesn't load any repositories from
./test/data/repositories because it is running down in the v2 directory.
Switch to calling New with the relative path.

This also adds an actual repository json file for the test-disro.
Without this the repo.ListDistros() function doesn't return any actual
distros.
This adds support for listing all of the supported distributions,
their arches, the image types, and their repository details.
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.

1 participant