debian-forge-composer/internal
Tomas Hozza c8382f1654 distro: use pointers for basic types in ImageConfig
Using basic types as values in the `ImageConfig` structure makes it
impossible to distinguish if the empty value for the type was set
intentionally or if it is just the value the variable was initialized
to. This is very bad especially for `bool` type.

While working on unifying `vhd` and `azure-rhui` image types I found
out, that some newly added variables in the `ImageConfig` structure
were forgotten in the `InheritFrom()` method. This makes it impossible
to inherit their values from a parent configuration. This is however
required for the unification of `vhd` and `azure-rhui` image types. As
described above, it would be impossible to decide whether a `bool` value
should be inherited from the parent configuration or not. The only
solution is to use a pointer to the type. For consistency, use pointer
for all basic types.

Adjust distro implementations accordingly.
2022-09-06 14:43:24 +02:00
..
artifact artifact: this represents the artifacts a manifest exports 2022-07-22 16:04:07 +02:00
auth go.mod: Update openshift-online/ocm-sdk-go 2022-05-19 22:18:42 +02:00
blueprint blueprint: remove omitempty from Customizations 2022-08-29 10:25:38 +02:00
boot Move GetRedHatRelease() and GetHostDistroName() to common package 2022-06-10 14:48:18 +01:00
client distro/*: allow /boot to be customized 2022-08-08 18:05:05 +02:00
cloud worker: Define new jobs to handle copying and resharing of images 2022-08-30 16:14:52 +02:00
cloudapi cloudapi: Add endpoints to clone aws images across regions 2022-08-30 16:14:52 +02:00
common worker/osbuild: use os-release to determine host OS 2022-08-25 08:25:35 +01:00
container job/osbuild: move utility the container package 2022-08-01 21:50:03 +01:00
crypt crypt: add automatic darwin support 2020-07-17 07:48:22 +02:00
disk disk/partition_table: extract customization application into method 2022-08-08 18:05:05 +02:00
distro distro: use pointers for basic types in ImageConfig 2022-09-06 14:43:24 +02:00
distroregistry distro: rename rhel90 -> rhel9 2022-08-17 11:59:39 +02:00
dnfjson dnfjson: Add the search support to the Solver 2022-08-23 22:47:46 +01:00
environment environment: encapsulate the environment images are deployed to 2022-07-07 12:00:56 +01:00
image distro/fedora: enable hybrid boot for iot-installer 2022-08-25 14:54:56 +01:00
jobqueue jobqueue: Query job dependents 2022-08-30 16:14:52 +02:00
jsondb test: use T.TempDir to create temporary test directory 2022-04-05 09:27:43 +02:00
manifest distro: add oscap packages to image 2022-08-23 18:06:15 +02:00
mocks mocks/dnfjson: Add mock support for the search command 2022-08-23 22:47:46 +01:00
osbuild internal/osbuild: Add GCP guest-agent conf stage 2022-08-30 22:21:29 +02:00
oscap oscap: add oscap package 2022-08-04 18:19:06 +02:00
ostree ostree: add new CommitSource type 2022-06-15 20:13:47 +02:00
platform platform: include image format 2022-07-22 16:04:07 +02:00
prometheus metrics: build jobs arch label 2022-07-27 13:37:14 +02:00
reporegistry reporegistry: remove unused ReposByArch() function 2022-03-09 23:22:06 +00:00
rhsm internal/rhsm: implement fallback to the previous mechanism 2021-08-09 12:40:23 +02:00
rpmmd Rename osbuild2 package to osbuild 2022-07-14 16:54:00 +02:00
runner runner: introduce runner abstraction 2022-07-12 08:19:57 +01:00
store distro: add containers arg to ImageType.Manifest 2022-07-21 13:32:07 +02:00
target worker: Remove ellipsis operator from clienterrors.Error 2022-08-03 13:51:52 +02:00
test cloudapi: run all Koji compose unit tests 2022-06-10 14:48:18 +01:00
upload worker/osbuild: stop handling VMDK stream-optimized conversion 2022-07-01 18:55:01 +01:00
weldr weldr: Preload metadata at startup 2022-08-31 12:18:51 +01:00
worker worker: Return dependent jobs in OsbuildJobStatus 2022-08-30 16:14:52 +02:00
workload workload: introduce abstraction to encapsulate image workloads 2022-07-07 12:00:56 +01:00
tools.go go: vendor the oapi-codegen cmd 2021-02-01 15:32:58 +01:00