-
-
Notifications
You must be signed in to change notification settings - Fork 849
Rebased PRs #580
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
Comments
In order to help you, can you these things:
- print out the version of this tool
- also try with the prerelease; gem install (with the dash-dash pre suffix), and compare results
… On 23 Oct 2017, at 23:53, Alexander Popov ***@***.***> wrote:
Hello!
In AlexWayfer/flame I have a list of commits with commit for version updating and commit with big refactoring. The second commit in list is after the first, but has earlier date-time (PR + rebase, I guess) . And the second commit appears in changelog for 4.18.1 version, but if fact it is for next release.
And one more thing: changelog has both (commit and issue), does it right?
Thank you.
Generated changelog:
- Fix `flame` gem in template Gemfile [\#34](AlexWayfer/flame#34) ([AlexWayfer](https://github.com/AlexWayfer))
- Add `Flame::Application.require\_dirs` method [\#33](AlexWayfer/flame#33) ([AlexWayfer](https://github.com/AlexWayfer))
- Remove patch-versions of Ruby for Travis CI [\#32](AlexWayfer/flame#32) ([AlexWayfer](https://github.com/AlexWayfer))
## [v4.18.1](https://github.com/AlexWayfer/flame/tree/v4.18.1) (2017-07-29)
[Full Changelog](AlexWayfer/flame@v4.18.0...v4.18.1)
**Implemented enhancements:**
- Add `version` option for `Controller\#url\_to` method with static files [\#14](AlexWayfer/flame#14)
- Raise error if no file for rendering [\#12](AlexWayfer/flame#12)
- Don't allow change the order of optional parameters in path [\#7](AlexWayfer/flame#7)
- Change routing system [\#3](AlexWayfer/flame#3)
- Replace Array-based routes system with Hash-based [\#27](AlexWayfer/flame#27) ([AlexWayfer](https://github.com/AlexWayfer))
**Fixed bugs:**
- Don't allow change the order of optional parameters in path [\#7](AlexWayfer/flame#7)
## [v4.18.0](https://github.com/AlexWayfer/flame/tree/v4.18.0) (2017-06-27)
[Full Changelog](AlexWayfer/flame@v4.17.0...v4.18.0)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@olleolleolle, of course:
Almost the same (just duplicate about - Fix `flame` gem in template Gemfile [\#34](https://github.com/AlexWayfer/flame/pull/34) ([AlexWayfer](https://github.com/AlexWayfer))
- Add `Flame::Application.require\_dirs` method [\#33](https://github.com/AlexWayfer/flame/pull/33) ([AlexWayfer](https://github.com/AlexWayfer))
- Remove patch-versions of Ruby for Travis CI [\#32](https://github.com/AlexWayfer/flame/pull/32) ([AlexWayfer](https://github.com/AlexWayfer))
## [v4.18.1](https://github.com/AlexWayfer/flame/tree/v4.18.1) (2017-07-29)
[Full Changelog](https://github.com/AlexWayfer/flame/compare/v4.18.0...v4.18.1)
**Implemented enhancements:**
- Add `version` option for `Controller\#url\_to` method with static files [\#14](https://github.com/AlexWayfer/flame/issues/14)
- Raise error if no file for rendering [\#12](https://github.com/AlexWayfer/flame/issues/12)
- Change routing system [\#3](https://github.com/AlexWayfer/flame/issues/3)
- Replace Array-based routes system with Hash-based [\#27](https://github.com/AlexWayfer/flame/pull/27) ([AlexWayfer](https://github.com/AlexWayfer))
**Fixed bugs:**
- Don't allow change the order of optional parameters in path [\#7](https://github.com/AlexWayfer/flame/issues/7)
## [v4.18.0](https://github.com/AlexWayfer/flame/tree/v4.18.0) (2017-06-27) |
(I'm sorry for terseness before. There is no excuse for that.) The decision on which tag to put "Issues and PRs" into is done using the Code search for that: https://github.com/skywinder/github-changelog-generator/search?utf8=%E2%9C%93&q=merged_at&type= There's been previous reports of issues with this, especially when you run maintenance and release branches. This is an "area under scrutiny", and test-cases, reproduce scripts, or input is very welcome. Thank you for reporting this. |
I understand that this program is based on time ( How to reproduce, I guess:
Commit from feature-branch will be after release-commit in And I don't sure that Suggestions:
|
I'm running into the exact same issue with I tried overwriting the git history with I then tried manually reopening and re-closing the issue, but now In the end I had to remove and re-add the tag, doing a lot of rewriting of the git history, to get it to appear as expected. I think either of @AlexWayfer's two suggestions would have solved this problem for me. |
@AlexWayfer There appears to be something amiss...
So I conclude that some local git rebasing killed the commit SHAs related to the various github pull requests and were overwritten by a force push to master. There's not much github-changelog-generator can do when the git history doesn't match github's api. Sorry. |
@JacobEvelyn Yours looks similar; https://api.github.com/repos/JacobEvelyn/friends/pulls/187 The first suggestion to base changes on git history rather than merge times is implemented in #619 and may work better for you. |
@hunner, thank you. That's strange. I really rarely use force push to
Can this be checked by
, and I think the answer is "no". It's very sad. Sorry if this commit's mess was my fault. |
@AlexWayfer @JacobEvelyn I added a "rebased commit: " ability to #619 to be able to track PRs that are merged with modified SHAs with GCG \o/ |
@hunner, thank you! 👏 |
Merged. I've used it a surprising amount of times. Sometimes the github API just loses track of merge commits of older PRs too. I don't know why. |
👋🏻 there still appears to be issues where the diffs generated are non-deterministic 🤔 It looks like from the last comment (from over two years ago) that this is caused by the GitHub API rather than a code/logic bug. Is there a reason this issue hasn't been bubbled back up to GitHub and the repo/team responsible for their API layer? Thanks! |
@Integralist If you have a way to let them know about it, please feel free to direct their attention to this problem (and this Issue in this repo). There's no other reason than nobody doing it. |
Hello!
In AlexWayfer/flame I have a list of commits with commit for version updating and commit with big refactoring. The second commit in list is after the first, but has earlier date-time (PR +
rebase
, I guess) . And the second commit appears in changelog for4.18.1
version, but if fact it is for next release.And one more thing: changelog has both (commit and issue), does it right?
Thank you.
Generated changelog:
The text was updated successfully, but these errors were encountered: