debian-forge-composer/internal/cloudapi/v1
Achilleas Koutsou 2004c71f89 cloudapi: use osbuild v2 result struct to extract metadata
Reading stage metadata using osbuild's v2 result format.
For RPM stages we only want the core (OS) RPMs (not the build root
RPMs). Skip the build pipeline by name, but this should be handled
better since names are arbitrary.

Using type switch to convert metadata types instead of relying on the
type string of the stage result.

The rpmmd helper function isn't used anymore since that requires two
conversion passes (osbuild.StageMetadata -> rpmmd.RPM ->
cloudapi.PackageMetadata).

Signed-off-by: Achilleas Koutsou <achilleas@koutsou.net>
2021-11-16 09:49:37 +01:00
..
openapi.v1.gen.go cloudapi: V2 2021-09-14 15:32:21 +02:00
openapi.v1.yml cloudapi: V2 2021-09-14 15:32:21 +02:00
v1.go cloudapi: use osbuild v2 result struct to extract metadata 2021-11-16 09:49:37 +01:00