feat(parsers): enable parsers to identify linked issues on a commit #1109
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.
Purpose
Rationale
This adds essential functionality for PSR to extract issue closure references defined in commits and include them in the Parsed Commit object. This then allows consumers custom changelog to display issue information as desired.
I did not add a default method to display closed issues in the default changelog as I have not decided on a standard format that would be accepted by the community. Only time will tell. The custom changelog for PSR will have a different format for the changelog than the release notes, so we will see if people request a specific default to be added.
How did you test?
Added a significant number of parameterized values to attempt to test all boundaries of different variations of git footer usage of closure statements. The closure statements are all defined by the different VCS hosting platforms.
How to Verify