diff options
Diffstat (limited to 'gentoobrowse/views/package.xml')
-rw-r--r-- | gentoobrowse/views/package.xml | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/gentoobrowse/views/package.xml b/gentoobrowse/views/package.xml index 68ab0f6..5b0daab 100644 --- a/gentoobrowse/views/package.xml +++ b/gentoobrowse/views/package.xml @@ -1,8 +1,8 @@ <?xml version="1.0"?> <block xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:project2="http://project2.randomdan.homeip.net"> - <xi:include href="../datasources/postgres.xml" /> - <project2:sqlview name="summary" recordname="package" datasource="postgres"> + <xi:include href="../datasources/postgres-web.xml" /> + <project2:sqlview name="summary" recordname="package" datasource="postgres-web"> <sql> SELECT p.packageid, p.name AS pkgname, p.description, p.firstseen, c.name AS catname FROM packages p, categories c @@ -14,7 +14,7 @@ <param bind="0" value="/1" /> <param bind="1" value="/2" /> </parameters> - <project2:sqlview name="tracks" recordname="track" datasource="postgres"> + <project2:sqlview name="tracks" recordname="track" datasource="postgres-web"> <sql> SELECT trackedsince FROM user_packages up @@ -26,7 +26,7 @@ <param bind="1" value="%loggedInUserID|0" /> </parameters> </project2:sqlview> - <project2:sqlview name="versions" recordname="version" datasource="postgres"> + <project2:sqlview name="versions" recordname="version" datasource="postgres-web"> <sql> SELECT e.ebuildid, e.version, f.moddate, e.slot, e.license FROM ebuilds e, files f @@ -38,7 +38,7 @@ <param bind="0" value="^packageid" /> </parameters> </project2:sqlview> - <project2:sqlview name="packageUrls" recordname="url" datasource="postgres"> + <project2:sqlview name="packageUrls" recordname="url" datasource="postgres-web"> <sql> SELECT pu.url FROM package_urls pu @@ -49,7 +49,7 @@ <param bind="0" value="^packageid" /> </parameters> </project2:sqlview> - <project2:sqlview name="versionUses" recordname="use" datasource="postgres"> + <project2:sqlview name="versionUses" recordname="use" datasource="postgres-web"> <sql> SELECT u.* FROM ebuilds e, ebuild_uses u @@ -61,7 +61,7 @@ <param bind="0" value="^packageid" /> </parameters> </project2:sqlview> - <project2:sqlview name="versionArchs" recordname="arch" datasource="postgres"> + <project2:sqlview name="versionArchs" recordname="arch" datasource="postgres-web"> <sql> SELECT a.* FROM ebuilds e, ebuild_archs a @@ -73,7 +73,7 @@ <param bind="0" value="^packageid" /> </parameters> </project2:sqlview> - <project2:sqlview name="packageBugs" recordname="bug" datasource="postgres"> + <project2:sqlview name="packageBugs" recordname="bug" datasource="postgres-web"> <sql> SELECT b.bugid, b.summary FROM bugs b, package_bugs pb @@ -85,7 +85,7 @@ <param bind="0" value="^packageid" /> </parameters> </project2:sqlview> - <project2:sqlview name="deps" recordname="package" datasource="postgres"> + <project2:sqlview name="deps" recordname="package" datasource="postgres-web"> <sql> SELECT DISTINCT cd.name AS catname, pd.name AS pkgname, pd.description FROM ebuilds e, ebuild_deps d, packages pd, categories cd @@ -99,7 +99,7 @@ <param bind="0" value="^packageid" /> </parameters> </project2:sqlview> - <project2:sqlview name="rdeps" recordname="package" datasource="postgres"> + <project2:sqlview name="rdeps" recordname="package" datasource="postgres-web"> <sql> SELECT DISTINCT cd.name AS catname, pd.name AS pkgname, pd.description FROM ebuilds e, ebuild_rdeps d, packages pd, categories cd @@ -113,7 +113,7 @@ <param bind="0" value="^packageid" /> </parameters> </project2:sqlview> - <project2:sqlview name="depees" recordname="package" datasource="postgres"> + <project2:sqlview name="depees" recordname="package" datasource="postgres-web"> <sql> SELECT DISTINCT cd.name AS catname, pd.name AS pkgname, pd.description FROM ebuilds e, ( @@ -134,7 +134,7 @@ <param bind="1" value="^packageid" /> </parameters> </project2:sqlview> - <project2:sqlview name="maskstatus" recordname="mask" datasource="postgres"> + <project2:sqlview name="maskstatus" recordname="mask" datasource="postgres-web"> <sql> SELECT em.ebuildid, DENSE_RANK() OVER(ORDER BY em.setno) AS setno FROM ebuild_masks em, ebuilds e @@ -145,7 +145,7 @@ <param bind="0" value="^packageid" /> </parameters> </project2:sqlview> - <project2:sqlview name="maskdetails" recordname="mask" datasource="postgres"> + <project2:sqlview name="maskdetails" recordname="mask" datasource="postgres-web"> <sql> SELECT DISTINCT DENSE_RANK() OVER(ORDER BY em.setno), ms.person, ms.message, ms.dateadded FROM ebuild_masks em, ebuilds e, masksets ms @@ -158,7 +158,7 @@ <param bind="0" value="^packageid" /> </parameters> </project2:sqlview> - <project2:sqlview name="changelog" recordname="line" datasource="postgres"> + <project2:sqlview name="changelog" recordname="line" datasource="postgres-web"> <sql> SELECT line, content FROM files f, filecache fc, packages p, categories c |