debian-forge-composer/internal
Brian C. Lane 3ce066a91a Add DeepCopy function to Blueprint struct
The Blueprint struct is complex, deep, and full of references. This
means that any changes to it in memory will persist. Sometimes you need
an actual copy of it, so this adds DeepCopy which uses the json.Marshal
and Unmarshal functions to create a deep copy with no references to the
original.

This is not very efficient, but the alternative is adding Copy functions
to all the member structs and then calling them to build the copy.
2020-02-19 23:44:17 +01:00
..
blueprint Add DeepCopy function to Blueprint struct 2020-02-19 23:44:17 +01:00
common distro: add fedora 32 support 2020-02-19 14:18:58 +01:00
compose tree-wide: format code with gofmt 2020-02-17 16:09:17 +01:00
crypt crypt: make it possible to compile and test on macOS 2020-01-30 14:42:25 +01:00
distro Register Fedora 32 distro 2020-02-19 23:37:45 +01:00
jobqueue distro: make it impossible to initialize registry with nil values 2020-02-19 23:37:45 +01:00
mocks Fix /blueprints/freeze results 2020-02-19 23:44:17 +01:00
osbuild osbuild: add RPM stage type 2020-02-14 14:43:27 +01:00
rcm Use distro_mock in rcm API test 2020-02-19 23:37:45 +01:00
rpmmd dnf-json: make independent from the host 2020-02-14 14:43:27 +01:00
store distro/pipeline: take depsolved packages as argument 2020-02-14 14:43:27 +01:00
target targets/local: drop Location field 2020-02-14 11:53:38 +01:00
test api: implement /compose/log 2019-12-20 11:43:39 +01:00
upload fix ineffectual assignments found by golangci-lint 2020-02-14 12:41:09 +01:00
weldr Fix module support in blueprints/depsolve 2020-02-19 23:44:17 +01:00