blob: 0ba5886b4aa06486fe332dda81081f2fe5137d22 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<?xml version="1.0"?>
<block xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="../datasources/postgres.xml" />
<sqlview name="newebuilds" recordname="ebuild" datasource="postgres">
<sql>
SELECT filename, EXTRACT('day' FROM NOW()) - EXTRACT('day' FROM f.firstseen) AS age, description,
moddate, p.name AS pkgname, c.name AS catname
FROM ebuilds e, files f, packages p, categories c
WHERE e.ebuildid = f.fileid
AND e.packageid = p.packageid
AND p.categoryid = c.categoryid
AND f.firstseen > DATE_TRUNC('day', NOW()) - INTERVAL '3 days'
ORDER BY c.name, p.name, e.versioninst
</sql>
</sqlview>
</block>
|