-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Web hook pull notifications .diff and .patch point to different pull and are not diffs #3259
Closed
1 of 6 tasks
Labels
Milestone
Comments
I can reproduce: https://try.gitea.io/gitea/gitea/pulls/2.diff takes you to PR 1 ... |
PR #3293 implements the |
I'd reopen this becasue only .diff is done via #3293 -- .patch has to wait for go-gitea/git#103 to be merged first |
PR for .patch is #3305 |
strk
added a commit
to strk/gitea
that referenced
this issue
Jan 7, 2018
Closes go-gitea#3259 Updates "git" module, for GetFormatPatch
lafriks
pushed a commit
that referenced
this issue
Jan 7, 2018
* Serve .patch for pull requests Closes #3259 Updates "git" module, for GetFormatPatch * Handle io.Copy error
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
[x]
):Description
When a webhook for pull happens, it posts:
These 3 urls (pull number always same of course
For try.gitea.io, I can't replicate the diff and patch pull pointing to a different pull, but the urls offered for diff and patch are not diff and patches , they are just the pull html page.
In my production environment these end up pointing to the wrong pull even though they do have the right pull number in the web hook post. I suspect it might be because the pull it ends up pointing to has the repo deleted.
...
Screenshots
The text was updated successfully, but these errors were encountered: