diff options
Diffstat (limited to 'gentoobrowse/views/package.xml')
-rw-r--r-- | gentoobrowse/views/package.xml | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/gentoobrowse/views/package.xml b/gentoobrowse/views/package.xml index 8544123..3cc24a2 100644 --- a/gentoobrowse/views/package.xml +++ b/gentoobrowse/views/package.xml @@ -1,7 +1,8 @@ <?xml version="1.0"?> -<block xmlns:xi="http://www.w3.org/2001/XInclude"> +<block xmlns:xi="http://www.w3.org/2001/XInclude" + xmlns:project2="http://project2.randomdan.homeip.net"> <xi:include href="../datasources/postgres.xml" /> - <sqlview name="summary" recordname="package" datasource="postgres"> + <project2:sqlview name="summary" recordname="package" datasource="postgres"> <sql> SELECT p.packageid, p.name AS pkgname, p.description, p.firstseen, c.name AS catname FROM packages p, categories c @@ -13,7 +14,7 @@ <param bind="0" id="1" source="uri" /> <param bind="1" id="2" source="uri" /> </parameters> - <sqlview name="versions" recordname="version" datasource="postgres"> + <project2:sqlview name="versions" recordname="version" datasource="postgres"> <sql> SELECT e.ebuildid, e.version FROM ebuilds e @@ -23,8 +24,8 @@ <parameters> <param bind="0" id="packageid" source="parent" /> </parameters> - </sqlview> - <sqlview name="packageUrls" recordname="url" datasource="postgres"> + </project2:sqlview> + <project2:sqlview name="packageUrls" recordname="url" datasource="postgres"> <sql> SELECT pu.url FROM package_urls pu @@ -34,8 +35,8 @@ <parameters> <param bind="0" id="packageid" source="parent" /> </parameters> - </sqlview> - <sqlview name="versionUses" recordname="use" datasource="postgres"> + </project2:sqlview> + <project2:sqlview name="versionUses" recordname="use" datasource="postgres"> <sql> SELECT u.* FROM ebuilds e, ebuild_uses u @@ -46,8 +47,8 @@ <parameters> <param bind="0" id="packageid" source="parent" /> </parameters> - </sqlview> - <sqlview name="versionArchs" recordname="arch" datasource="postgres"> + </project2:sqlview> + <project2:sqlview name="versionArchs" recordname="arch" datasource="postgres"> <sql> SELECT a.* FROM ebuilds e, ebuild_archs a @@ -58,8 +59,8 @@ <parameters> <param bind="0" id="packageid" source="parent" /> </parameters> - </sqlview> - <sqlview name="deps" recordname="package" datasource="postgres"> + </project2:sqlview> + <project2:sqlview name="deps" recordname="package" datasource="postgres"> <sql> SELECT distinct cd.name AS catname, pd.name AS pkgname, pd.description FROM ebuilds e, ebuild_deps d, packages pd, categories cd @@ -72,6 +73,6 @@ <parameters> <param bind="0" id="packageid" source="parent" /> </parameters> - </sqlview> - </sqlview> + </project2:sqlview> + </project2:sqlview> </block> |