Skip to content

doc: many many bits - #2691

Merged
supakeen merged 10 commits into
osbuild:mainfrom
supakeen:documentation-improvements
Sep 17, 2026
Merged

supakeen merged 10 commits into
osbuild:mainfrom
supakeen:documentation-improvements

Conversation

@supakeen

Copy link
Copy Markdown
Member

Document a whole bunch of stuff that was previously undocumented and is probably really nice for users to know.

Document the `system` subcommand, it's public.

Signed-off-by: Simon de Vlieger <[email protected]>
Write down the additional metadata outputs that can be enabled during a
build.

Signed-off-by: Simon de Vlieger <[email protected]>
Make it more explicit that cross-architecture builds are experimental
and move it down so it isn't in the middle of the build command.

Signed-off-by: Simon de Vlieger <[email protected]>
Document the `--seed` flag.

Signed-off-by: Simon de Vlieger <[email protected]>
Let's write this down as our users do use it.

Signed-off-by: Simon de Vlieger <[email protected]>
@supakeen
supakeen requested a review from a team as a code owner September 16, 2026 09:23
schuellerf
schuellerf previously approved these changes Sep 16, 2026

@schuellerf schuellerf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This documents so many very cool features - thank you!

Comment thread doc/01-usage.md Resolved
Comment thread doc/01-usage.md Resolved
@supakeen
supakeen enabled auto-merge September 16, 2026 10:30
@supakeen

supakeen commented Sep 17, 2026 •

Copy link
Copy Markdown
Member Author

I'm going to drop .Pipeline.ExportName from this documentation commit; I want to keep it undocumented as it's only used for an experimental feature that hasn't even been PR'ed yet and I'm not yet certain it will stay.

Since that means I'm squashing anyhow I'll also address @lfauster's remark.

@supakeen
supakeen marked this pull request as draft September 17, 2026 07:03
auto-merge was automatically disabled September 17, 2026 07:03

Pull request was converted to draft

For users integrating in their own build systems this is super useful
information to have.

Signed-off-by: Simon de Vlieger <[email protected]>
Document all upload subcommands grouped by their target, and mention
that builds can be uploaded immediately.

Signed-off-by: Simon de Vlieger <[email protected]>
Quick fix, move the filter examples down one level so they don't clobber
the subnavigation as much.

Signed-off-by: Simon de Vlieger <[email protected]>
Ensure every console session is marked with `console`.

Signed-off-by: Simon de Vlieger <[email protected]>
We call it 'formats' everywhere else, not 'types'.

Signed-off-by: Simon de Vlieger <[email protected]>
@supakeen
supakeen force-pushed the documentation-improvements branch from aa8741d to 94c8561 Compare September 17, 2026 08:06
@supakeen
supakeen marked this pull request as ready for review September 17, 2026 08:06
@supakeen

Copy link
Copy Markdown
Member Author

I'm going to drop .Pipeline.ExportName from this documentation commit; I want to keep it undocumented as it's only used for an experimental feature that hasn't even been PR'ed yet and I'm not yet certain it will stay.

Since that means I'm squashing anyhow I'll also address @lfauster's remark.

Done.

@achilleas-k achilleas-k left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work. Thank you. LGTM.

Some comments below but wont block.

Comment thread doc/01-usage.md
Comment on lines +144 to +149
`--with-sbom` places an [SPDX](https://spdx.dev/) Software Bill of Materials document alongside the image.

```console
$ sudo image-builder build --with-sbom --distro fedora-43 server-qcow2
# ...
```

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No info on the naming of the sbom?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's do follow-ups on these.

Comment thread doc/01-usage.md
Comment on lines +249 to +251
When passed `--arch` `image-builder` will try to build for a different architecture. Not all image types are available for all architectures.

Cross-architecture builds are much slower than building on native hardware. However, if no native hardware is available they might be an acceptable compromise.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I realise this is a pre-existing block but the language here is a bit awkward. "When passed ..." doesn't flow very nicely.
How about:

The architecture is automatically selected to match the host when building an image. This can be overridden with the --arch option. Building an image for a foreign architecture (i.e. an architecture different from the host machine) is much slower than building natively.

I think the part about it being an acceptable compromise is unnecessary in these kinds of docs, but we can keep it if you like it.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's do follow-ups on these.

@supakeen
supakeen added this pull request to the merge queue Sep 17, 2026
Merged via the queue into osbuild:main with commit c32b2ea Sep 17, 2026
54 checks passed
@supakeen
supakeen deleted the documentation-improvements branch September 17, 2026 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants