-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
No Create Merge Commit
button
#21329
Comments
It appears I'm not the only one who has had this issue:
https://discord.com/channels/322538954119184384/561007778139734027/1026557311453507635 |
Do you have the problem on try.gitea.io ? |
No, as mentioned above and shown in the dark themed screenshot the demo site shows the buttons, but that site is using v1.18. |
A lot of users are using Gitea 1.17.x, no other has such problem, it doesn't seem to be a Gitea's problem. Since I know nothing about your environment, I couldn't provide more helps besides:
|
Since it doesn't seem to be a Gitea bug, I will close this issue. Feel free to re-open if you can reproduce it with a fresh setup and confirm it's a bug, or if you would propose some solutions for the edge cases or update the documents to help to future users to get rid of similar problems. |
Indeed, I found the problem was due to using public files from an older release. I'm serving via proxy and had upgraded the binary without updating the static files. Now I've learned my lesson. Thanks for your help. Note that the proxy page has information that is outdated and/or doesn't work for me:
The public folder is fortunately already included in the source download, so there's no reason to run
Here is what I had to do to get static files and proxy to work for accessing on https://mydomain.com/git
|
Description
I can't get a
Create merge commit
button on the PR page. I can't see any of the options shown in PR #19648. No matter which merge style or signing verification setting I chose, or whether I put in a key or not.No console errors on the PR page.
It works on the demo site, but that uses v1.18.
Linux binary 1.17.2 running through an Nginx proxy available under https//domain/git.
Removing all templates doesn't fix the problem.
An incognito window doesn't help.
Debug Info
On the demo server, this div is populated:
<div id="pull-request-merge-form"></div>
. On mine, it is not.Above that div is some javascript that does run. I get no javascript console errors except for blocking gravatar. If I add
console.log(JSON.stringify(mergeForm, null, 4));
to pull.tmpl, I get the dictionary below. I experimented with adjusting the boolean values such as allowing manual merge, not hiding messages, but that changed nothing.Screenshots
Mine with a key or not:
This makes it look like I cannot merge anything unless I have a signed key. But that goes down a rabbit hole of confusing documentation and github issues where there is intentionally no official recommendation on how to set up and sign GPG keys. But the problem isn't the keys.
Expected:
Gitea Version
1.17.2 Linux binary
Can you reproduce the bug on the Gitea demo site?
No
Operating System
Win11/64
Browser Version
Edge 105.0.1343.53
Database
Mysql
The text was updated successfully, but these errors were encountered: