Consolidate repository and semantic-version utilities#54148
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
Hey However, this PR is currently in draft with zero code changes. Here's what needs to happen before this is ready for review:
This is exactly the kind of internal consistency work the project values. Once the changes land and tests pass, this should be ready to ship.
|
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
PR TriageCategory: refactor | Risk: low | Priority: low (score 23/100)
|
Repository slug parsing remained duplicated across CLI paths, with several implementations accepting empty owner or repository components. Semantic-version prefixing and parsing also had duplicated logic and logging.
repoutil.SplitRepoSlug.NormalizeRepoForAPIwithSplitRepoSlugfor host-qualified overrides.semverutil.EnsureVPrefixfor AWF schema URLs.pkg/cli/semver.gologging aroundParseVersion.