Skip to content

Sort issues by detected actual_date instead of closed_at #640

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

Merged

Conversation

hunner
Copy link
Contributor

@hunner hunner commented Apr 12, 2018

Closes #638

#504 changed issue sorting from using closed_at time (the time the user closed the issue) to use actual_date (the time of the fix commit reference). #504 was trying to fix PR merge time tag detection (fixed in #619), but the same behavior detection does not apply to issues.

Probably an improved solution to just taking the actual_date would be to detect the tag commit of the given sha too, similar to how PRs are sorted. But in my testing this seems to be enough for my use case so far.

Also maybe offer a "Fixed commit: " options similar to the "Rebased commit: " ability. Or maybe the milestone functionality could get around it?

@hunner hunner mentioned this pull request Apr 12, 2018
Copy link
Collaborator

@olleolleolle olleolleolle left a comment

Choose a reason for hiding this comment

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

The helpful explainer comment is great here.

Thanks for making this.

@olleolleolle olleolleolle merged commit 3ed2fae into github-changelog-generator:master Apr 13, 2018
@hunner hunner deleted the issues_closed branch April 13, 2018 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Closed issues reported under the wrong milestone
2 participants