debian-forge-composer/internal/cloudapi/v2
Brian C. Lane 78e983b69a cloudapi: Add support for depsolving a blueprint + image type
This uses the blueprint and the image type's manifest with a minimal
imageRequest to get the package sets to use for depsolving, instead of
just using the packages in the blueprint.

This does not work with iot image types that require an ostree url.
Depsolving iot commits doesn't make sense anyway, since the blueprint
packages have no effect on it.

Includes simple tests for depsolving with image type, and returning an
error if the image type isn't recognized.

Related: RHEL-60125
2025-08-06 15:35:38 -07:00
..
compose.go cloudapi/v2: add patch_url to customizations 2025-07-04 08:36:23 +02:00
compose_test.go cloudapi: new image type: azure-sapapps-rhui 2025-07-28 17:30:34 +02:00
depsolve.go cloudapi: Add support for depsolving a blueprint + image type 2025-08-06 15:35:38 -07:00
errors.go cloudapi: Use error 400 for cloudapi delete errors 2025-07-11 00:47:22 +02:00
errors_test.go v2: update errors test for new error type 2025-08-05 18:55:32 +02:00
handler.go Makefile: bump GOLANGCI_LINT_VERSION to v1.61 2025-07-31 12:34:24 +02:00
imagerequest.go cloudapi: new image type: azure-sapapps-rhui 2025-07-28 17:30:34 +02:00
imagerequest_test.go cloudapi: use distrofactory to get rhel-9.3 2025-07-24 10:37:37 +02:00
middleware.go cloudapi/v2: adapt to new oapi-codegen 2025-03-26 11:13:14 +01:00
openapi.v2.gen.go cloudapi: Add optional image_type to depsolve yaml 2025-08-06 15:35:38 -07:00
openapi.v2.yml cloudapi: Add optional image_type to depsolve yaml 2025-08-06 15:35:38 -07:00
search.go cloudapi: Hook up the /search/packages handler 2025-01-30 08:00:12 +01:00
server.go Makefile: bump GOLANGCI_LINT_VERSION to v1.61 2025-07-31 12:34:24 +02:00
v2_disk_test.go clouapi: test Disk customization validation 2025-06-16 13:33:20 +02:00
v2_internal_test.go cloudapi/v2: adapt to new oapi-codegen 2025-03-26 11:13:14 +01:00
v2_koji_test.go Makefile: bump GOLANGCI_LINT_VERSION to v1.61 2025-07-31 12:34:24 +02:00
v2_multi_tenancy_test.go cloudapi/v2: adapt to new oapi-codegen 2025-03-26 11:13:14 +01:00
v2_test.go cloudapi: Add support for depsolving a blueprint + image type 2025-08-06 15:35:38 -07:00