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
Every file in the package have zero size, also the conanfile.py.
I don't know if it is my local problem or a bug. I need help do debug this strange situation.
Create conanfile.py:
from conans import ConanFile
class ANTConan(ConanFile):
name = "test"
version = "1.0.0"
author = "ANT-Solutions GmbH"
url = "https://xxx/ANT-0000-Embedded/toolchain.git"
homepage = "https://xxx/ANT-0000-Embedded/toolchain"
license = "Copyright 2025 ANT-Solutions GmbH. All rights reserved."
description = "ANT-Embedded Toolchain"
user = "ant"
channel = "stable"
def package(self):
self.copy("testfile")
You also need the testfile beside the conanfile.py. The file can have only text.
Description
Every file in the package have zero size, also the conanfile.py.
I don't know if it is my local problem or a bug. I need help do debug this strange situation.
Create conanfile.py:
You also need the testfile beside the conanfile.py. The file can have only text.
Now create the Package:
conan export-pkg conanfile.py test/1.0.0 -f
After that, you can upload the package to gitea:
conan upload --all --check -c -r antEmbedded test/1.0.0@ant/stable
Result:
and now the result at gitea:

Here the server logs:
Gitea Version
1.23.5
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
I use systemd on Linux with the prebuild package from the homepage
https://dl.gitea.io/gitea/${VERSION}/gitea-${VERSION}-linux-amd64
Database
MySQL/MariaDB
The text was updated successfully, but these errors were encountered: