debian-forge-composer/internal
Achilleas Koutsou e621386caf cloudapi: drop ImageRequest.GetImageOptions() method
This method is not particularly useful anymore.  Its purpose was to
initialise the ImageOptions from an ImageRequest with the appropriate
size and partitioning mode.  However, the partitioning mode was also
being set later using request.GetPartitioningMode().  More importantly,
setting the size on the ImageOptions caused issues with the interaction
between filesystem and partitioning customizations as well as the image
request size (see #4705).  The correct thing to do here is to map the
ImageRequest.Size directly onto ImageOptions.Size, without taking into
account ImageType or the Blueprint Customizations.  The rest are
considered when generating the manifest in images, either when preparing
the Manifest() call or when generating the partition table.  This makes
it easier to trace and reason about the effect of each option.  This
kind of decision making in the API layer makes it difficult to maintain
the logic, since it requires duplicating the decision making or, as we
had now, making certain specific combinations impossible.
2025-05-05 20:37:19 +02:00
..
auth Fix non-constant log strings 2025-01-21 16:51:20 -08:00
boot lint: Clean up golangci-lint v1.60 complaints 2025-02-24 04:20:42 -08:00
client client: adjust the tests to new image type names in Fedora 2025-04-25 09:26:59 +02:00
cloud internal/cloud/gcp/compute: Add TDX_CAPABLE guest OS feature 2025-02-27 13:33:22 +01:00
cloudapi cloudapi: drop ImageRequest.GetImageOptions() method 2025-05-05 20:37:19 +02:00
common common: new utility function: DerefOrDefault() 2025-03-27 11:33:56 +01:00
fsnode internal/fsnode: add API for custom directories and files 2023-02-22 12:17:36 +01:00
jobqueue jobqueue: Add AllRootJobIDs function to jobqueue 2025-02-03 17:27:31 -08:00
jsondb jsondb: improve performance of list operation 2023-06-20 10:45:22 +02:00
mocks weldr: update depsolve calls in weldr API 2025-01-29 18:03:11 +01:00
osbuildexecutor osbuildexecutor: show full osbuild exector on json decode errors 2024-08-05 14:51:40 +02:00
prometheus worker/server: update metrics on requeue 2024-11-07 17:18:48 +01:00
remotefile clienterrors: rename WorkerClientError to clienterrors.New 2024-07-31 17:04:58 +02:00
runner runner: add platform-python only for RHEL 8+ 2023-01-25 20:37:12 +01:00
store Delete internal/blueprint/ and import from osbuild/blueprint 2025-04-17 11:17:58 +02:00
target cloudapi: support worker server target artifact retrieval 2025-01-24 15:26:15 +01:00
test Drop common.CurrentArch() in favor of osbuild/images 2024-01-26 11:32:34 +01:00
upload lint: Clean up golangci-lint v1.60 complaints 2025-02-24 04:20:42 -08:00
weldr Many: expose rhsm.subscription_manager.rhsm.auto_enable_yum_plugins 2025-04-29 18:22:40 +03:00
worker worker: adapt to new oapi-codegen 2025-03-26 11:13:14 +01:00
tools.go go.mod: bump github.com/getkin/kin-openapi to v0.131.0 2025-03-26 11:13:14 +01:00