Skip to content

AUR search does not work for packages with "-" in their names. #978

@emekoi

Description

@emekoi

It seems like the splitting performed by Aura for AUR package searching is broken somehow. Any search queries with a "-" return an empty set of results even if manually picking a subterm to search does return a result. For example:

~ 
❯ aura -Ai d-feet
Repository    : aur
Name          : d-feet
Version       : 0.3.17+r16+gf9bd211-3
AUR Status    : Up to Date
Maintainer    : vitaliikuzhdin
Project URL   : https://gitlab.gnome.org/Archive/d-feet
AUR URL       : https://aur.archlinux.org/packages/d-feet
License       : GPL-2.0-or-later
Groups        : 
Provides      : 
Depends On    : dconf glib2 gtk3>=3.9.4 hicolor-icon-theme libwnck3 python python-configparser python-gobject
Make Deps     : gobject-introspection>=0.9.6 meson>=0.50 python-pycodestyle yelp-tools
Optional Deps : 
Check Deps    : 
Votes         : 2
Popularity    : 0.10
Description   : D-Bus debugger for GNOME
Keywords      : 
Submitted     : 2024-09-06
Updated       : 2024-12-08

~ 
❯ aura -As d-feet

~ 
❯ aura -As feet
aur/d-feet 0.3.17+r16+gf9bd211-3 (2 | 0.10) [installed]
    D-Bus debugger for GNOME
aur/twenty-twenty-twenty-bin 1.0.0-1 (1 | 0.75) 
    20-20-20 is a program that alerts every 20 minutes to look something at 20 feet away for 20 seconds, written in Golang.
aur/blinker-git 2.1.1.r4.g721406b-1 (0 | 0.00) 
    Inspired by the 20 20 20 rule, this is a little reminder to look 20 feet away from your screen every 20 minutes. Keep your eyes healthy, reduce eye strain, prevent headaches and increase productivity.
aur/blinker-bin 2.1.0-6 (0 | 0.00) 
    Inspired by the 20 20 20 rule, this is a little reminder to look 20 feet away from your screen every 20 minutes. Keep your eyes healthy, reduce eye strain, prevent headaches and increase productivity.
aur/twenty-twenty-twenty 1.0.0-1 (0 | 0.00) 
    20-20-20 is a program that alerts every 20 minutes to look something at 20 feet away for 20 seconds, written in Golang.

I am currently using Aura 4.0.8, and I think this behavior is somewhat new. At least I don't remember search being broken the entire time I've been using Aura (since the Haskell version).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions