From 3100c7bac5092eff6e7d19ebb2ed449bc808fda9 Mon Sep 17 00:00:00 2001 From: Cyril Brulebois Date: Sun, 7 Jun 2020 22:44:26 +0000 Subject: Drop obsolete Greek sitemap. --- greek/sitemap.wml | 301 ------------------------------------------------------ 1 file changed, 301 deletions(-) delete mode 100644 greek/sitemap.wml diff --git a/greek/sitemap.wml b/greek/sitemap.wml deleted file mode 100644 index 0d1d026612b..00000000000 --- a/greek/sitemap.wml +++ /dev/null @@ -1,301 +0,0 @@ -#use wml::debian::common_tags -#use wml::debian::links.tags -#use wml::debian::template title="" BARETITLE=true -#include "$(ENGLISHDIR)/releases/info" -#include "$(ENGLISHDIR)/MailingLists/mklist.tags" -#use wml::debian::translation-check translation="646754dba803cd981cbac5183cf2e67aee064011" maintainer="galaxico" - -# Don't translate this file, it will only make you look stupid. - -# title_of return values contain tags processed during pass 2, -# and ePerl will fail if double quotes are in expanded text. -# For this reason, tag content must be protected -\ - %body\ - - - -sub title_of { - my ($page) = @_; - -# special cases - if ($page eq "https://lists.debian.org/") { return "" } - if ($page eq "https://lists.debian.org/users.html") { return "" } - if ($page eq "https://lists.debian.org/devel.html") { return "" } - if ($page eq "https://lists.debian.org/i18n.html") { return "" } - if ($page eq "https://lists.debian.org/ports.html") { return "" } - if ($page eq "https://lists.debian.org/bugs.html") { return "" } - if ($page eq "https://lists.debian.org/misc.html") { return "" } - if ($page eq "$(SEARCH)") { return "" } - if ($page eq "https://db.debian.org/") { return "" } - if ($page eq "News/weekly/") { return "" } - if ($page eq "News/project/") { return "" } - if ($page eq "doc/manuals/debian-faq/") { return "" } - if ($page eq "doc/debian-policy/") { return "" } - if ($page eq "doc/manuals/developers-reference/") { return "" } - if ($page eq "doc/manuals/maint-guide/") { return "" } - if ($page eq "https://bugs.debian.org/release-critical/") { return "" } - if ($page eq "https://lintian.debian.org/") { return "" } - if ($page eq "MailingLists/subscribe") { return "" } - if ($page eq "MailingLists/unsubscribe") { return "" } - if ($page eq "https://wiki.debian.org/DebianEdu") { return "" } - if ($page eq "https://alioth.debian.org/") { return "" } - if ($page eq "https://qa.debian.org/") { return "" } - if ($page eq "https://packages.qa.debian.org/") { return "" } - if ($page eq "https://qa.debian.org/developer.php") { return "" } - - $page =~ s/^(.+)#(.+)$/$1/; # remove anchors (will handle this later) - $page =~ s,/stable/,//,; - $page =~ s,/testing/,//,; - if ($page =~ /\/$/) { $page .= "index.wml" } else { $page .= ".wml" }; -# print STDERR "page: $page\n"; return; - $page = "$ENGLISHDIR/$page" unless (-f $page); - die "$page doesn't exist!\n" unless (-f $page); - my $title = `egrep '^#use .* title=' $page `; chomp $title; - $title =~ s/^#use .* title="(.+?)("\s.*$|"$|"\e.*$)/$1/; - - if ($title eq '') { - $title = `egrep '^.*' $page `; chomp $title; - $title =~ s/^(.+?)<\/define-tag>/$1/; - } - - die "can't find a title in $page!\n" unless (($title) || ($title eq "")); - return $title; -} - - - -<:= title_of("%0") :> - - - - - - -
- -
-

-
-
-
    -
  • -
  • -
  • -
  • -
  • -
- -
    -
  • -
  • -
  • -
-
-
-
    -
  • -
- -
    -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
- -
    -
  • -
  • -
-
-
-
-
-

-
-
-
    -
  • -
  • -
  • -
- -
    -
  • -
- -
    -
  • -
  • -
  • -
-
-
-
    -
  • -
  • -
  • - -
- -
    -
  • -
  • -
-
-
-
-
-

-
-
-
    -
  • -
  • -
  • -
  • -
- -
    -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
-
-
-
    -
  • -
  • -
- -
    -
  • -
  • -
  • -
  • -
- -
    -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
-
-
-
-
-

-
-
-
    -
  • -
  • -
  • -
  • -
  • -
  • -
- -
    -
  • -
  • -
  • -
- -
    -
  • -
  • -
  • -
  • -
  • -#
  • -
  • -
  • -
  • -
  • -
  • -
  • -
- -
    -
  • -
  • -
  • -
- -
    -
  • -
  • -
  • -
  • -
-
-
-
    -
  • -
  • -
  • -
  • -
  • -
  • -
- -
    -
  • -
  • -
  • -
  • -
- -#
    -#
  • -#
- -
    -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
- -
    -
  • -
  • -
  • -
  • -
  • -
  • -
- -
    -
  • -
  • -
  • -
-
-
-
- -

-
-- cgit v1.2.3 From 83f7cae0178074e5e4f913168b4b42c7be90af13 Mon Sep 17 00:00:00 2001 From: Cyril Brulebois Date: Sun, 7 Jun 2020 22:49:01 +0000 Subject: Partially work around buggy sitemap generation on buster (#924172). wml versions found in stretch and buster seem to behave differently when the input file is not in the current directory. To mitigate this, turn the ../english/sitemap.wml input file into sitemap.wml in the wml calls (Chinese and non-Chinese cases), and add symlinks from all (other) language directories. Unfortunately, this generates sitemaps that are only partially translated. They seem to be well-formed though, and very similar to the English sitemap generated with wml from stretch. Which seems to be a net win over the status quo. Also, the missing translations don't seem to be a regression due to the deployment of this workaround. --- albanian/sitemap.wml | 1 + arabic/sitemap.wml | 1 + armenian/sitemap.wml | 1 + bulgarian/sitemap.wml | 1 + catalan/sitemap.wml | 1 + chinese/sitemap.wml | 1 + croatian/sitemap.wml | 1 + czech/sitemap.wml | 1 + danish/sitemap.wml | 1 + dutch/sitemap.wml | 1 + english/Makefile | 4 ++-- esperanto/sitemap.wml | 1 + finnish/sitemap.wml | 1 + french/sitemap.wml | 1 + galician/sitemap.wml | 1 + german/sitemap.wml | 1 + greek/sitemap.wml | 1 + hebrew/sitemap.wml | 1 + hungarian/sitemap.wml | 1 + indonesian/sitemap.wml | 1 + italian/sitemap.wml | 1 + japanese/sitemap.wml | 1 + korean/sitemap.wml | 1 + lithuanian/sitemap.wml | 1 + norwegian/sitemap.wml | 1 + persian/sitemap.wml | 1 + polish/sitemap.wml | 1 + portuguese/sitemap.wml | 1 + romanian/sitemap.wml | 1 + russian/sitemap.wml | 1 + slovak/sitemap.wml | 1 + slovene/sitemap.wml | 1 + spanish/sitemap.wml | 1 + swedish/sitemap.wml | 1 + tamil/sitemap.wml | 1 + turkish/sitemap.wml | 1 + ukrainian/sitemap.wml | 1 + vietnamese/sitemap.wml | 1 + 38 files changed, 39 insertions(+), 2 deletions(-) create mode 120000 albanian/sitemap.wml create mode 120000 arabic/sitemap.wml create mode 120000 armenian/sitemap.wml create mode 120000 bulgarian/sitemap.wml create mode 120000 catalan/sitemap.wml create mode 120000 chinese/sitemap.wml create mode 120000 croatian/sitemap.wml create mode 120000 czech/sitemap.wml create mode 120000 danish/sitemap.wml create mode 120000 dutch/sitemap.wml create mode 120000 esperanto/sitemap.wml create mode 120000 finnish/sitemap.wml create mode 120000 french/sitemap.wml create mode 120000 galician/sitemap.wml create mode 120000 german/sitemap.wml create mode 120000 greek/sitemap.wml create mode 120000 hebrew/sitemap.wml create mode 120000 hungarian/sitemap.wml create mode 120000 indonesian/sitemap.wml create mode 120000 italian/sitemap.wml create mode 120000 japanese/sitemap.wml create mode 120000 korean/sitemap.wml create mode 120000 lithuanian/sitemap.wml create mode 120000 norwegian/sitemap.wml create mode 120000 persian/sitemap.wml create mode 120000 polish/sitemap.wml create mode 120000 portuguese/sitemap.wml create mode 120000 romanian/sitemap.wml create mode 120000 russian/sitemap.wml create mode 120000 slovak/sitemap.wml create mode 120000 slovene/sitemap.wml create mode 120000 spanish/sitemap.wml create mode 120000 swedish/sitemap.wml create mode 120000 tamil/sitemap.wml create mode 120000 turkish/sitemap.wml create mode 120000 ukrainian/sitemap.wml create mode 120000 vietnamese/sitemap.wml diff --git a/albanian/sitemap.wml b/albanian/sitemap.wml new file mode 120000 index 00000000000..1c70b6bd571 --- /dev/null +++ b/albanian/sitemap.wml @@ -0,0 +1 @@ +../english/sitemap.wml \ No newline at end of file diff --git a/arabic/sitemap.wml b/arabic/sitemap.wml new file mode 120000 index 00000000000..1c70b6bd571 --- /dev/null +++ b/arabic/sitemap.wml @@ -0,0 +1 @@ +../english/sitemap.wml \ No newline at end of file diff --git a/armenian/sitemap.wml b/armenian/sitemap.wml new file mode 120000 index 00000000000..1c70b6bd571 --- /dev/null +++ b/armenian/sitemap.wml @@ -0,0 +1 @@ +../english/sitemap.wml \ No newline at end of file diff --git a/bulgarian/sitemap.wml b/bulgarian/sitemap.wml new file mode 120000 index 00000000000..1c70b6bd571 --- /dev/null +++ b/bulgarian/sitemap.wml @@ -0,0 +1 @@ +../english/sitemap.wml \ No newline at end of file diff --git a/catalan/sitemap.wml b/catalan/sitemap.wml new file mode 120000 index 00000000000..1c70b6bd571 --- /dev/null +++ b/catalan/sitemap.wml @@ -0,0 +1 @@ +../english/sitemap.wml \ No newline at end of file diff --git a/chinese/sitemap.wml b/chinese/sitemap.wml new file mode 120000 index 00000000000..1c70b6bd571 --- /dev/null +++ b/chinese/sitemap.wml @@ -0,0 +1 @@ +../english/sitemap.wml \ No newline at end of file diff --git a/croatian/sitemap.wml b/croatian/sitemap.wml new file mode 120000 index 00000000000..1c70b6bd571 --- /dev/null +++ b/croatian/sitemap.wml @@ -0,0 +1 @@ +../english/sitemap.wml \ No newline at end of file diff --git a/czech/sitemap.wml b/czech/sitemap.wml new file mode 120000 index 00000000000..1c70b6bd571 --- /dev/null +++ b/czech/sitemap.wml @@ -0,0 +1 @@ +../english/sitemap.wml \ No newline at end of file diff --git a/danish/sitemap.wml b/danish/sitemap.wml new file mode 120000 index 00000000000..1c70b6bd571 --- /dev/null +++ b/danish/sitemap.wml @@ -0,0 +1 @@ +../english/sitemap.wml \ No newline at end of file diff --git a/dutch/sitemap.wml b/dutch/sitemap.wml new file mode 120000 index 00000000000..1c70b6bd571 --- /dev/null +++ b/dutch/sitemap.wml @@ -0,0 +1 @@ +../english/sitemap.wml \ No newline at end of file diff --git a/english/Makefile b/english/Makefile index 48a8a6367c6..f8211bbba4e 100644 --- a/english/Makefile +++ b/english/Makefile @@ -50,11 +50,11 @@ ifeq "$(LANGUAGE)" "zh" @echo -n "Processing $(