Skip to content

Qualify issue references in registration release notes#125

Merged
mtfishman merged 1 commit into
mainfrom
mf/qualify-release-note-refs
Jun 24, 2026
Merged

Qualify issue references in registration release notes#125
mtfishman merged 1 commit into
mainfrom
mf/qualify-release-note-refs

Conversation

@mtfishman

Copy link
Copy Markdown
Member

Summary

Registration release notes carry the registered package's squash-merge commit subject, which usually ends in a bare #123 PR reference. That text is then rendered in a different repo (the local registry PR, or the General PR via JuliaRegistrator), where GitHub resolves #123 against that repo, linking to an unrelated issue instead of the package's own PR. This qualifies any bare #N in the subject with the source repo from GITHUB_REPOSITORY (so #123 becomes owner/repo#123), which resolves correctly wherever the notes are shown. Already-qualified owner/repo#N references and non-issue uses of # are left alone.

The release-notes subject is the package's squash-merge commit subject, which usually ends in a bare `#123` PR reference. That text is rendered in a foreign repo (the local registry PR, or the General PR via JuliaRegistrator), where `#123` auto-links to that repo's own issue #123 instead of the package's PR. Qualify the reference with the source repo from `GITHUB_REPOSITORY` so it resolves where it was written.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mtfishman mtfishman merged commit 53dec8c into main Jun 24, 2026
3 checks passed
@mtfishman mtfishman deleted the mf/qualify-release-note-refs branch June 24, 2026 22:37
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.

1 participant