[aur-general] Regex on search page
Hi all, I started wondering today about whether or not we could benefit from having the option of searching for AUR packages using regular expressions on the search page. For example, today I wanted to list all ruby gems on the AUR, so I thought searching `ruby-` would be enough, but it's got a bunch of other packages like `chruby-git` in there too. If we could even just use basic regex techniques like start of line and end of line, it'd be a big help. What do you all think? -- David Phillips GPG Key 0x7BF3D17D0884BF5B Fingerprint 2426 235A 7831 AA2F 56AF 4BC0 7BF3 D17D 0884 BF5B
On Wed, 5 Nov 2014 11:47:39 +1300 David Phillips <dbphillipsnz@gmail.com> wrote:
I started wondering today about whether or not we could benefit from having the option of searching for AUR packages using regular expressions on the search page. For example, today I wanted to list all ruby gems on the AUR, so I thought searching `ruby-` would be enough, but it's got a bunch of other packages like `chruby-git` in there too. If we could even just use basic regex techniques like start of line and end of line, it'd be a big help.
What do you all think?
+1 If I search for something provided by the AUR, at the moment I use startpage or seldom google ;). They have their weak points too, but they seemingly remember others who searched for the same. "The same" seems not to be just a keyword, but the resume of searches with different keywords, there seems to be some kind of AI and ignorance of data protection behind the search algorithms.
On Tue, Nov 4, 2014 at 11:47 PM, David Phillips <dbphillipsnz@gmail.com> wrote:
Hi all, I started wondering today about whether or not we could benefit from having the option of searching for AUR packages using regular expressions on the search page. For example, today I wanted to list all ruby gems on the AUR, so I thought searching `ruby-` would be enough, but it's got a bunch of other packages like `chruby-git` in there too. If we could even just use basic regex techniques like start of line and end of line, it'd be a big help.
What do you all think?
-- David Phillips GPG Key 0x7BF3D17D0884BF5B Fingerprint 2426 235A 7831 AA2F 56AF 4BC0 7BF3 D17D 0884 BF5B
You can use an AUR helper.
I could use an AUR helper except that I'm fundamentally opposed to them ;) -- David Phillips GPG Key 0x7BF3D17D0884BF5B Fingerprint 2426 235A 7831 AA2F 56AF 4BC0 7BF3 D17D 0884 BF5B
On Wed, 5 Nov 2014 12:12:01 +1300 David Phillips <dbphillipsnz@gmail.com> wrote:
I could use an AUR helper except that I'm fundamentally opposed to them ;)
I don't know which helper to use to search the AUR, but my experiences with updating from AUR by using yaourt are very good. I don't understand why some people are against such helpers.
On 11/04/2014 04:20 PM, Ralf Mardorf wrote:
On Wed, 5 Nov 2014 12:12:01 +1300 David Phillips <dbphillipsnz@gmail.com> wrote:
I don't know which helper to use to search the AUR, but my experiences with updating from AUR by using yaourt are very good. I don't understand why some people are against such helpers.
yaourt rocks :) no it's not perfect, but it's pretty sweet 999 times out of 1000. *dons flame retardant gear* -- Thanks, John D Jones III UNIX Zealot; Perl Lover unixgeek1972@gmail.com jnbek1972@gmail.com http://zoelife4u.org/ Where Earth and Spirit Unite
I don't understand why some people are against such helpers.
Without veering too far off this thread's topic, there's a large number of discussions on the web which cover this. -- David Phillips GPG Key 0x7BF3D17D0884BF5B Fingerprint 2426 235A 7831 AA2F 56AF 4BC0 7BF3 D17D 0884 BF5B
On Wed, 5 Nov 2014 12:25:10 +1300 David Phillips <dbphillipsnz@gmail.com> wrote:
I don't understand why some people are against such helpers.
Without veering too far off this thread's topic, there's a large number of discussions on the web which cover this.
So assumed there would be a helper that provides the kind of search you need, you won't use it, as a matter of principle and because there are freakish discussions about helpers? Assumed somebody can recommend a good helper to search the AUR, I'm willing to test it. On Tue, 04 Nov 2014 16:22:26 -0700 John D Jones III <unixgeek1972@gmail.com> wrote:
yaourt rocks :) no it's not perfect, but it's pretty sweet 999 times out of 1000.
:) Yes, it isn't perfect, but it makes maintaining installs from AUR much easier, than without such a tool.
So assumed there would be a helper that provides the kind of search you need, you won't use it, as a matter of principle and because there are freakish discussions about helpers?
If (more or less) all it did was search the AUR, then I would look at using it. But the regex thing is such a trivial thing to implement on the AUR search. -- David Phillips GPG Key 0x7BF3D17D0884BF5B Fingerprint 2426 235A 7831 AA2F 56AF 4BC0 7BF3 D17D 0884 BF5B
On 05/11, David Phillips wrote:
So assumed there would be a helper that provides the kind of search you need, you won't use it, as a matter of principle and because there are freakish discussions about helpers?
If (more or less) all it did was search the AUR, then I would look at using it. But the regex thing is such a trivial thing to implement on the AUR search.
All cower does is 1) Search the AUR 2) show info for packages a la -Si 3) Download and untar aurballs (Optionally also downloading any AUR dependencies) -- Sincerely, Johannes Löthberg PGP Key ID: 0x50FB9B273A9D0BB5 https://theos.kyriasis.com/~kyrias/
On Wed, Nov 5, 2014 at 12:59 AM, David Phillips <dbphillipsnz@gmail.com> wrote:
So assumed there would be a helper that provides the kind of search you need, you won't use it, as a matter of principle and because there are freakish discussions about helpers?
If (more or less) all it did was search the AUR, then I would look at using it. But the regex thing is such a trivial thing to implement on the AUR search.
Have you send a patch yet? Maybe regex search is too much for the server to handle, maybe its too expensive to enable it.
On Wed, Nov 05, 2014 at 12:38:24AM +0100, Ralf Mardorf wrote:
Assumed somebody can recommend a good helper to search the AUR, I'm willing to test it.
I don't know if any AUR helpers support this, but you can just get a list of all AUR packages with this command and then pipe to grep to match by regex. curl http://cryptocrack.de/files/aurpkglist.txt.gz | zcat | awk 'NR>1{gsub("%2B","+");print $1}'
On Wed, 05 Nov 2014 at 01:05:48, Ian D. Scott wrote:
On Wed, Nov 05, 2014 at 12:38:24AM +0100, Ralf Mardorf wrote:
Assumed somebody can recommend a good helper to search the AUR, I'm willing to test it.
I don't know if any AUR helpers support this, but you can just get a list of all AUR packages with this command and then pipe to grep to match by regex.
curl http://cryptocrack.de/files/aurpkglist.txt.gz | zcat | awk 'NR>1{gsub("%2B","+");print $1}'
This is superseded by the official [1] package list. [1] https://aur.archlinux.org/packages.gz
On 04/11/14 06:38 PM, Ralf Mardorf wrote:
On Wed, 5 Nov 2014 12:25:10 +1300 David Phillips <dbphillipsnz@gmail.com> wrote:
I don't understand why some people are against such helpers.
Without veering too far off this thread's topic, there's a large number of discussions on the web which cover this.
So assumed there would be a helper that provides the kind of search you need, you won't use it, as a matter of principle and because there are freakish discussions about helpers?
Is opposition to AUR helpers really so hard to believe? A few years ago, there were a lot of people posting comments about "the build system being broken" when they were actually experiencing bugs in yaourt. More on topic: if this gets implemented, I will again ask for typeahead suggestions to be removed as they would not be very good at predicting all the regex searches that can be tried.
OT: On Tue, 04 Nov 2014 19:09:39 -0500 Connor Behan <connor.behan@gmail.com> wrote:
Is opposition to AUR helpers really so hard to believe? A few years ago, there were a lot of people posting comments about "the build system being broken" when they were actually experiencing bugs in yaourt.
When ever yaourt failed to build for me, makepkg failed too, e.g. regarding to a tmp issue. The only drawback I'm aware of is that yaourt doesn't automatically informs you about "upgrades" of e.g. git packages, likely it's not a drawback, but an advantage. Run pacman -Q | grep git and decide on your own, if you want to upgrade one of those packages or svn or ... Not OT: On Tue, 4 Nov 2014 16:05:48 -0800 "Ian D. Scott" <ian@perebruin.com> wrote:
On Wed, Nov 05, 2014 at 12:38:24AM +0100, Ralf Mardorf wrote:
Assumed somebody can recommend a good helper to search the AUR, I'm willing to test it.
I don't know if any AUR helpers support this, but you can just get a list of all AUR packages with this command and then pipe to grep to match by regex.
curl http://cryptocrack.de/files/aurpkglist.txt.gz | zcat | awk 'NR>1{gsub("%2B","+");print $1}'
Thank you, that might help David too. His feature request anyway is a good idea.
On Wed, 5 Nov 2014 00:05:46 +0100 Karol Blazewicz <karol.blazewicz@gmail.com> wrote:
You can use an AUR helper.
Please, could you be more precise? If I tell people that I use yaourt, they often are terrified that I do this. What from those helpers https://wiki.archlinux.org/index.php/AUR_helpers do you recommend for searching the AUR?
participants (8)
-
Connor Behan
-
David Phillips
-
Ian D. Scott
-
Johannes Löthberg
-
John D Jones III
-
Karol Blazewicz
-
Lukas Fleischer
-
Ralf Mardorf