Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generic Package Registry should allow : to support archlinux pacman #30134

Closed
loynoir opened this issue Mar 27, 2024 · 1 comment · Fixed by #30135
Closed

Generic Package Registry should allow : to support archlinux pacman #30134

loynoir opened this issue Mar 27, 2024 · 1 comment · Fixed by #30135
Labels
topic/packages type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@loynoir
Copy link

loynoir commented Mar 27, 2024

Feature Description

Generic Package Registry should support archlinux pacman

https://docs.gitea.com/usage/packages/generic

The filename. It can contain only lowercase letters (a-z), uppercase letter (A-Z), numbers (0-9), dots (.), hyphens (-), pluses (+), or underscores (_).

For example, archlinux core repo contains :.

https://geo.mirror.pkgbuild.com/core/os/x86_64/

dialog-1:1.3_20240101-1-x86_64.pkg.tar.zst
dialog-1:1.3_20240101-1-x86_64.pkg.tar.zst.sig
grub-2:2.12-2-x86_64.pkg.tar.zst
grub-2:2.12-2-x86_64.pkg.tar.zst.sig
iptables-1:1.8.10-1-x86_64.pkg.tar.zst
iptables-1:1.8.10-1-x86_64.pkg.tar.zst.sig
iptables-nft-1:1.8.10-1-x86_64.pkg.tar.zst
iptables-nft-1:1.8.10-1-x86_64.pkg.tar.zst.sig
less-1:643-1-x86_64.pkg.tar.zst
less-1:643-1-x86_64.pkg.tar.zst.sig
lz4-1:1.9.4-3-x86_64.pkg.tar.zst
lz4-1:1.9.4-3-x86_64.pkg.tar.zst.sig
minizip-1:1.3.1-1-x86_64.pkg.tar.zst
minizip-1:1.3.1-1-x86_64.pkg.tar.zst.sig
vi-1:070224-6-x86_64.pkg.tar.zst
vi-1:070224-6-x86_64.pkg.tar.zst.sig
wpa_supplicant-2:2.10-8-x86_64.pkg.tar.zst
wpa_supplicant-2:2.10-8-x86_64.pkg.tar.zst.sig
zlib-1:1.3.1-1-x86_64.pkg.tar.zst
zlib-1:1.3.1-1-x86_64.pkg.tar.zst.sig

Would be nice

  • or let Generic Package Registry to allow :.

  • or support Pacman Package Registry.

Screenshots

No response

@loynoir loynoir added the type/proposal The new feature has not been accepted yet but needs to be discussed first. label Mar 27, 2024
@loynoir loynoir changed the title Generic Package Registry should support archlinux pacman Generic Package Registry should allow : to support archlinux pacman Mar 27, 2024
@wxiaoguang
Copy link
Contributor

agree to relax the filename checking.

-> Relax generic package filename check #30135

KN4CK3R added a commit that referenced this issue Mar 27, 2024
Now, the chars `=:;()[]{}~!@#$%^ &` are possible as well
Fixes #30134

---------

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
@go-gitea go-gitea locked as resolved and limited conversation to collaborators Jun 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
topic/packages type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants