We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
An attempt to mirror-sync (/api/v1/repos/<user>/<repo>/mirror-sync) a repository that isn't a mirror should probably fail with a 400 (Bad Request).
/api/v1/repos/<user>/<repo>/mirror-sync
400 (Bad Request)
Currently Gitea happily answers 200 (OK) which is an surprising result from a client perspective.
200 (OK)
tip of main
main
No
No response
2.25.1
Ubuntu 20.04
Local binary.
PostgreSQL
The text was updated successfully, but these errors were encountered:
Attempt to fix in: #19300
Sorry, something went wrong.
Fix merged: #19300
No branches or pull requests
Description
An attempt to mirror-sync (
/api/v1/repos/<user>/<repo>/mirror-sync
) a repository that isn't a mirror should probably fail with a400 (Bad Request)
.Currently Gitea happily answers
200 (OK)
which is an surprising result from a client perspective.Gitea Version
tip of
main
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
2.25.1
Operating System
Ubuntu 20.04
How are you running Gitea?
Local binary.
Database
PostgreSQL
The text was updated successfully, but these errors were encountered: