debian-forge-composer/internal/store
Tomas Hozza 6f464949f5 target: move Filename from target options to Target
The filename of the image as produced by osbuild for a given export is
currently set in each target options type in the `Filename` struct
member. However, the value is not really specific to any target type,
but to the specific export used for the target. For this reason move the
value form target type options to the `Target` struct inside a new
struct `OsbuildArtifact` under the name`ExportFilename`.

The backward compatibility with older implementations of the composer
and workers is kept on the JSON (Un)mashaling level, where the JSON
object is always a super-set of the old and new way of providing the
export filename in the Target.
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: move Filename from target options to Target 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