<feed xmlns='http://www.w3.org/2005/Atom'>
<title>markzz/aurweb.git/web/html/rpc.php, branch v2.2.1</title>
<subtitle>aurweb working repository</subtitle>
<id>https://git.markzz.net/markzz/aurweb.git/atom/web/html/rpc.php?h=v2.2.1</id>
<link rel='self' href='https://git.markzz.net/markzz/aurweb.git/atom/web/html/rpc.php?h=v2.2.1'/>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/'/>
<updated>2011-08-22T06:24:21Z</updated>
<entry>
<title>Provide more examples on the RPC info page</title>
<updated>2011-08-22T06:24:21Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2011-08-20T19:02:44Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=114edd9ff82b3860e2ca4b68589d661ec6d5fe39'/>
<id>urn:sha1:114edd9ff82b3860e2ca4b68589d661ec6d5fe39</id>
<content type='text'>
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Cleanup RPC usage output a bit</title>
<updated>2011-05-29T14:06:28Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2011-05-29T14:06:28Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=fa53ca68b004b9a97906e0bcfe8a7d3ba2ad0f9c'/>
<id>urn:sha1:fa53ca68b004b9a97906e0bcfe8a7d3ba2ad0f9c</id>
<content type='text'>
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Properly encode ampersands in the RPC usage output</title>
<updated>2011-05-29T13:58:46Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2011-05-29T13:58:46Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=21827dfb1c458edec68e1af4c75bca234f2abfac'/>
<id>urn:sha1:21827dfb1c458edec68e1af4c75bca234f2abfac</id>
<content type='text'>
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>restructure the html/rpc.php endpoint</title>
<updated>2011-05-29T13:57:45Z</updated>
<author>
<name>elij</name>
<email>elij.mx@gmail.com</email>
</author>
<published>2011-05-28T21:14:34Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=4a24bca069edc2830fc17ab27ba54560435b778b'/>
<id>urn:sha1:4a24bca069edc2830fc17ab27ba54560435b778b</id>
<content type='text'>
- move request_method test to the top, and catch other request types
  (HEAD, PUT, etc)
- change how html output is handled. instead of building a string, just
  output the html
- set appropriate response header for incorrect request_method.

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>rpc: introduce multiinfo query (fixes FS#17583)</title>
<updated>2011-04-16T15:49:00Z</updated>
<author>
<name>Dan McGee</name>
<email>dan@archlinux.org</email>
</author>
<published>2011-04-12T05:15:49Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=0488e8597c83ce9dfc75398db197249196157e6d'/>
<id>urn:sha1:0488e8597c83ce9dfc75398db197249196157e6d</id>
<content type='text'>
The majority of "real world" info requests [1] come in hefty batches. We
would be better served to handle these in one request rather than
multiple by allowing AUR clients to send multiple arguments.

This enables things like this to work:
    http://aur.test/rpc.php?type=multiinfo&amp;arg[]=cups-xerox&amp;arg[]=cups-mc2430dl&amp;arg[]=10673

Note to RPC users: unfortunately due to the asinine design of PHP, you
unfortunately have to use the 'arg[]' syntax if you want more than one
query argument, or you will only get the package satisfying the last arg
you pass.

[1] Rough data from April 11, 2011, with a total hit count of 1,109,163:
     12 /login.php
     13 /rpc.php?type=sarch
     15 /rpc.php?type=msearch
     16 /pingserver.php
     16 /rpc.php
     22 /logout.php
    163 /passreset.php
    335 /account.php
    530 /pkgsubmit.php
    916 /rss2.php
   3838 /index.php
   6752 /rss.php
   9699 /
  42478 /rpc.php?type=search
 184737 /packages.php
 681725 /rpc.php?type=info

That means a whopping 61.5% of our requests were for info over the RPC
interface; package pages are a distant second at only 16.7%.

Lukas: Introduce "multiinfo" query instead of extending "info" (for the
sake of backward compatibility).

Signed-off-by: Dan McGee &lt;dan@archlinux.org&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Add usage output info for maintainer search extension</title>
<updated>2009-09-28T22:55:50Z</updated>
<author>
<name>Laszlo Papp</name>
<email>djszapi2@gmail.com</email>
</author>
<published>2009-09-28T22:50:58Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=1eff1d223b1486abe565afee9a86cd106fe1a595'/>
<id>urn:sha1:1eff1d223b1486abe565afee9a86cd106fe1a595</id>
<content type='text'>
Add msearch type to the list on http://aur.archlinux.org/rpc.php

Signed-off-by: Laszlo Papp &lt;djszapi@archlinux.us&gt;
Signed-off-by: Loui Chang &lt;louipc.ist@gmail.com&gt;
</content>
</entry>
<entry>
<title>Use include_once where applicable</title>
<updated>2009-08-11T17:58:12Z</updated>
<author>
<name>Dan McGee</name>
<email>dan@archlinux.org</email>
</author>
<published>2009-08-07T01:02:29Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=46f279852475bc520c4d6ae77df04ac4a6897807'/>
<id>urn:sha1:46f279852475bc520c4d6ae77df04ac4a6897807</id>
<content type='text'>
All of these are sourcing function libraries so we don't need to include
them more than once. Things that insert actual HTML into the output were
left calling include().

Signed-off-by: Dan McGee &lt;dan@archlinux.org&gt;
Signed-off-by: Loui Chang &lt;louipc.ist@gmail.com&gt;
</content>
</entry>
<entry>
<title>rpc: small optimizations</title>
<updated>2009-08-11T17:58:11Z</updated>
<author>
<name>Dan McGee</name>
<email>dan@archlinux.org</email>
</author>
<published>2009-08-07T01:02:28Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=4af079a5bd75a83a0ff1465b1f1540684d896fb7'/>
<id>urn:sha1:4af079a5bd75a83a0ff1465b1f1540684d896fb7</id>
<content type='text'>
Signed-off-by: Dan McGee &lt;dan@archlinux.org&gt;
Signed-off-by: Loui Chang &lt;louipc.ist@gmail.com&gt;
</content>
</entry>
<entry>
<title>Remove excess whitespace.</title>
<updated>2009-06-25T04:05:44Z</updated>
<author>
<name>Loui Chang</name>
<email>louipc.ist@gmail.com</email>
</author>
<published>2009-06-25T04:05:44Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=610733eafd62e14a7293151fb735bac1f3d55590'/>
<id>urn:sha1:610733eafd62e14a7293151fb735bac1f3d55590</id>
<content type='text'>
Signed-off-by: Loui Chang &lt;louipc.ist@gmail.com&gt;
</content>
</entry>
<entry>
<title>Moved usage documentation out of the class.</title>
<updated>2008-01-20T05:49:35Z</updated>
<author>
<name>eliott</name>
<email>eliott@cactuswax.net</email>
</author>
<published>2007-10-13T19:27:35Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=36dd7736c993cbcf61228f6e06466a6614939c97'/>
<id>urn:sha1:36dd7736c993cbcf61228f6e06466a6614939c97</id>
<content type='text'>
Fixed an issue in the handle class.
</content>
</entry>
</feed>
