You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/modules/packages
KN4CK3R 8498e67309
Some NuGet package enhancements (#30280)
Fixes #30265

1. Read second type of dependencies
2. Render `Description` and `ReleaseNotes`

old:

![grafik](https://github.com/go-gitea/gitea/assets/1666336/abac057c-11cd-4d25-b196-01ff899d948e)

new:

![grafik](https://github.com/go-gitea/gitea/assets/1666336/35302273-740c-481a-a031-1f80d2d7d336)

The NuGet spec does not specify what kind of text can be stored in the
description but we can best guess markdown. The official NuGet registry
just [converts the newlines to html
lines](https://www.nuget.org/packages/rb.Firefox#readme-body-tab).

3. Extract and render the readme. This is the new and better place to
store larger text than in the description. The content is markdown.

![grafik](https://github.com/go-gitea/gitea/assets/1666336/f442264e-3735-4b55-92c4-3b89a8ebafb0)

---------

Co-authored-by: Benjamin Heemann <benjamin.heemann@raith.de>
10 months ago
..
alpine Integrate alpine `noarch` packages into other architectures index (#29137) 12 months ago
cargo Add Cargo package registry (#21888) 2 years ago
chef Add Chef package registry (#22554) 2 years ago
composer Replace `interface{}` with `any` (#25686) 2 years ago
conan Use ErrInvalidArgument in packages (#22268) 2 years ago
conda Use docs.gitea.com instead of docs.gitea.io (#26739) 1 year ago
container Use docs.gitea.com instead of docs.gitea.io (#26739) 1 year ago
cran Add CRAN package registry (#22331) 2 years ago
debian Prevent newline errors with Debian packages (#26332) 2 years ago
goproxy Add Go package registry (#24687) 2 years ago
helm Replace `interface{}` with `any` (#25686) 2 years ago
maven Add support for different Maven POM encoding (#25873) 2 years ago
npm Fix NPM packages name validation (#26595) 1 year ago
nuget Some NuGet package enhancements (#30280) 10 months ago
pub Use docs.gitea.com instead of docs.gitea.io (#26739) 1 year ago
pypi Implement FSFE REUSE for golang files (#21840) 2 years ago
rpm Use new RPM constants (#28931) 1 year ago
rubygems Replace `interface{}` with `any` (#25686) 2 years ago
swift Add Swift package registry (#22404) 2 years ago
vagrant Implement FSFE REUSE for golang files (#21840) 2 years ago
content_store.go Add direct serving of package content (#25543) 2 years ago
hashed_buffer.go Close all hashed buffers (#27787) 1 year ago
hashed_buffer_test.go Add Debian package registry (#24426) 2 years ago
multi_hasher.go Implement FSFE REUSE for golang files (#21840) 2 years ago
multi_hasher_test.go Replace fmt.Sprintf with hex.EncodeToString (#21960) 2 years ago