Skip to content

Problem upload R Packages into Gitea CRAN repo #33152

Open
@peuziatg

Description

@peuziatg

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions