diff options
author | Dan McGee <dan@archlinux.org> | 2011-03-30 20:48:09 -0500 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-04-03 22:59:32 +0200 |
commit | 7c91c592458b7532806ef75fe09146f82f085f3b (patch) | |
tree | b2fa71032464ec0f2c3fe286c3bd629d18b6fa4f /web/html/rss.php | |
parent | 1f252eba64acf18719bd514a7a4464ca18f4c1cb (diff) | |
download | aurweb-7c91c592458b7532806ef75fe09146f82f085f3b.tar.xz |
Remove Dummy Package concept
Instead, we just store dependencies directly in the PackageDepends
table. Since we don't use this info anywhere besides the package details
page, there is little value in precalculating what is in the AUR vs.
what is not.
An upgrade path is provided via several SQL statements in the UPGRADING
document. There should be no user-visible change from this, but the DB
schema gets a bit more sane and we no longer have loads of junk packages
in our tables that are never shown to the end user. This should also
help the MySQL query planner in several cases as we no longer have to be
careful to exclude dummy packages on every query.
Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/html/rss.php')
-rw-r--r-- | web/html/rss.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/web/html/rss.php b/web/html/rss.php index c9b87ec..cb0bf40 100644 --- a/web/html/rss.php +++ b/web/html/rss.php @@ -31,7 +31,6 @@ $rss->image = $image; #Get the latest packages and add items for them $dbh = db_connect(); $q = "SELECT * FROM Packages "; -$q.= "WHERE DummyPkg != 1 "; $q.= "ORDER BY SubmittedTS DESC "; $q.= "LIMIT 0 , 20"; $result = db_query($q, $dbh); |