The Entropy part of our website now runs independently from the rest. This is because we’re preparing to completely renew (and change) the CMS at www, hoping, in the long run, to integrate our blog aggregator at planet.sabayon.org with the www/info/news part.During the split, I took time to fix some stuff here and there and add a basic query API.
You can query our repositories using this syntax:
<search_string> = the search string (package name, file path, etc), mandatory
<arch> = architecture, either amd64 or x86, default: amd64
<type> = search type, either “pkg” (for package search), “match” (for package matching, >=app-foo/foo-1.2.3), “desc” (for package description search), “file” (for package path search), “lib” (for library [soname] search), default: pkg
<repo> = repository identifier, default: sabayonlinux.org
<branch> = repository branch, default: 5
<product> = entropy repository product, default: standard
<order_by> = order results by “alphabet” (alphabetical), “vote” (…), “downloads” (…), default: alphabet
Moreover, 3 output types are supported (see HTTP GET params below):
- html (default)
- &render=json (json output)
- &render=jsonp (jsonp output)
Don’t try to XSS, it just, won’t work ;-).