debian-forge-composer/internal/store
Tomas Hozza 40abb32dec target: deprecate local target and don't use it anywhere
Completely remove the use of `local` target from all code, which is not
required to keep backward compatibility. The target has not been used in
composer for some time already, but some unit tests still used its data
structures. Mark the target as deprecated and adjust all unit tests that
depended on it.

The backward compatibility is kept mostly to enable long running
osbuild-composer instances, which were upgraded to still read old jobs
from the store.

While a target with the same intention will be reintroduced, the current
`local` target data structures contain many fields which would not be
relevant for the new target.

In addition, while the "local" target will be ever used only by Weldr
API, the name would be a bit misleading. Although the worker usually
runs on the same system when using Weldr API, there is no hard
requirement enforcing this setup. In reality, the worker will be
uploading the image back to the worker server, so there is room for a
better name.
2022-07-01 18:55:01 +01:00
..
test store: verify that old versions of the store can still be unmarshalled 2020-06-03 00:30:01 +02:00
compose.go store: delete unused GetLocalTargetOptions() method 2022-07-01 18:55:01 +01:00
fixtures.go target: deprecate local target and don't use it anywhere 2022-07-01 18:55:01 +01:00
json.go distro/fedora: add container image type 2022-06-29 10:02:46 +02:00
json_test.go target: deprecate local target and don't use it anywhere 2022-07-01 18:55:01 +01:00
store.go store: Filter out blank blueprint name 2022-02-15 10:10:21 +01:00
store_test.go test: use T.TempDir to create temporary test directory 2022-04-05 09:27:43 +02:00