debian-forge-composer/internal
Tom Gundersen 0417c6d8bb distro: make the osbuild package internal to the distros
Rather than Manifest() returning an osbuild.Manifest object, introduce a
new distro.Manifest object which represents it as an opaque, JSON
serializable object. This new type has the following properties:

1) its serialization is compatible with the input to osbuild,
2) any valid osbuild input can be deserialized into it, and
3) marshalling and unmarshaling to and from JSON is lossless.

This means that even as we change the subset of valid osbulid manifests
that we support, we can still load any previous state from disk, and it
will continue to work just as before, even though we can no longer
deserialize it into our internal notion of osbuild.Manifest.

This fixes the underlying problem of which #685 was a symptom.

Signed-off-by: Tom Gundersen <teg@jklm.no>
2020-06-03 00:30:01 +02:00
..
blueprint blueprint: DeepCopy() cannot fail 2020-05-18 11:50:15 +02:00
client tests: lorax-composer returns 2 errors for these tests 2020-05-28 08:28:11 +02:00
common common/ImageType: move to the store package 2020-05-18 11:50:15 +02:00
crypt crypt_test: don't run on macOS 2020-04-09 13:21:30 +02:00
distro distro: make the osbuild package internal to the distros 2020-06-03 00:30:01 +02:00
jobqueue jobqueue: allow canceling jobs 2020-05-13 16:45:09 +02:00
jsondb jsondb: Allow passing nil as document to Read() 2020-05-13 16:45:09 +02:00
mocks worker: introduce job artifact directory 2020-05-26 10:42:20 +02:00
osbuild osbuild: update files source for rhsm 2020-05-28 00:23:54 +02:00
rcm rpmmd/RepoConf: rename Id to Name 2020-05-28 00:23:54 +02:00
rpmmd rpmmd/FetchMedata: fix checksum map 2020-05-28 00:23:54 +02:00
store distro: make the osbuild package internal to the distros 2020-06-03 00:30:01 +02:00
target store: move queue out of the store 2020-05-08 14:53:00 +02:00
test test/helper: add comparison for ImageType objects 2020-05-18 11:50:15 +02:00
upload Let AWS figure out the image format during import 2020-06-02 22:00:05 +02:00
weldr distro: make the osbuild package internal to the distros 2020-06-03 00:30:01 +02:00
worker distro: make the osbuild package internal to the distros 2020-06-03 00:30:01 +02:00