fix: kustomize github tag uses path prefix (kustomize/vX.Y.Z) #115

Open
opened 2026-05-02 01:43:55 +10:00 by unkinben · 0 comments
Owner

Problem

The kustomize package at rpms/kustomize/metadata.yaml has github: kubernetes-sigs/kustomize, but the upstream repo uses scoped release tags in the format kustomize/v5.8.1 rather than plain v5.8.1.

tools/update-gh reports:

New version available: 5.8.1 -> kustomize/v5.8.1

The "latest version" being detected is actually the tag name with the path prefix, not a clean version string. Setting the version to kustomize/v5.8.1 would break RPM builds.

Options

  1. Add a tag_prefix or tag_strip field to metadata.yaml so update-gh can strip kustomize/ from the tag name before using it as the version
  2. Manually track kustomize releases and update version by hand
  3. Query the GitHub API for releases filtered to kustomize/v* tags and strip the prefix in the tool

Current version

5.8.1 (likely still current — the latest release tag is just kustomize/v5.8.1)

## Problem The `kustomize` package at `rpms/kustomize/metadata.yaml` has `github: kubernetes-sigs/kustomize`, but the upstream repo uses scoped release tags in the format `kustomize/v5.8.1` rather than plain `v5.8.1`. `tools/update-gh` reports: ``` New version available: 5.8.1 -> kustomize/v5.8.1 ``` The "latest version" being detected is actually the tag name with the path prefix, not a clean version string. Setting the version to `kustomize/v5.8.1` would break RPM builds. ## Options 1. Add a `tag_prefix` or `tag_strip` field to metadata.yaml so `update-gh` can strip `kustomize/` from the tag name before using it as the version 2. Manually track kustomize releases and update version by hand 3. Query the GitHub API for releases filtered to `kustomize/v*` tags and strip the prefix in the tool ## Current version `5.8.1` (likely still current — the latest release tag is just `kustomize/v5.8.1`)
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unkin/rpmbuilder#115