[Debian-l10n-commits] r2706 - in /ddtp-web: Changelog Packages2db.sh
nekral-guest at users.alioth.debian.org
nekral-guest at users.alioth.debian.org
Mon Jul 25 13:10:00 UTC 2011
Author: nekral-guest
Date: Mon Jul 25 13:10:00 2011
New Revision: 2706
URL: http://svn.debian.org/wsvn/?sc=1&rev=2706
Log:
* Packages2db.sh: Comment out gaia, lenny and etch
* Packages2db.sh: Added Squeeze and Wheezy
Modified:
ddtp-web/Changelog
ddtp-web/Packages2db.sh
Modified: ddtp-web/Changelog
URL: http://svn.debian.org/wsvn/ddtp-web/Changelog?rev=2706&op=diff
==============================================================================
--- ddtp-web/Changelog (original)
+++ ddtp-web/Changelog Mon Jul 25 13:10:00 2011
@@ -8,3 +8,5 @@
* Packages2db.pl: Populate the package_version_tb table in
addition to version_tb.
* sql_layout.txt: Add table suggestion_tb.
+ * Packages2db.sh: Comment out gaia, lenny and etch
+ * Packages2db.sh: Added Squeeze and Wheezy
Modified: ddtp-web/Packages2db.sh
URL: http://svn.debian.org/wsvn/ddtp-web/Packages2db.sh?rev=2706&op=diff
==============================================================================
--- ddtp-web/Packages2db.sh (original)
+++ ddtp-web/Packages2db.sh Mon Jul 25 13:10:00 2011
@@ -5,23 +5,63 @@
cd ~ddtp/Packages
-distribution="gaia"
- file="Packages-lliurex_${distribution}"
- echo `date`: lliurex_${distribution}
-
- bunzip2 -k -f $file.bz2
- echo `date`: Packages bunzip2
-
- $INPORT2DB $file lliurex_$distribution
- echo `date`: data in db
-
- rm -f $file
+#distribution="gaia"
+# file="Packages-lliurex_${distribution}"
+#
+# echo `date`: lliurex_${distribution}
+#
+# bunzip2 -k -f $file.bz2
+# echo `date`: Packages bunzip2
+#
+# $INPORT2DB $file lliurex_$distribution
+# echo `date`: data in db
+#
+# rm -f $file
PART="main contrib"
-distribution="etch"
+#distribution="etch"
+#for part in $PART
+#do
+# file="Packages_${distribution}_${part}"
+#
+# echo `date`: ${distribution}/${part}
+#
+# bunzip2 -k -f $file.bz2
+# echo `date`: Packages bunzip2
+#
+# $INPORT2DB $file $distribution
+# echo `date`: data in db
+#
+# rm -f $file
+#done
+# Regular vacuum to cut disk usage
+#psql ddtp -c "VACUUM"
+
+
+#distribution="lenny"
+#for part in $PART
+#do
+# file="Packages_${distribution}_${part}"
+#
+# echo `date`: ${distribution}/${part}
+#
+# bunzip2 -k -f $file.bz2
+# echo `date`: Packages bunzip2
+#
+# $INPORT2DB $file $distribution
+# echo `date`: data in db
+#
+# rm -f $file
+#done
+# Regular vacuum to cut disk usage
+#psql ddtp -c "VACUUM"
+
+
+
+distribution="squeeze"
for part in $PART
do
file="Packages_${distribution}_${part}"
@@ -36,11 +76,7 @@
rm -f $file
done
-# Regular vacuum to cut disk usage
-psql ddtp -c "VACUUM"
-
-
-distribution="lenny"
+distribution="wheezy"
for part in $PART
do
file="Packages_${distribution}_${part}"
More information about the Debian-l10n-commits
mailing list