Skip to content

Follow-up: minor improvements from PR #4 review #5

@pavelanni

Description

@pavelanni

Minor items deferred from PR #4 code review:

From Kimi-2.5 review:

  • Validate tag destination reference formatskillctl tag doesn't validate the destination ref format early; invalid refs fail later with a confusing store error. Add format validation in pkg/oci/tag.go.
  • Add tests for credential storecredentialStore() and podmanAuthPath() in pkg/oci/push.go have no unit tests. Add tests covering: Docker-only, Podman-only, both present, neither present.

From CodeRabbit review:

  • REGISTRY_AUTH_FILE support — Honor REGISTRY_AUTH_FILE env var and try all Podman auth paths ($XDG_RUNTIME_DIR/containers/auth.json and $HOME/.config/containers/auth.json) instead of stopping at the first one found.

All are low-severity robustness improvements — no correctness impact.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions