diff options
Diffstat (limited to 'gentoobrowse/views/package.xml')
-rw-r--r-- | gentoobrowse/views/package.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gentoobrowse/views/package.xml b/gentoobrowse/views/package.xml index af36f44..7f10887 100644 --- a/gentoobrowse/views/package.xml +++ b/gentoobrowse/views/package.xml @@ -1,6 +1,15 @@ <?xml version="1.0"?> <block xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:project2="http://project2.randomdan.homeip.net"> + <project2:sqlrows name="sitemap-packages" datasource="postgres-web"> + <sql> + SELECT c.name AS catname, p.name AS pkgname, MAX(e.moddate) AS moddate + FROM categories c, packages p, ebuilds e + WHERE p.packageid = e.packageid + AND c.categoryid = p.categoryid + GROUP BY c.name, p.name + </sql> + </project2:sqlrows> <project2:sqlrows name="packages" datasource="postgres-web"> <sql> SELECT p.packageid, p.name AS pkgname, p.description, p.firstseen, c.name AS catname, p.herd, p.summary |