debian-forge-composer/internal
Achilleas Koutsou f32e653315 store: trim compat string map
The map is meant to maintain compatibility with changes in image type
names.  Most entries however map to themselves.  It's redundant to keep
updating this map with every new image type name and map it to itself.
Instead, check the map for a compat string and if one doesn't exist,
return the original.

Conversely, when the inverse lookup is performed, first check if the
compat string is a valid image type name and only iterate the map if
it's not.

Now we don't need to update the map every time we introduce a new image
type, unless we need to map an old name to a new one.
2022-09-13 16:06:19 +01: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 Introduce logging adapter for jobqueue 2022-09-09 16:27:38 +02: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 fedora: add the iot-raw-image to x86 and aarch64 2022-09-13 16:06:19 +01:00
distroregistry distro/fedora: add support for Fedora 37 and 38 2022-09-13 16:06:19 +01: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 image: complete OSTreeRawImage.InstantiateManifest() 2022-09-13 16:06:19 +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 manifest: add xz pipeline for compressing ostree images 2022-09-13 16:06:19 +01: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 store: trim compat string map 2022-09-13 16:06:19 +01: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