debian-forge-composer/internal/distro
Achilleas Koutsou 620813123a gen-manifests: resolve containers after Manifest()
Demonstrate the new workflow for resolving containers.

1. First call Manifest().
2. Get container SourceSpecs from manifest struct.
3. Resolve them.
4. Serialize() with resolved container specs.

The changes in the test manifests are just the information about the
container sources (was a slice but is now a map) and the actual manifest
object isn't affected.

The TestDistro_Manifest test in distro_test_common is adapted
accordingly as well.
2023-05-31 16:40:07 +02:00
..
distro_test_common gen-manifests: resolve containers after Manifest() 2023-05-31 16:40:07 +02:00
fedora manifest: use container SourceSpec instead of Spec 2023-05-31 16:40:07 +02:00
rhel7 manifest: use container SourceSpec instead of Spec 2023-05-31 16:40:07 +02:00
rhel8 manifest: use container SourceSpec instead of Spec 2023-05-31 16:40:07 +02:00
rhel9 manifest: use container SourceSpec instead of Spec 2023-05-31 16:40:07 +02:00
test_distro weldr: remove usage of ImageType.PackageSets() 2023-05-31 16:40:07 +02:00
distro.go distro: pass entire Blueprint to Manifest() 2023-05-31 16:40:07 +02:00
distro_test.go manifest: container specs added during serialization 2023-05-31 16:40:07 +02:00
image_config.go subscription: new package for subscription options 2023-05-31 16:40:07 +02:00
image_config_test.go common: merge all *ToPtr methods to one generic ToPtr 2023-01-09 14:03:18 +01:00