You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While implementing the Conan registry I noticed the conan client uploads empty files in a first request and with content in the second request. Therefore I ignored these requests. Will test it again, maybe this will work:
Description
Header only conan packages can generate an empty
conaninfo.txt
, due togitea
is currently ignoring such files, which appears to be due togitea/routers/api/packages/conan/conan.go
Lines 328 to 332 in e502be4
conan
client when trying to consume such packages:Removing the above block in
conan.go
allows the emptyconaninfo.txt
to be stored in the registry, and theconan
client works successfully.Whether there are any other side effects of removing the check I couldn't say... seems OK so far though.
Thanks
Gitea Version
1.20.4
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
N/a
Operating System
Linux
How are you running Gitea?
N/a but Fedora 38, systemd, custom build.
Database
MySQL/MariaDB
The text was updated successfully, but these errors were encountered: