Changelog: update link lists to prevent duplicate link definitions#410
Merged
Changelog: update link lists to prevent duplicate link definitions#410
Conversation
Links in the link lists have to be unique and as all issue/PR sources (this repo, Squizlabs repo, PEAR repo) use numeric issue references, there will be duplicate/overlapping numbers at some point. To prevent this, I'm proposing the following change: * Links to _this repo_ will continue to use simple issue number links, i.e. `[#123]`. This will keep things most straight forward for new content being added to the changelog. * Links to the _Squizlabs repo_ will get a `sq` prefix in the link reference. This means the link reference will need to be added where the link is used, i.e `[#123][sq-123]`. * Links to the _PEAR repo_ will get a `pear` prefix in the link reference. Again, this means the link reference will need to be added where the link is used, i.e `[#123][pear-123]`. This commit makes it so for all existing issue/PR links in the changelog. Related to 244
This was referenced Mar 20, 2024
rodrigoprimo
approved these changes
Mar 20, 2024
Contributor
rodrigoprimo
left a comment
There was a problem hiding this comment.
Looks good to me! Once this is merged, I will update #409 to follow the new pattern for the links.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Links in the link lists have to be unique and as all issue/PR sources (this repo, Squizlabs repo, PEAR repo) use numeric issue references, there will be duplicate/overlapping numbers at some point.
To prevent this, I'm proposing the following change:
[#123]. This will keep things most straight forward for new content being added to the changelog.sqprefix in the link reference. This means the link reference will need to be added where the link is used, i.e[#123][sq-123].pearprefix in the link reference. Again, this means the link reference will need to be added where the link is used, i.e[#123][pear-123].This commit makes it so for all existing issue/PR links in the changelog.
Suggested changelog entry
N/A
Related issues/external references
Related to #244