-
Notifications
You must be signed in to change notification settings - Fork 7
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
comment on issues too #23
Comments
For info we are parsing the body of commits and PR (found with GitHub search for the commits part of the release) to find issues fixed by those PR and commits in semantic-release/github. I couldn't find a solution that would parse properly the GitHub closing keywords. All the solution I found were "too naive" and missed some edge cases (ignoring references in back tick, fenced block or It's mostly developed after lots and lots of empirical tests. It works well so far and I think most cases should be covered, but that would be great if we had a way to get the actual regex/algorithm used by GitHub. Do you think it's something GitHub would open source? Or is there any plan for the GitHub API to add the issues closed in the metadata of the PR/commit retrieved via API? |
👍
cc @megbird, who appears to have written the Closing issues using keywords doc. Meagan, do you know much about the implementation of this? |
I second this. I need a standardized way to parse a PR body for helpr. Currently it's very hacky and doesnt handle edge cases. |
@rsarky you can check issue-parser in the meantime, I'll happily fix any edge cases you might find. |
@pvdlg Thanks 😄 I will check it out. |
cc @cheshire137 who has done some work on this feature. Do you think extracting something reusable from GitHub's codebase is feasible? |
👋 sorry I didn't see this until today. @zeke and I spoke about the documentation history and about how our move to nanoc a few years ago means we can't see who worked on this when the feature was initially shipped. I wish I was more helpful 😸 |
So basically for each PR that was present in a release :
I was wondering if this would be helpful though. |
Yes, as the author and commenters will still be subscribed to it even though it's closed, and they may not be subscribed to updates on the resolving PR. |
@zeke That makes sense. I have my exams going on . |
Comments are currently created on Pull Requests that land in a release, but we should also be able to track down the source issues that are resolved by a release too.
cc @rsarky
The text was updated successfully, but these errors were encountered: