Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • A aurweb
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 88
    • Issues 88
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 10
    • Merge requests 10
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Arch LinuxArch Linux
  • aurweb
  • Issues
  • #384
Closed
Open
Issue created Aug 29, 2022 by T F@se-di

pkgdesc variable in package splitting gets ignored when in AUR

Checklist

This bug template is meant to provide bug issues for code existing in the aurweb repository. This bug template is not meant to handle bugs with user-uploaded packages.

To work out a bug you have found in a user-uploaded package, contact the package's maintainer first. If you receive no response, file the relevant package request against it so TUs can deal with cleanup.

  • I confirm that this is an issue with aurweb's code and not a user-uploaded package.
  • I have described the bug in complete detail in the Description section.
  • I have specified steps in the Reproduction section.
  • I have included any logs related to the bug in the Logs section.
  • I have included the versions which are affected in the Version(s) section.

Description

The pkgdesc variable in a PKGBUILD using split packages is ignored on the web ui and picking the first one (i.e. the base package) instead.

According to https://archlinux.org/pacman/PKGBUILD.5.html#_package_splitting one can set the pkgdesc variable in each package_<name> function.

This works for packages in the official repositories quite well. Example: https://archlinux.org/packages/core/x86_64/systemd-libs/

all good.

but the pkgdesc variable of the same package gets overwritten by the pkgdesc variable of the base packagename when in the AUR:

Example:

https://aur.archlinux.org/packages/systemd-libs-git -> see the field "Description" which is using the pkgdesc value of https://aur.archlinux.org/packages/systemd-git instead

the correct one defined for systemd-libs would be: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=systemd-git#n220

Reproduction

build a split package with different pkgdesc variables in every section and upload to the AUR. Open AUR web and find that only the first pkgdesc will be shown for all package names.

Logs

N/A

Version(s)

N/A

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking