Hi,
are there any plans or possibilities to publish and get NuGet packages from Gitea?
I think what I am wondering is, if there is something available or planned like GitHub Packages?
What is odd is that there is a documentation page that claims this is possible:
However, the URL they suggest is 404. I canāt find a way to generate the package repository. The documentation begins as if the package repository already exists and it does not.
I found details here that help clarify:
go-gitea:main
ā KN4CK3R:feature-packages
opened 09:51PM - 21 Jul 21 UTC
This PR adds support for multiple package registries.
Currently implemented a⦠re
- [Composer](https://getcomposer.org/)
- [Conan](https://conan.io/)
- Container ([Docker](https://www.docker.com/) / [Helm](https://helm.sh/))
- Generic packages
- [Maven](https://maven.apache.org)
- [npm](https://www.npmjs.com/)
- [NuGet](https://www.nuget.org/)
- [PyPI](https://pypi.org/)
- [RubyGems](https://guides.rubygems.org/)
Every user/org has an own package registry for all different types of packages.
<details>
<summary>Screenshots</summary>
Package list:

Admin page:

Composer package:

Conan package:

Docker image:


Helm Chart:

Generic package:

NuGet:

npm:

Maven:

PyPI:

RubyGems:

</details>
Instructions for testing: https://github.com/go-gitea/gitea/pull/16510#issuecomment-976344348
close #15706
close #2316
The thing missing from the documentation is the port number.
You must add port :3000
Looks like this might come out in version 1.17
1 Like
The docs for this appear to already be live on docs.gitea.io already and 1.17 hasnāt yet been released to my knowledge: Package Registry - Docs
1 Like
It was added on Release v1.17.0-rc1 Ā· go-gitea/gitea Ā· GitHub
Now that 1.17 is stable you should see package support in the current release.
I have tested it and it works.
Iām trying to push a nuget package to my gitea (on promisse) , but I having no success.
I added a source, but the push operation allways return 404 .
error: Response status code does not indicate success: 404 (Not Found).
Do you any suggestion ?
What version are you running? (It didnāt exist prior to 1.17 and that means 404)
Iām running 1.17.2 built with GNU Make 4.1, go1.18.6 .
Can you see the URL it is trying to push to? Can you visit that URL manually? This may be a network\host layer issue and not an application layer issue.
After thousands of tries, I used a solution mentioned for someone in a blog:
ātry to create a deploy keyā
When I read this, I didnāt beleive, but I tried.
So now itās working!
I could make the push!
Thankās a lot for your attention!!