debian-forge-composer/cmd
Achilleas Koutsou 390ae15eaa distro: replace ostree.RequestParams with new OSTreeImageOptions
Instead of using the ostree.RequestParams in the OSTReeImageOptions,
define a new struct specific to ImageOptions for the ostree parameters.
This is almost identical to the new ostree.CommitSpec but the meaning of
the parameters changes based on image type and it would not be clear if
the CommitSpec was used in all cases.  For example, the parameters of
the new OSTreeImageOptions do not always refer to the same commit.  The
URL and Checksum may point to a parent commit to be pulled in to base
the new commit on, while the Ref refers to the new commit that will be
built (which may have a different ref from the parent).

The ostree.ResolveParams() function now returns two strings, the
resolved ref, which is replaced by the defaultRef if it's not specified
in the request, and the resolved parent checksum if a URL is specified.
The URL does not need to be returned since it's always the same as the
one specified in the request.
The function has been rewritten to make the logic more clear.
The docstring for the function has been rewritten to cover all use cases
and error conditions.
2022-10-11 10:00:22 +02:00
..
gen-manifests distro: replace ostree.RequestParams with new OSTreeImageOptions 2022-10-11 10:00:22 +02:00
mock-dnf-json mock-dnf-json: Add support for search command 2022-08-23 22:47:46 +01:00
osbuild-auth-tests golangci-lint: The parameters passed to exec.Command are safe 2022-09-15 03:57:40 -07:00
osbuild-composer osbuild-composer: Set ReadHeaderTimeout to 5s 2022-09-15 03:57:40 -07:00
osbuild-composer-cli-tests osbuild-composer-cli-tests: new weldr-client compatibility 2022-09-13 16:06:19 +01:00
osbuild-composer-dbjobqueue-tests dbjobqueue: use background context when closing listener 2022-09-02 12:52:50 +02:00
osbuild-composer-image-definitions Tools: fetch image test case generation matrix from composer 2022-05-13 21:01:37 +03:00
osbuild-composer-manifest-tests Manifests test: ensure that every image type has test coverage 2022-05-13 21:01:37 +03:00
osbuild-dnf-json-tests distro: replace ostree.RequestParams with new OSTreeImageOptions 2022-10-11 10:00:22 +02:00
osbuild-image-tests osbuild-image-tests: ignore LVM UUID 2022-07-12 13:28:36 +02:00
osbuild-koji koji: fix excessive logging & monitoring 2022-04-05 23:48:30 +02:00
osbuild-koji-tests gosec: G204 - Subproccess launched as function arg 2021-12-13 12:17:30 +02:00
osbuild-mock-openid-provider osbuild-composer: Set ReadHeaderTimeout to 5s 2022-09-15 03:57:40 -07:00
osbuild-package-sets distro: replace ostree.RequestParams with new OSTreeImageOptions 2022-10-11 10:00:22 +02:00
osbuild-pipeline distro: replace ostree.RequestParams with new OSTreeImageOptions 2022-10-11 10:00:22 +02:00
osbuild-playground osbuild: add extraEnv argument to RunOSBuild 2022-07-25 21:21:44 +02:00
osbuild-service-maintenance jobqueue: Query job dependents 2022-08-30 16:14:52 +02:00
osbuild-store-dump distro: add containers arg to ImageType.Manifest 2022-07-21 13:32:07 +02:00
osbuild-upload-aws osbuild-service-maintenance: Clean up expired images 2021-12-03 00:14:09 +00:00
osbuild-upload-azure azure: add an option to tag page blobs 2022-06-13 21:06:01 +02:00
osbuild-upload-container container/client: rework tls settings 2022-07-21 13:32:07 +02:00
osbuild-upload-gcp cmd/osbuild-upload-gcp: fix typo in skip-import's help string 2022-06-22 12:37:34 +02:00
osbuild-upload-generic-s3 awscloud: add option to mark S3 object as public 2022-09-19 22:56:36 +02:00
osbuild-upload-oci Add support for OCI upload provider 2022-01-28 15:16:47 +01:00
osbuild-worker worker: log error details on job failure 2022-09-30 12:10:07 +02:00