<feed xmlns='http://www.w3.org/2005/Atom'>
<title>markzz/aurweb.git/web/lib/aurjson.class.php, branch v3.4.3</title>
<subtitle>aurweb working repository</subtitle>
<id>https://git.markzz.net/markzz/aurweb.git/atom/web/lib/aurjson.class.php?h=v3.4.3</id>
<link rel='self' href='https://git.markzz.net/markzz/aurweb.git/atom/web/lib/aurjson.class.php?h=v3.4.3'/>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/'/>
<updated>2014-07-23T15:53:30Z</updated>
<entry>
<title>Add typeahead suggest to the merge request form</title>
<updated>2014-07-23T15:53:30Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2014-07-23T13:55:11Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=0a357a7d44aa3591c646daded8c25853eeafa5a3'/>
<id>urn:sha1:0a357a7d44aa3591c646daded8c25853eeafa5a3</id>
<content type='text'>
Add the typeahead implementation we already use for the package search
to the merge target text field. Instead of suggesting packages, suggest
package base names.

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Make results consistent in RPC replies</title>
<updated>2014-06-25T10:10:15Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2014-06-25T10:10:15Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=65129ce9c3e951d10d8558d68e7b831db2726515'/>
<id>urn:sha1:65129ce9c3e951d10d8558d68e7b831db2726515</id>
<content type='text'>
Add RPC v3 which always returns a list of objects in RPC responses,
regardless of the request type. An empty list is returned when an error
occurs. The error message is moved to a separate "error" field.

Fixes FS#40963.

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>aurjson: Add a PackageBaseID field</title>
<updated>2014-05-31T09:45:00Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2014-05-31T09:45:00Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=d909ffcb17b81c617466f4437b696adb9a8d5144'/>
<id>urn:sha1:d909ffcb17b81c617466f4437b696adb9a8d5144</id>
<content type='text'>
This is useful to tools that automatically generate requests to orphan,
delete or merge packages.

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>aurjson: Fix multiinfo when using package IDs</title>
<updated>2014-05-18T10:19:29Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2014-05-18T10:17:26Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=cf6470803e5a1ce8669d50991b50ebec9bed50bf'/>
<id>urn:sha1:cf6470803e5a1ce8669d50991b50ebec9bed50bf</id>
<content type='text'>
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Use RPC API version 1 by default</title>
<updated>2014-04-28T16:54:26Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2014-04-28T16:17:25Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=c90faa44a173c79643093b4613276b98721e590d'/>
<id>urn:sha1:c90faa44a173c79643093b4613276b98721e590d</id>
<content type='text'>
Most AUR helpers don't support the new format yet. Use version 1 of the
API by default. In order to use the new format, "v=2" can be appended to
the list of GET parameters.

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Support versioned RPC queries</title>
<updated>2014-04-28T16:54:26Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2014-04-28T14:28:56Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=3447dfcbff0e8d48e7eac19d5ea8e836a67692a0'/>
<id>urn:sha1:3447dfcbff0e8d48e7eac19d5ea8e836a67692a0</id>
<content type='text'>
This adds a backwards compatibility mode for the old RPC API. The old
format can be requested by explicitly adding "v=1" to the list of GET
parameters. Note that due to internal changes, the old format only
returns the first license that belongs to a package.

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>aurjson.class.php: Style fixes</title>
<updated>2014-04-28T16:44:41Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2014-04-28T09:00:39Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=11a565936e8923f73cbb498b8a7a508e1069b172'/>
<id>urn:sha1:11a565936e8923f73cbb498b8a7a508e1069b172</id>
<content type='text'>
* Fix braces, indentation and comment style.
* Remove some superfluous comments.
* Reword some comments.

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Add a version tag to RPC replies</title>
<updated>2014-04-27T22:10:42Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2014-04-27T21:03:57Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=e50f352643ec205822d9eadf3045a071ba078380'/>
<id>urn:sha1:e50f352643ec205822d9eadf3045a071ba078380</id>
<content type='text'>
This is needed for clients to quickly differentiate between different
versions of the RPC API. The version number should be bumped whenever
there is a change that breaks backwards compatibility.

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Add more fields to RPC info replies</title>
<updated>2014-04-27T22:10:42Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2014-04-27T22:07:07Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=eb6cf1fad0558d381dbd8af2483410eecd50d7c2'/>
<id>urn:sha1:eb6cf1fad0558d381dbd8af2483410eecd50d7c2</id>
<content type='text'>
This patch adds the following fields to info and multiinfo replies:

* Depends
* MakeDepends
* CheckDepends
* OptDepends
* Conflicts
* Provides
* Replaces
* Groups
* License

Each of these fields is an array.

Note that since collecting all these fields is CPU-intensive, they are
not included in replies to search queries.

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Fix the RPC interface</title>
<updated>2014-04-27T21:30:33Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2014-04-27T21:01:20Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=b384f32fec78d221fe1dff949f17e98b8cb4272d'/>
<id>urn:sha1:b384f32fec78d221fe1dff949f17e98b8cb4272d</id>
<content type='text'>
* Fix the SQL query to conform to the new database layout.

* Remove the license field from replies. The license field is now stored
  in a separate table and no longer returned on search queries.

* Add a "PackageBase" field that contains the name of the package base
  of every package in the result.

* Fix the source tarball URL. The URL is now built based on the package
  base name instead of the package name.

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
</feed>
