go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
45.37k stars 5.52k forks source link

Conan: invalid literal for int() with base 10: '' #31004

Open RobinMaub opened 6 months ago

RobinMaub commented 6 months ago

Description

Hi Gitea team, We are working with Conan pacakges but we have some bugs/errors when trying to access to the packages: "invalid literal for int() with base 10: ''" When I create my packages locally they do have a size but when uploaded on the server, they don't have anymore. Note: I have removed the setting allowing the revisions and cleaned my cache before rebuilding and pushing the packages on the repository

Tried with Artifactory to counter-test and packages are fine, it looks like Gitea does not accept not using the revisions ?

Gitea Version

1.21.11

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

Ubuntu 22.04

How are you running Gitea?

Self hosted on a VM.

Database

None

KN4CK3R commented 6 months ago

Could you please add more details how to reproduce the issue? I don't think any maintainer uses Conan and could reproduce it from the current description.

RobinMaub commented 6 months ago

you just have to push a package without revisions enabled and try to install it later on. But does the conan repository of Gitea supports usage without revisions ?