Skip to content
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

Problem upload R Packages into Gitea CRAN repo #33152

Open
peuziatg opened this issue Jan 8, 2025 · 1 comment
Open

Problem upload R Packages into Gitea CRAN repo #33152

peuziatg opened this issue Jan 8, 2025 · 1 comment

Comments

@peuziatg
Copy link

peuziatg commented Jan 8, 2025

Description

When trying to upload a R package downloaded from the official CRAN repository :

https://cran.r-project.org/web/packages/RcppEigen/index.html

with the official curl method presented on the Gitea official website :

curl --user [user]:[password] --upload-file ./Packages/RcppEigen/RcppEigen_0.3.4.0.2.tar.gz [my_gitea_instance]/api/packages/[organization]/cran/src

it leads to the following error :

package version is invalid400

For many other packages, it works perfectly.

Gitea Version

1.22.4

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

package version is invalid400

Screenshots

No response

Git Version

No response

Operating System

Ubuntu 22.04.1 LTS

How are you running Gitea?

I have a managed Gitea instance deployed on a VM Ubuntu 22.04.1 LTS with snap method
I try to import the package from the same VM where my Gitea instance is deployed

Database

None

@peuziatg
Copy link
Author

peuziatg commented Jan 9, 2025

For information, I upgraded my Gitea instance to a 1.22.6, still have the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants