]> git.deb.at Git - deb/packages.git/commitdiff
Merge branch 'master' into debian-master
authorFrank Lichtenheld <frank@lichtenheld.de>
Sat, 16 Feb 2008 00:47:51 +0000 (01:47 +0100)
committerFrank Lichtenheld <frank@lichtenheld.de>
Sat, 16 Feb 2008 00:47:51 +0000 (01:47 +0100)
INSTALL
cron.d/300maintainerdb
cron.d/900index_pages
lib/Packages/DoIndex.pm
po/debtags.de.po

diff --git a/INSTALL b/INSTALL
index 641cee2d1280d3d008167bb0aca353de15a4cd6e..3168c84cf9aab7a75e32a24f06edc3de03d758ca 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -12,26 +12,35 @@ case, you might have to adjust some of the steps.
    instead of etch's version.
 2) Download the code from git://source.djpig.de/git/packages.git
    (Something like `git clone git://source.djpig.de/git/packages.git')
-3) Install the needed dependencies. A list can be found in cron.d/050checkinst.
+3) Install the needed dependencies. A list can be found in debian/control.
    One dependency can't be fulfilled directly from etch and is therefor not listed
    there: the Search::Xapian perl module. You can either compile that yourself against
-   libxapian from etch, backport all of xapian and libsearch-xapian-perl from
-   lenny, or install the 0.9.9-1 deb from snapshots.debian.net.
+   libxapian from etch, use the backport on backports.org, or install the 0.9.9-1 deb
+   from snapshots.debian.net.
 4) Install apache2 (apache2-mpm-worker) and mod_perl (libapache2-mod-perl2)
 5) Adjust the configuration to your needs. You should at least edit the following
-   files before starting to test:
+   files before starting to test (don't touch %TOPDIR% and %SITE%, as you will 
+   specify it later):
    - ./config.sh.sed.in
+     (especially : admin_email, and localdir and/or ftproot if you have local caches)
    - ./templates/config.tmpl
+     (especially : packages_homepage)
    - ./templates/config/*
+     (especially if you have your own repositories)
    - ./conf/apache.conf.sed.in
 6) run `./bin/setup-site <topdir> <site>'
    (e.g. `./bin/setup-site /org/packages.debian.org packages.debian.org')
 7) create a cache directory for the compiled templates, it needs to be writable by
    apache (i.e. on default etch by www-data). Default location is
-   <topdir>/cache
+   <topdir>/cache. So
+   chown www-data <topdir>/cache
+   chmod 2770 <topdir>/cache
 7) Include ./conf/apache.conf in apache's configuration, e.g. by symlinking it from
    /etc/apache2/sites-available/ and then using a2ensite
 8) Run ./bin/daily
-9) Setup ./bin/daily to be run regulary. In ./conf/crontab you can find an example crontab
+   (this takes a while, especially the first time, as it downloads a lot of data,
+   [at the time of this writing approx. 900 MB], creates databases, pre-builds heavy
+   pages, etc.)
+9) Set up ./bin/daily to be run regulary. In ./conf/crontab you can find an example crontab
    to do this. Actually preferable is to trigger the script by archive updates, but you
    will know best if and how to implement that in your setup.
index 898a4c0bae6d70450902fb62b76de391f449d281..7d1bde850d1e3651884efef019066a797fb88556 100755 (executable)
@@ -2,5 +2,11 @@
 
 . `dirname $0`/../config.sh
 
+echo >&2 This script is disabled by default, since it is not useful without
+echo >&2 further setup and also some advertising of the actual addresses.
+echo >&2 Before you enable this you should have the consent of the people that
+echo >&2 this will send mail to!
+exit 1
+
 cd ${bindir}
 ${bindir}/build-maintainerdb
index dddbdcddc27a07b04ded82336c165872950eb79a..e22586d77342633701fd25e94950e1a94c956e16 100755 (executable)
@@ -12,21 +12,6 @@ date
 ./bin/create_index_pages
 date
 
-# for file in $(find www/ -name *.slices)
-# do
-#     dir=$(dirname $file)
-#     base=$(basename $file .slices)
-#     target=
-#     for l in $polangs
-#     do
-#      lu=$(echo $l|tr /a-z/ /A-Z/)
-#      target="$target -o ${lu}uUNDEF:$dir/$base.$l.html.tmp"
-#     done
-    
-#     echo slice $target $file
-#     slice $target $file
-# done 
-
-./bin/trivial_slice en $polangs -- $(find "$htmldir" -name "*.slices")
+./bin/trivial_slice en $polangs -- $(find "$htmldir" -maxdepth 4 -name "*.slices")
 
 date
index 3129b0b9c7fb950cc000cf0803485e6a65951af8..e1c5b6d3667ef650ace6d0ead1b2231684128259 100644 (file)
@@ -39,6 +39,9 @@ sub send_file {
                              "@{$opts->{suite}}" ) );
     }
 
+    if ($opts->{format} eq 'txt.gz') {
+       $opts->{po_lang} = 'en';
+    }
     my $wwwdir = "$TOPDIR/www";
     my $path = "";
     $path .= "source/" if $opts->{source};
index 7a51bce5c26ab4e3c80b794042b7cd75d3df01ae..ccb384524a8b73e17e87988e6a4533843054606f 100644 (file)
@@ -3,7 +3,7 @@ msgstr ""
 "Project-Id-Version: debtags.git c82c758c8\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2007-10-13 19:05+0200\n"
-"PO-Revision-Date: 2008-02-14 20:48+0100\n"
+"PO-Revision-Date: 2008-02-15 17:30+0100\n"
 "Last-Translator: Helge Kreutzmann <debian@helgefjell.de>\n"
 "Language-Team: debian-l10n-german <debian-l10n-german@lists.debian.org>\n"
 "MIME-Version: 1.0\n"
@@ -23,7 +23,7 @@ msgstr "  GPE Palmtop-Umgebung"
 #. Tag: suite::gforge, long desc
 #: files/debtags/vocabulary
 msgid " A collaborative development platform."
-msgstr " Eine gemeinschaftliche Entwicklungsplattform"
+msgstr " Eine gemeinschaftliche Entwicklungsplattform."
 
 #. Tag: scope::utility, long desc
 #: files/debtags/vocabulary
@@ -98,7 +98,7 @@ msgstr ""
 " »Asynchronous Transfer Mode«, ein Hochgeschwindigkeitsprotokoll zur\n"
 " Kommunikation zwischen Computern in einem Netz.\n"
 " .\n"
-" Obwohl ATM zur Realisierung von *DSL-Netzen verwendet wird hat es nie einen\n"
+" Obwohl ATM zur Realisierung von *DSL-Netzen verwendet wird, hat es nie einen\n"
 " umfangreichen Einsatz als Technik zum Aufbau lokaler Netze (LANs) gefunden,\n"
 " wofür es ursprünglich gedacht war.\n"
 " .\n"
@@ -136,7 +136,7 @@ msgid ""
 " for 80-90% of use cases. The pieces that remain are usually to be\n"
 " found as utilities."
 msgstr ""
-" Programm für den breiter Zielgruppe für allgemeinen Einsatz. Für 80-90% "
+" Programm mit breiter Zielgruppe für den allgemeinen Einsatz. Für 80-90% "
 " der Anwendungsfälle hat es Funktionalität. Die restlichen Teile werden "
 " typischerweise als Hilfswerkzeuge verteilt."
 
@@ -148,7 +148,7 @@ msgstr " Schaltkreis-Editoren und andere Software mit Bezug zur Elektronik"
 #. Tag: devel::prettyprint, long desc
 #: files/debtags/vocabulary
 msgid " Code pretty-printing and indentation/reformatting."
-msgstr " Schöndruck von Code und Einrückung/Neuformatierung"
+msgstr " Schöndruck von Code und Einrückung/Neuformatierung."
 
 #. Tag: protocol::corba, long desc
 #: files/debtags/vocabulary
@@ -168,7 +168,7 @@ msgid ""
 msgstr ""
 " »Common Object Request Broker Architecture« ist ein Standard für\n"
 " Interoperabilität zwischen in verschiedenen Programmiersprachen\n"
-" geschriebenen und auf verschieden Hardware-Plattformen laufenden\n"
+" geschriebenen und auf verschiedenen Hardware-Plattformen laufenden\n"
 " Programmen. CORBA enthält ein Client-Server-Netzprotokoll für\n"
 " verteiltes Rechnen.\n"
 " .\n"
@@ -225,7 +225,7 @@ msgstr " Digital Versatile Disc"
 #: files/debtags/vocabulary
 msgid " Direct Client to Client protocol used by Internet Relay Chat clients."
 msgstr ""
-" Direktes Client-zu-Client-Protokoll, verwendet von Clients für Inernet Relay Chat"
+" Direktes Client-zu-Client-Protokoll, verwendet von Clients für Internet Relay Chat"
 
 #. Tag: x11::display-manager, long desc
 #: files/debtags/vocabulary
@@ -249,7 +249,7 @@ msgid ""
 " .\n"
 " Link: http://en.wikipedia.org/wiki/Domain_Name_System"
 msgstr ""
-" »Domain Name System«, ein Protokoll um Informationen im Zusammenhang mit\n"
+" »Domain Name System«, ein Protokoll, um Informationen im Zusammenhang mit\n"
 " Domainnamen (wie »www.debian.org«) anzufordern, am berühmtesten die IP-\n"
 " Adresse. Das Protokoll wird zur Kommunikation mit einem DNS-Server (wie\n"
 " BIND) verwandt.\n"
@@ -275,7 +275,7 @@ msgstr ""
 #. Tag: suite::eclipse, long desc
 #: files/debtags/vocabulary
 msgid " Eclipse tool platform and plugins."
-msgstr " Eclipse-Werkzeug-Plattform und Erweiterungen"
+msgstr " Eclipse-Werkzeug-Plattform und Erweiterungen."
 
 #. Tag: protocol::ethernet, long desc
 #: files/debtags/vocabulary
@@ -297,7 +297,7 @@ msgstr ""
 " pair«) Kabel und werden über ihre MAC-Adresse identifiziert. Mehrere Arten\n"
 " von Ethernet existieren, die durch die maximale Verbindungsgeschwindigkeit\n"
 " unterschieden werden können. Am verbreitesten sind heuzutage 100MBit/s\n"
-"(100BASE-*) oder 1GBit/s (1000BASE-*).\n"
+" (100BASE-*) oder 1GBit/s (1000BASE-*).\n"
 " .\n"
 " Link: http://de.wikipedia.org/wiki/Ethernet"