-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
refs/notes/* refused by pre-receive hook at the remote #16688
Closed
wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf opened this issue
Aug 13, 2021
· 2 comments
· Fixed by #16705
Closed
refs/notes/* refused by pre-receive hook at the remote #16688
wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf opened this issue
Aug 13, 2021
· 2 comments
· Fixed by #16705
Labels
Comments
Hasn't found crash log by my test, wonder why. |
I'd be happy to take a crack at identifying and resolving this issue if it's still up for grabs. |
zeripath
added a commit
to zeripath/gitea
that referenced
this issue
Aug 16, 2021
…#16705) Partial Backport go-gitea#16705 There was an inadvertent breaking change in go-gitea#15629 meaning that notes refs and other git extension refs will be automatically rejected. This PR removes this incorrect forced rejection of non-standard refs. Fix go-gitea#16688 Signed-off-by: Andrew Thornton <art27@cantab.net>
zeripath
added a commit
to zeripath/gitea
that referenced
this issue
Aug 16, 2021
…ndard refs There was an inadvertent breaking change in go-gitea#15629 meaning that notes refs and other git extension refs will be automatically rejected. Further following go-gitea#14295 and go-gitea#15629 the pre-recieve hook code is untenably long and too complex. This PR refactors the hook code and removes the incorrect forced rejection of non-standard refs. Fix go-gitea#16688 Signed-off-by: Andrew Thornton <art27@cantab.net>
Codeberg-org
pushed a commit
to Codeberg-org/gitea
that referenced
this issue
Aug 24, 2021
…#16705) (go-gitea#16706) Partial Backport go-gitea#16705 There was an inadvertent breaking change in go-gitea#15629 meaning that notes refs and other git extension refs will be automatically rejected. This PR removes this incorrect forced rejection of non-standard refs. Fix go-gitea#16688 Signed-off-by: Andrew Thornton <art27@cantab.net>
6543
pushed a commit
that referenced
this issue
Sep 16, 2021
…ndard refs (#16705) * Clean-up HookPreReceive and restore functionality for pushing non-standard refs There was an inadvertent breaking change in #15629 meaning that notes refs and other git extension refs will be automatically rejected. Further following #14295 and #15629 the pre-recieve hook code is untenably long and too complex. This PR refactors the hook code and removes the incorrect forced rejection of non-standard refs. Fix #16688 Signed-off-by: Andrew Thornton <art27@cantab.net>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Gitea version:
Gitea Version: 1.16.0+dev-104-g3a6edd368
git:
git version 2.33.0.rc2.250.ged5fa647cd
built from:
sources
run with:
systemd
OS:
Arch Linux
I am getting this when I try to push notes with
git push -u origin refs/notes/"*":refs/notes/"*"
, TLDR pre-receive hook rejects them.as @zeripath noted, this might be indicative of a regression.
log (click me pls)
client-side, this is what I get
Originally posted by @wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf in #15373 (comment)
The text was updated successfully, but these errors were encountered: