mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-07-11 22:49:17 +02:00
Merge pull request 'Feat: Add support for pacman -F
in Arch package' (#6180) from dragon/forgejo:clear-arch-pkg into forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6180 Reviewed-by: Gusted <gusted@noreply.codeberg.org>
This commit is contained in:
commit
4bc0abac3c
5 changed files with 96 additions and 29 deletions
|
@ -26,7 +26,7 @@ import (
|
|||
|
||||
var (
|
||||
archPkgOrSig = regexp.MustCompile(`^.*\.pkg\.tar\.\w+(\.sig)*$`)
|
||||
archDBOrSig = regexp.MustCompile(`^.*.db(\.tar\.gz)*(\.sig)*$`)
|
||||
archDBOrSig = regexp.MustCompile(`^.*.(db|files)(\.tar\.gz)*(\.sig)*$`)
|
||||
|
||||
locker = sync.NewExclusivePool()
|
||||
)
|
||||
|
@ -115,6 +115,7 @@ func PushPackage(ctx *context.Context) {
|
|||
|
||||
properties := map[string]string{
|
||||
arch_module.PropertyDescription: p.Desc(),
|
||||
arch_module.PropertyFiles: p.Files(),
|
||||
arch_module.PropertyArch: p.FileMetadata.Arch,
|
||||
arch_module.PropertyDistribution: group,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue