-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong issue links in plugin changelogs #12755
Comments
It does seem like default preset for generating our changelogs doesn't handle this correctly. My best guess is that it works for gatsby/packages/gatsby/package.json Lines 171 to 174 in 8b4d5de
And in gatsby/packages/gatsby-image/package.json Line 29 in 8b4d5de
It's probably time to fork changelog preset we use and do some customization |
I searched a few times but have no idea where I could help with a fix. Any pointers would be appreciated. UPDATE: Found https://github.com/conventional-changelog/conventional-changelog/blob/master/packages/conventional-changelog-angular/CHANGELOG.md where it works as expected, and just as @pieh noted, their package.json |
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 30 days of inactivity. It’s been at least 20 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not stale" to keep this issue open! Thanks for being a part of the Gatsby community! 💪💜 |
Bit of a doozy here. As @pieh notes, this works for the gatsby package because the repository URL is the base from which we construct our issues. For all others, the base is wrong because that's not actually where issues are filed in a monorepo. There are (minimally) two solutions here:
I'd propose to solve this we investigate Option 2 more, since it seems a little lower effort (yay!) and seems to be a better solution going forward. |
Description
Links to issues appear wrong in many package changelogs. Gatsby's own is ok:
https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby/CHANGELOG.md
But not so for the plugins, such as:
https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-image/CHANGELOG.md
Instead of markdown like:
The manual link could be removed in favor of a simple:
#12085
Expected result
Should link issues to right (top-level) URLs.
For example: #10278
Actual result
Links to URLs like https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image/issues/10278
The string
tree/master/packages/gatsby-image/
shouldn't be there.The text was updated successfully, but these errors were encountered: