-
Notifications
You must be signed in to change notification settings - Fork 325
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
PR is not exists on the release notes #128
Comments
Hello @wellDan28 Let me investigate and I'll come back to you. |
I am seeing this as well, where the last commit does not seem to be accounted for. |
I am also seeing this, the commits from a merged PR is ommited. Is it because of fast forward or something? I see the desired commits with |
Ok, looks like this is a top priority. Working on this next 👍 |
I've been looking into fixing this, and have a hit a bit of a roadblock. I think the main problem is down to the time difference between a pull request being closed and the actual merge commit created. For example:
When creating a release:
The output only contains details for PR #1 Here we can see the merge commit
The PR is actually marked as closed 1 second later, at We can't even use a combination of I've poked around the GitHub API docs and I can't find anything that might help here. @alexcanessa any ideas? I'm happy to attempt a fix if you can push me in the right direction. Cheers! :) |
I've been thinking about this a bit more, and was wondering if using commit id's instead of dates might be more reliable for this sort of thing?
|
I'm thinking that adding a second to each of PR merged time fields might be a sufficient solution (not clean but sufficient) |
@alexcanessa what do you think about 👆 ? |
@wellDan28 not totally sure about the "adding a second" solution as we don't know if there is a set time or a delay caused by their server etc. @lukemartin looking for all commits is quite an expensive solution in a real scenario when you have lots of commits. Possible solutionAlthough there are a few properties that contain data that we might use. Pull Request
|
Hi any news about that? |
+1 to using |
@alexcanessa I'm doing a bit of research into the PR attributes returned from GitHub. It seems to me we want to use I found where the "merged vs. just closed" check is happening in Gren, but I don't think I'm following along on how the times are checked. If you could point me in the right direction there, I'd be happy to throw up a PR to discuss further! |
+1
|
@hiyangw this should be part of the latest release. |
Hey,
I've facing some unexpected behavior:
In my repo the tag v1.13.0 was added after a pull-request was merge to the master but the pull-request is not include in the release notes.
I'm running the following command:
gren r --token="XXXXXXXXXXX" --data-source=prs --tags="v1.13.0..v1.10.0"
Demo repo:
https://github.com/wellDan28/gren-test/releases
Is this is the expected behavior in this scenario?
The text was updated successfully, but these errors were encountered: