You are not logged in.

#1 2014-02-13 08:12:54

alezost
Member
Registered: 2013-10-17
Posts: 61

Searching for AUR packages with "%" queries

According to https://wiki.archlinux.org/index.php/AUR#Searching it is possible to use mysql LIKE queries to search for a package.  But I can't find packages if I use queries with "%".

For example, when I try to search for firefox%spell or firefox%spell%, I get nothing.

I expected those queries would return the same results as firefox-spell.

The question is: do LIKE queries work (or do I use them wrong)?

Last edited by alezost (2014-02-13 08:14:08)

Offline

#2 2014-02-21 16:04:49

Awebb
Member
Registered: 2010-05-06
Posts: 6,272

Re: Searching for AUR packages with "%" queries

Use a blank?

Offline

#3 2014-02-21 16:16:02

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Searching for AUR packages with "%" queries

It's not working from the web iterface, but cower does a good job:

~ > cower -s firefox spell
aur/firefox-spell-en-us 7.0.1-2 (3)
    English (US) spellchecking dictionary for Firefox.
aur/firefox-spell-es-es 1.7-1 (2)
    Spanish (Spain) spellchecking dictionary for Firefox.
aur/firefox-spell-es-mx 1.1.3-3 (0)
    Spanish (Mexico) spellchecking dictionary for Firefox.
aur/firefox-spell-pt-br 2.1.1-1 <!> (3)
    Brazilian Portuguese language dictionary (spellcheker) for Firefox
aur/firefox-spell-ru-en 1.0.0.1-8 <!> (10)
    Russian/English spellchecker dictionary for Firefox
aur/mozvoikko 2.0.1-9 (4)
    Finnish spell-checker extension for Firefox/thunderbird/seamonkey using Voikko

Offline

#4 2014-02-21 19:31:35

alezost
Member
Registered: 2013-10-17
Posts: 61

Re: Searching for AUR packages with "%" queries

Awebb wrote:

Use a blank?

If you mean firefox spell, that doesn't work either.

Offline

#5 2014-02-21 19:37:38

alezost
Member
Registered: 2013-10-17
Posts: 61

Re: Searching for AUR packages with "%" queries

skottish wrote:

It's not working from the web iterface, but cower does a good job:

~ > cower -s firefox spell
...

As far as I understand, cower searches for all "firefox" packages and then searches for "spell" in results.

But that's not the point, all I wanted to say is that the documented feature doesn't seem to work.  It would be great to have such a flexible search.

Offline

#6 2014-02-21 19:43:24

progandy
Member
Registered: 2012-05-17
Posts: 5,184

Re: Searching for AUR packages with "%" queries

alezost wrote:
skottish wrote:

It's not working from the web iterface, but cower does a good job:

~ > cower -s firefox spell
...

As far as I understand, cower searches for all "firefox" packages and then searches for "spell" in results.

But that's not the point, all I wanted to say is that the documented feature doesn't seem to work.  It would be great to have such a flexible search.

I guess there has been some hardening going on since the wiki was written and this feature has been lost on the way.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

Board footer

Powered by FluxBB