debian-forge-composer/internal/ostree
Sanne Raymaekers b01792d9dd internal/ostree: offload using default ostree ref to caller
If params.Ref is an empty string, it's set to the distro's default
ref. The only difference here is that the default ref also gets
verified.

It makes splitting out resolving ostree refs to a new job easier.

In the weldr and cloud apis, ostree.ResolveParams always got executed,
also for non-ostree image types. Make it more explicit by only resolving
if the image type is actually an ostree image.
2022-10-19 18:14:10 +02:00
..
mock_ostree_repo ostree: move test server to separate package 2022-02-23 11:08:24 +01:00
errors.go ostree: rename errors and introduce ParameterComboError 2022-02-23 11:08:24 +01:00
ostree.go internal/ostree: offload using default ostree ref to caller 2022-10-19 18:14:10 +02:00
ostree_test.go ostree: add test for VerifyRef() 2021-06-18 14:02:09 +01:00