Skip to content
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

Changelog: update link lists to prevent duplicate link definitions #410

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Mar 20, 2024

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:

  • 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.

Suggested changelog entry

N/A

Related issues/external references

Related to #244

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
Copy link
Contributor

@rodrigoprimo rodrigoprimo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Once this is merged, I will update #409 to follow the new pattern for the links.

@jrfnl jrfnl merged commit 8b8ef25 into master Mar 20, 2024
39 of 40 checks passed
@jrfnl jrfnl deleted the feature/changelog-prevent-duplicate-links branch March 20, 2024 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants