Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ugultopu/b4a5dd64f6bb2261af18ed1f5856c0f8 to your computer and use it in GitHub Desktop.
Save ugultopu/b4a5dd64f6bb2261af18ed1f5856c0f8 to your computer and use it in GitHub Desktop.

If an issue is fixed on GitHub (that is, if a PR is created for it and that PR is merged), to find the versions that this fix is effective at, you need to:

  • Go the the page of the issue.
  • From the page of the issue, discover the PR that fixes the issue and go to the PRs page.
  • From the PRs page, find the commit hash that merges the PR (most likely a merge commit hash) and click on it to go to the commit's page.
  • On the top of the commit's page, there is a summary box with the commit title and description. This box also contains which branch this commit is in and which tags contain this commit. The tags part tells us which versions of the software contains the fix.

NOTE: I'm not sure but this feature might be available only with "GitHub releases", instead of regular Git tags. That is, if you release versions just by using regular Git tags, this might not be available, but if you are using "GitHub releases", then it might be available.

Example:

  • An issue on TypeORM project. On the top, it says "Fixed by #7792".
  • We click on #7792 and go the page of the pull request (PR). On the bottom of the PR page, we observe that there's a note that says "imnotjames merged commit 5cf368a into typeorm:master on Jun 28, 2021".
  • We click on 5cf368a and go to the page of the merge commit. On top the page of the (merge) commit, there is the commit summary and in the commit summary, it displays which tags this commit is in.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment