[aur-dev] Adding the HE language.

Lukas Fleischer archlinux at cryptocrack.de
Mon Feb 14 17:01:45 EST 2011


On Mon, Feb 14, 2011 at 09:58:50PM +0100, PyroPeter wrote:
> I rewrote the pagination a second time, this time without changing the
> behavoir. Probably the world isn't ready yet for a commit that
> turns searching into something awesome (tm).
> (Children would have known what "logarithmic scaling" means even before
> doing their first polynomial division!)

Well, I don't get the point of it. The AUR is not a search engine and
that logarithmic scaling feels a bit weird. But that's just an opinion.

> On the search criteria: it would be great to have regexps!
> Mysql even has support for that:
>   SELECT * FROM foo WHERE foo REGEXP '^java';

We decided not to implement this into the AUR backend. Quoting myself:
"The AUR is a simple interface to upload, download and search for
packages and shouldn't be regarded as almighty search engine. Also,
there's no way to implement server-side regex search without any loss of
security." The issue is about backtracking (or similar algorithms)
taking a lot of time for specific expressions. RegEx search could be
used to DoS the AUR easily.

Furthermore, we believe that such functionality should rather be moved
to the client side. We'll support that by providing easier access to
package data (in the form of direct database access, database dumps,
plain text lists of packages or something similar) in the future. Let's
keep the AUR simple and clean, let the AUR helpers do the more complex
stuff.

> >>0002. b65a5a3 pkg_search_results: increase size of links in
> >>               page-navigation
> >
> >I'm not sure about this. I've never heard any gripes about that links
> >being too small. Is there any feature request concerning this?
> 
> No. But this only grews one-digit-links to be of the size of two-digit-
> links, so imo the usability gain outweights the space consumption.
> I merged this change into the patch mentioned above.

I'll check that as soon as I get round to it.

> >>0003. df02d42 pkg_search_results: replace blind-table with
> >>               floating div's
> >
> >Basically sounds like a good idea. I'll look into that!
> >
> >>0004. 76a874a Right-to-left written languages now supported
> >
> >Basically looks ok, except that you revert some previous bug fixes.
> >Also, where's that "css/languages.css" that you link to in the new
> >header template?
> 
> The last two patches probably need a lot of updating, I will do that
> next. I attached languages.css (forgot to git-add it)

Cool. Thanks!


More information about the aur-dev mailing list