debian-forge-composer/internal/store
Brian C. Lane a0a06b1786 store: Add Packages to json.go
This adds support for Packages to the store's json structures so that
they will be preserved across restarts of the osbuild-composer service.
Reading the old format will result in an empty []rpmmd.PackageSpec so
this does not require a composeV1 structure.
2021-03-30 00:19:30 +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: Store and return compose dependencies 2021-03-30 00:19:30 +01:00
fixtures.go tests: This adds tests for Compose.Packages 2021-03-30 00:19:30 +01:00
json.go store: Add Packages to json.go 2021-03-30 00:19:30 +01:00
json_test.go store: Add newImageBuildFromV0 test 2020-08-13 17:47:57 +02:00
store.go store: Store and return compose dependencies 2021-03-30 00:19:30 +01:00
store_test.go tests: This adds tests for Compose.Packages 2021-03-30 00:19:30 +01:00