forgejo/templates/package/content
forgejo-backport-action 6e9a2e89e8 [v12.0/forgejo] several fixes of ALT Package registry (#8480)
**Backport:** https://codeberg.org/forgejo/forgejo/pulls/8475

closes #7946

- The `rpmsRepoPattern` regex has been fixed to handle releases with dots correctly. For example, the version `0.9.0-alt1.git.17.g2ba905d` is valid, just like `0.1.0-1.n1` mentioned in the issue (https://codeberg.org/forgejo/forgejo/issues/7946#issue-1628991)

- getEntries now returns entry names. In the integration tests, there were lines like:
```go
assert.Equal(t, []string{"", ""}, result.ProvideNames)
```
and it’s unclear how such test logic could have ever worked correctly (fixes problems with deps https://codeberg.org/forgejo/forgejo/issues/7946#issuecomment-5109795)

- ALT is an acronym for ALT Linux Team, so `Alt` was replaced with `ALT`. Strictly speaking, it should probably be `ALT Linux`, but since we use `Arch` instead of `Arch Linux`, this seems fine. Also, Distrowatch shows `Arch`/`ALT` in its dropdown, so it’s consistent.

- The strings `"Alt Linux Team"` and `"Sisyphus"` in the `Origin` and `Suite` fields have been replaced with `setting.AppName` and `"Unknown"`. `Unknown` is a valid value and is set by default, so this won’t cause any issues.

- The documentation link has been fixed: (404 docs.gitea.com/usage/packages/alt/ -> 200 forgejo.org/docs/latest/user/packages/alt/)

Co-authored-by: Maxim Slipenko <maks1ms@altlinux.org>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8480
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
Co-committed-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
2025-07-10 21:57:46 +02:00
..
alpine.tmpl
alt.tmpl [v12.0/forgejo] several fixes of ALT Package registry (#8480) 2025-07-10 21:57:46 +02:00
arch.tmpl cleanup package route 2024-12-09 09:11:22 +08:00
cargo.tmpl
chef.tmpl
composer.tmpl Extract and display readme and comments for Composer packages (#30927) 2024-06-16 13:42:59 +02:00
composer_dependencies.tmpl
conan.tmpl Fix: Name conan remote forgejo 2024-07-12 14:05:43 +02:00
conda.tmpl
container.tmpl Do not display attestation-manifest and use short sha256 instead of full sha256 (#32851) 2024-12-22 08:46:38 +01:00
cran.tmpl
debian.tmpl
generic.tmpl
go.tmpl
helm.tmpl
maven.tmpl
npm.tmpl
npm_dependencies.tmpl
nuget.tmpl feat: link to nuget dependencies (#26554) 2025-01-05 13:46:19 +00:00
pub.tmpl
pypi.tmpl
rpm.tmpl
rubygems.tmpl
rubygems_dependencies.tmpl
swift.tmpl
vagrant.tmpl