Skip to content

image: fix full-width punctuation in registries.conf documentation - #1050

Open
Arunendra21 wants to merge 1 commit into
podman-container-tools:mainfrom
Arunendra21:fix-fullwidth-punctuation-registries-docs
Open

image: fix full-width punctuation in registries.conf documentation#1050
Arunendra21 wants to merge 1 commit into
podman-container-tools:mainfrom
Arunendra21:fix-fullwidth-punctuation-registries-docs

Conversation

@Arunendra21

Copy link
Copy Markdown

This is the same fix as containers/image#2975, reopened here after the migration bot noted that containers/image has moved into this repository.

A few spots in the registries.conf man page and the matching Go doc comment use full-width CJK punctuation instead of plain ASCII. This replaces them with regular ASCII punctuation.

In image/docs/containers-registries.conf.5.md, the mirror fields list used a full-width colon (U+FF1A) after location and insecure, and a full-width comma (U+FF0C) after "digest-only". The same full-width comma also appears in the PullFromMirror doc comment in image/pkg/sysregistriesv2/system_registries_v2.go, which is where the man page text comes from.

These are just typos. They look off in the rendered man page and are inconsistent with the rest of the file, which already uses ASCII colons and commas (for example the pull-from-mirror line right below already uses a normal colon). The change is documentation and comments only, so there is no behavior change.

A few spots in the registries.conf man page and the matching Go doc
comment used full-width CJK punctuation instead of plain ASCII. This
fixes the full-width colon after `location` and `insecure` in the mirror
fields section, and the full-width comma after "digest-only" in both the
man page and the PullFromMirror comment in
image/pkg/sysregistriesv2/system_registries_v2.go. These render oddly
and are just typos, so this swaps them for a regular ASCII colon and
comma.

Signed-off-by: Arunendra21 <156455722+Arunendra21@users.noreply.github.com>
Co-authored-by: eeshsaxena <eeshsaxena@gmail.com>
@github-actions github-actions Bot added the image Related to "image" package label Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

image Related to "image" package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant