gitea/modules/packages
Sergey Bugaev 2da233ad8b
Propagate install_if and provider_priority to APKINDEX ()
Resolves https://github.com/go-gitea/gitea/issues/28704

Example of an entry in the generated `APKINDEX` file:

```
C:Q1xCO3H9LTTEbhKt9G1alSC87I56c=
P:hello
V:2.12-r1
A:x86_64
T:The GNU Hello program produces a familiar, friendly greeting
U:https://www.gnu.org/software/hello/
L:GPL-3.0-or-later
S:15403
I:36864
o:hello
m:
t:1705934118
D:so:libc.musl-x86_64.so.1
p:cmd:hello=2.12-r1
i:foobar=1.0 !baz
k:42
```

the `i:` and `k:` entries are new.

---------

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
..
alpine Propagate install_if and provider_priority to APKINDEX ()
cargo Add Cargo package registry ()
chef Add Chef package registry ()
composer Replace `interface{}` with `any` ()
conan Use ErrInvalidArgument in packages ()
conda Use docs.gitea.com instead of docs.gitea.io ()
container Use docs.gitea.com instead of docs.gitea.io ()
cran Add CRAN package registry ()
debian Prevent newline errors with Debian packages ()
goproxy Add Go package registry ()
helm Replace `interface{}` with `any` ()
maven Add support for different Maven POM encoding ()
npm Fix NPM packages name validation ()
nuget Add Debian package registry ()
pub Use docs.gitea.com instead of docs.gitea.io ()
pypi Implement FSFE REUSE for golang files ()
rpm Use new RPM constants ()
rubygems Replace `interface{}` with `any` ()
swift Add Swift package registry ()
vagrant Implement FSFE REUSE for golang files ()
content_store.go Add direct serving of package content ()
hashed_buffer.go Close all hashed buffers ()
hashed_buffer_test.go Add Debian package registry ()
multi_hasher.go Implement FSFE REUSE for golang files ()
multi_hasher_test.go Replace fmt.Sprintf with hex.EncodeToString ()