[aur-dev] AUR Variable Names

Callan Barrett wizzomafizzo at gmail.com
Sat Jan 5 16:05:39 EST 2008


On Jan 6, 2008 4:24 AM, eliott <eliott at cactuswax.net> wrote:
> I recommend something similar to what Loui said.
> Split packages.php into separate files, such as search.php and details.php.
> Then the long ugly url goes away in the search result package links
> (just a ?pkgid=100 or whatever).
>
> The search page will still have a marginally ugly url when you click a
> column to sort, but that can certainly be reduced.

The only reason the result links are so long is because there is a
link on the details page for "going back to search results" which we
can probably achieve the same result by getting rid of the link and
providing information about the browser's back button. If we do that
this problem is solved and ?pkgid=100 is all we need in this case, too
(not saying splitting packages.php is a bad idea, just that we don't
*need* to do it to achieve this).

I think top priority is fixing how much stuff the search form has to
submit, it's a pretty big form for what it does and who knows why it
still uses the post method. Also I guess making the AUR use
mod_rewrite is pretty minimal to do so we could easily do it on top of
changing the normal variable names.

Loui: Yes, we could use a function to make the urls based on what we
actually have but that is sort of minor compared to actually changing
the names to something readable, they're not just ugly because they're
long they're ugly because they make absolutely no sense.

What patches exactly are you referring to?

-- 
Callan 'wizzomafizzo' Barrett




More information about the aur-dev mailing list