debian-forge-composer/internal
Christian Kellner fb7f92aa95 disk: clone partition table before modifying it
The partition table is modified `CreatePartitionTable`, which is
not a problem for the table itself since it is currently passed
by value. However, all shallow copies share the same file system
pointers and `CreatePartitionTable` will modify those as well.
As there is a data race where two concurrent thread modify the
content of the Fileystem object at the same time before writing
the uuids out to the manifest via the stage options and thus the
resulting manifest would be broken.
Therefore we use the new `Clone` methods to make a dee@ copy of
the `PartitionTable` object in the `CreatePartitionTable` method;
This will allow us to pass the `basePartitionTable` object by val
and also return the resulting `PartitionTable` as a pointer.
2022-02-22 19:23:41 +00:00
..
auth jwt: support multiple key providers 2022-01-31 20:40:22 +00:00
blueprint internal: mandate installation device for the simplified installer 2021-11-18 18:10:09 +01:00
boot tests: update IDs in Openstack image boot test 2022-02-14 12:13:18 +02:00
client client: Add Cancel function and tests 2022-02-18 09:31:07 +01:00
cloud internal/cloud: Allow aws creds from defaults 2022-02-21 15:43:53 +01:00
cloudapi internal/cloudapi: Log error in manifest job 2022-02-22 14:06:05 +01:00
common internal/common: introduce function to convert data sizes 2021-11-02 18:32:47 +01:00
crypt crypt: add automatic darwin support 2020-07-17 07:48:22 +02:00
disk disk: clone partition table before modifying it 2022-02-22 19:23:41 +00:00
distro disk: create file system accessors and use those 2022-02-22 19:23:41 +00:00
distroregistry distroregistry: enable CS9 2022-02-18 10:39:08 +00:00
jobqueue fsjobqueue: refactor to allow dequeuing by multiple criteria 2022-02-16 17:14:36 +01:00
jsondb gosec: G306-WriteFile permissions higher than 0600 2021-12-13 12:17:30 +02:00
kojiapi worker/server: typesafe Job and JobStatus 2022-02-01 20:28:40 +00:00
mocks test: Add fixture support for blueprint changes 2022-02-15 10:10:21 +01:00
osbuild1 osbuild: test Write() on nil Result receivers 2021-11-17 15:21:40 +01:00
osbuild2 Move ostreePullStageInputs() from distros to osbuild2 2022-02-18 09:26:35 +01:00
ostree ostree: add test for VerifyRef() 2021-06-18 14:02:09 +01:00
prometheus metrics: change job metrics namespace 2022-02-08 15:57:12 +01:00
reporegistry reporegistry: Add a DistroHasRepos helper function 2021-07-12 08:58:42 +02:00
rhsm internal/rhsm: implement fallback to the previous mechanism 2021-08-09 12:40:23 +02:00
rpmmd Move OSBuildMetadataToRPMs and PackageMetadataToSignature to osbuild2 2022-02-18 09:26:35 +01:00
store store: Filter out blank blueprint name 2022-02-15 10:10:21 +01:00
target Add support for OCI upload provider 2022-01-28 15:16:47 +01:00
test gosec: G204 - Subproccess launched as function arg 2021-12-13 12:17:30 +02:00
upload Relax TCP timeouts for koji connections 2022-02-10 14:58:10 +01:00
weldr weldr: Allow cancel on waiting and running composes 2022-02-18 09:31:07 +01:00
worker worker: use default transport instead of "blank" one 2022-02-21 14:46:49 +01:00
tools.go go: vendor the oapi-codegen cmd 2021-02-01 15:32:58 +01:00