]> git.deb.at Git - deb/packages.git/commitdiff
[ARCHIVE] Extract changelogs at least for pool-using releases
authorFrank Lichtenheld <frank@lichtenheld.de>
Tue, 13 May 2008 12:44:11 +0000 (14:44 +0200)
committerFrank Lichtenheld <frank@lichtenheld.de>
Sun, 8 Jun 2008 10:26:09 +0000 (12:26 +0200)
Which is currently woody only.

config.sh.sed.in
lib/Packages/DoShow.pm
templates/config.tmpl

index 339fb5ffced3a01efe8a77c328218ef3af6ed279..4931dbceffdef300205b7a6eb8a65c45f64fa66a 100644 (file)
@@ -19,12 +19,12 @@ cachedir=${topdir}/cache
 # unset this if %SITE% moves somewhere where the packages files
 # cannot be obtained locally
 #
-#localdir=/org/ftp.debian.org/debian
+localdir=/srv/archive.debian.org/ftp
 
 # path to private ftp directory
 #ftproot=/org/ftp.root
 
-ftpsite=http://archive.debian.org/
+ftpsite=http://archive.debian.org/debian-archive
 ddtp_ftpsite=http://ddtp.debian.net/debian
 
 wget_cmd="wget --no-verbose --tries=2 --timeout=60"
index 3964e7853ed54d30aa7635cc94e96b854383c9de..e0c2627782f5811f2b88d693802ba2e31b542108 100644 (file)
@@ -241,11 +241,13 @@ sub do_show {
                        #
                        # more information
                        #
+                       my $changesandcopy = 0;
+                       $changesandcopy = 1 if $suite eq "woody";
                        moreinfo( name => $pkg, data => $page, vars => \%contents,
                                  opts => $opts,
                                  env => \%FTP_SITES,
                                  bugreports => 1, sourcedownload => 1,
-                                 changesandcopy => 0, maintainers => 1,
+                                 changesandcopy => $changesandcopy, maintainers => 1,
                                  search => 1 );
                    } else { # unless $page->is_virtual
                        $contents{is_virtual} = 1;
@@ -321,11 +323,13 @@ sub do_show {
                    #
                    # more information
                    #
+                   my $changesandcopy = 0;
+                   $changesandcopy = 1 if $suite eq "woody";
                    moreinfo( name => $pkg, data => $page, vars => \%contents,
                              opts => $opts,
                              env => \%FTP_SITES,
                              bugreports => 1,
-                             changesandcopy => 0, maintainers => 1,
+                             changesandcopy => $changesandcopy, maintainers => 1,
                              search => 1, is_source => 1 );
 
                } # else (unless $opts->{source})
index 006583ebe9926c20caf2466fb2da4d33f5003975..70f14a8ddb95341a2196f346eb24356349fe134f 100644 (file)
@@ -17,7 +17,7 @@
    security_mirror = 'security.debian.org'
    security_mirror_url = security_mirror _ '/debian-security'
    security_suite_suffix = '/updates'
-   changelogs_url = 'http://packages.debian.org/changelogs/'
+   changelogs_url = 'http://archive.debian.net/changelogs/'
    policy_url = 'http://www.debian.org/doc/debian-policy/'
    cn_help_url = project_homepage _ 'intro/cn'
    logo = {