debian-forge-composer/cmd
Michael Vogt acec29dea2 osbuild-store-dump: use distrofactory instead of importing fedora
This commit removes the direct use of `pkg/distro/fedora` and
uses `distrofactory` instead. This is the more generic interface,
it also helps with PR#1563 as `pkg/distro/fedora` goes away.

Note that I did not test this but @bcl was kind enough to
mention how this is used:
```
The output from this is used in Test_upgrade in
internal/store/json_test.go, the files there are manually
created when we change the format of the store and add a new
parser to internal/store/json.go -- which hasn't happened in
a long time :)
```
I updated the cmd/README with a snippet of the above.
2025-06-04 12:41:39 +02:00
..
gen-manifests go.mod: update osbuild/images to v0.123.0 2025-03-10 17:56:19 +01:00
mock-dnf-json switch to images/pkg/dnfjson and remove internal copy 2024-02-20 15:55:47 +01:00
osbuild-auth-tests Remove old build tag comments 2023-03-07 09:22:23 -08:00
osbuild-composer osbuild-composer/config: update distro aliases for RHEL 9 and 10 2025-02-28 09:35:23 +01:00
osbuild-composer-cli-tests Delete internal/blueprint/ and import from osbuild/blueprint 2025-04-17 11:17:58 +02:00
osbuild-composer-dbjobqueue-tests Makefile: implement make db-tests 2024-11-06 15:16:42 +01:00
osbuild-dnf-json-tests many: update for new reporegistry.New() api (c.f. pr#1179) 2025-02-19 19:19:42 +01:00
osbuild-image-tests test: update all calls to image-info 2025-01-31 08:22:29 +01:00
osbuild-jobsite-builder cmd: use log in jobsite 2025-05-12 15:20:16 +02:00
osbuild-jobsite-manager cmd: use log in jobsite 2025-05-12 15:20:16 +02:00
osbuild-koji cmd: use log in koji 2025-05-12 15:20:16 +02:00
osbuild-koji-tests osbuild-worker: use the new ostree resolver API 2024-11-07 16:17:56 +01:00
osbuild-mock-openid-provider Update deprecated io/ioutil functions 2023-03-07 09:22:23 -08:00
osbuild-service-maintenance cmd: use log in service-maintenance 2025-05-12 15:20:16 +02:00
osbuild-store-dump osbuild-store-dump: use distrofactory instead of importing fedora 2025-06-04 12:41:39 +02:00
osbuild-upload-aws osbuild-upload-aws: remove aws sdk v1 dependency 2024-08-20 15:32:40 +02:00
osbuild-upload-azure azure: add an option to tag page blobs 2022-06-13 21:06:01 +02:00
osbuild-upload-container split: replace internal packages with images library 2023-07-10 21:11:19 +02:00
osbuild-upload-gcp cmd: use log in upload-gcp 2025-05-12 15:20:16 +02:00
osbuild-upload-generic-s3 osbuild-uploadgeneric-s3: remove aws sdk v1 dependency 2024-08-20 15:32:40 +02:00
osbuild-upload-oci internal/target: add OCI object storage target 2023-09-19 22:57:06 +02:00
osbuild-upload-pulp-ostree cmd: update the final message in osbuild-upload-pulp-ostree 2023-10-18 21:14:46 +02:00
osbuild-worker lint: Clean up golangci-lint v1.60 complaints 2025-02-24 04:20:42 -08:00
osbuild-worker-executor lint: Clean up golangci-lint v1.60 complaints 2025-02-24 04:20:42 -08:00
README osbuild-store-dump: use distrofactory instead of importing fedora 2025-06-04 12:41:39 +02:00

Binaries
========

osbuild-composer: The main binary, the service that maintains the queue and schedules all
jobs. This is started as the main process by systemd or container runtime.

osbuild-worker: The worker binary that handles jobs from the job queue locally.

osbuild-worker-executor: The binary that runs osbuild to build an image on an isolated VM.

osbuild-koji: Submits builds to Koji.

osbuild-jobsite-*: Provides an isolated set of services to run builds in. They can be separated
from the rest of the system through network segmentation or other means. The jobsite and what's
in it are only available to things inside it.

Service binaries
================

osbuild-service-maintenance: Vacuum the database and remove old jobs. Also used to cleanup
cloud instances.

Development and test tools
==========================

gen-manifests
mock-dnf-json
osbuild-auth-tests
osbuild-composer-cli-tests
osbuild-composer-dbjobqueue-tests
osbuild-dnf-json-tests
osbuild-image-tests
osbuild-koji-tests
osbuild-mock-openid-provider
osbuild-upload-*

osbuild-store-dump: the output from this is used in Test_upgrade in internal/store/json_test.go