]> git.deb.at Git - deb/packages.git/log
deb/packages.git
16 years agoMerge branch 'master' into ubuntu-master
Frank Lichtenheld [Mon, 3 Mar 2008 14:08:01 +0000 (15:08 +0100)]
Merge branch 'master' into ubuntu-master

Conflicts:

config.sh.sed.in

16 years ago[UBUNTU] Packages::DoSearchContents: Don't die when no information is available
Frank Lichtenheld [Mon, 3 Mar 2008 14:02:13 +0000 (15:02 +0100)]
[UBUNTU] Packages::DoSearchContents: Don't die when no information is available

Issue a real error message if no contents database is available for the suite
in question.

This isn't exposed on the Debian site since we actually have _some_ contents
for every suite (experimental has contents for debian-ports.org). But on
the Ubuntu site we have no information at all for *-backports and *-updates.
(cherry picked from commit 3eda9fe5cb2a6fe0fc67493c2147d8a3ff2d904d)

16 years ago[UBUNTU] Packages::DoSearchContents: Don't die when no information is available
Frank Lichtenheld [Mon, 3 Mar 2008 14:02:13 +0000 (15:02 +0100)]
[UBUNTU] Packages::DoSearchContents: Don't die when no information is available

Issue a real error message if no contents database is available for the suite
in question.

This isn't exposed on the Debian site since we actually have _some_ contents
for every suite (experimental has contents for debian-ports.org). But on
the Ubuntu site we have no information at all for *-backports and *-updates.

16 years ago[UBUNTU] Don't offer *-backports and *-updates for contents search
Frank Lichtenheld [Mon, 3 Mar 2008 13:58:14 +0000 (14:58 +0100)]
[UBUNTU] Don't offer *-backports and *-updates for contents search

These don't have contents available so don't confuse the user by giving
him links we know won't work.

16 years agoSome defuzzing
Simon Paillard [Fri, 29 Feb 2008 18:16:55 +0000 (19:16 +0100)]
Some defuzzing

16 years agoMerge branch 'master' of ssh://spaillar-guest@git.debian.org/git/webwml/packages
Simon Paillard [Fri, 29 Feb 2008 09:53:39 +0000 (10:53 +0100)]
Merge branch 'master' of ssh://spaillar-guest@git.debian.org/git/webwml/packages

Conflicts:

po/pdo.fr.po
po/templates.fr.po

16 years agopdo.fr.po: 10t, 7f, 14u
Simon Paillard [Thu, 28 Feb 2008 17:58:42 +0000 (18:58 +0100)]
pdo.fr.po: 10t, 7f, 14u
langs.fr.po: 37t
sections.fr.po: 72t
templates.fr.po: 134t, 44f, 38u

16 years agoconfig.sh: Add armel to lenny
Frank Lichtenheld [Thu, 28 Feb 2008 15:34:06 +0000 (16:34 +0100)]
config.sh: Add armel to lenny

16 years ago[UBUNTU] Remove sitewidemsg about new codebase
Frank Lichtenheld [Mon, 25 Feb 2008 13:04:00 +0000 (14:04 +0100)]
[UBUNTU] Remove sitewidemsg about new codebase

One week should be enough.

16 years agoMerge branch 'master' into ubuntu-master
Frank Lichtenheld [Mon, 25 Feb 2008 00:55:42 +0000 (01:55 +0100)]
Merge branch 'master' into ubuntu-master

16 years agoPackages::Config: Add en to DDTP_LANGUAGES as well
Frank Lichtenheld [Sun, 24 Feb 2008 22:06:25 +0000 (23:06 +0100)]
Packages::Config: Add en to DDTP_LANGUAGES as well

Previously when we used DDTP_LANGUAGES and LANGUAGES together
this didn't cause any problems, but now that we evaluate them
separatly, this causes other languages to be preferred over
English, even though the user assigned a lower quality to them.

16 years agoUdpated translation by Yuri Kozlov <kozlov.y@gmail.com>
Nick Toris [Sat, 23 Feb 2008 21:30:39 +0000 (02:30 +0500)]
Udpated translation by Yuri Kozlov <kozlov.y@gmail.com>

16 years agohtml/show.tmpl: Remove one hardcoded "Debian"
Frank Lichtenheld [Fri, 22 Feb 2008 17:19:58 +0000 (18:19 +0100)]
html/show.tmpl: Remove one hardcoded "Debian"

Reported by Greg Grossmeier <greg grossmeier -at gmail com>

16 years ago[UBUNTU] Add note about today's downtime
Frank Lichtenheld [Thu, 21 Feb 2008 20:09:44 +0000 (21:09 +0100)]
[UBUNTU] Add note about today's downtime

16 years ago[UBUNTU] No Contents for dapper available currently
Frank Lichtenheld [Thu, 21 Feb 2008 20:09:16 +0000 (21:09 +0100)]
[UBUNTU] No Contents for dapper available currently

See also https://bugs.launchpad.net/soyuz/+bug/185130/

16 years ago[UBUNTU] Typo fix
Frank Lichtenheld [Thu, 21 Feb 2008 14:39:49 +0000 (15:39 +0100)]
[UBUNTU] Typo fix

16 years ago[UBUNTU] Add verify tag for Google Webmaster Tools
Frank Lichtenheld [Wed, 20 Feb 2008 02:29:54 +0000 (03:29 +0100)]
[UBUNTU] Add verify tag for Google Webmaster Tools

16 years agoMerge branch 'master' into ubuntu-master
Frank Lichtenheld [Thu, 21 Feb 2008 13:51:40 +0000 (14:51 +0100)]
Merge branch 'master' into ubuntu-master

Conflicts:

templates/config.tmpl

16 years agoconfig.tmpl: Rename homepage to project_homepage
Frank Lichtenheld [Thu, 21 Feb 2008 13:24:58 +0000 (14:24 +0100)]
config.tmpl: Rename homepage to project_homepage

This avoids accidentially clashing with the homepage field,
like I did on the download pages.

16 years agoPackages::Page: Don't support the old Url field anymore
Frank Lichtenheld [Thu, 21 Feb 2008 13:23:43 +0000 (14:23 +0100)]
Packages::Page: Don't support the old Url field anymore

16 years agoparse-contents: Create "all" symlinks relative instead of absolute
Frank Lichtenheld [Thu, 21 Feb 2008 01:27:57 +0000 (02:27 +0100)]
parse-contents: Create "all" symlinks relative instead of absolute

No need to break them if you move the directories around.

16 years agoapache.conf: Issue a correct 404 for /favicon.ico
Frank Lichtenheld [Wed, 20 Feb 2008 02:11:44 +0000 (03:11 +0100)]
apache.conf: Issue a correct 404 for /favicon.ico

Maybe that will teach some browsers not to request it so often...

16 years agoapache.conf: Increase expire dates for images
Frank Lichtenheld [Wed, 20 Feb 2008 01:13:23 +0000 (02:13 +0100)]
apache.conf: Increase expire dates for images

The images have not changed in ages. Increate the expire date
from one week to one year.

16 years ago[UBUNTU] Packages::Config is not very smart, don't fool it
Frank Lichtenheld [Wed, 20 Feb 2008 01:08:36 +0000 (02:08 +0100)]
[UBUNTU] Packages::Config is not very smart, don't fool it

You can't use shell features in the variables that are read by
Packages::Config. security_ftpsite is such a variable.

16 years ago[UBUNTU] This site is packages.ubuntu.com now
Frank Lichtenheld [Tue, 19 Feb 2008 23:15:30 +0000 (00:15 +0100)]
[UBUNTU] This site is packages.ubuntu.com now

16 years ago[UBUNTU] Don't show help URL about language choosing
Frank Lichtenheld [Tue, 19 Feb 2008 22:27:27 +0000 (23:27 +0100)]
[UBUNTU] Don't show help URL about language choosing

Linking to the Debian homepage might not be the best solution.
Maybe the content should be copied here.

16 years agoMerge commit 'origin/master' into ubuntu-master
Frank Lichtenheld [Tue, 19 Feb 2008 22:10:38 +0000 (23:10 +0100)]
Merge commit 'origin/master' into ubuntu-master

16 years agoUpdated Swedish translation.
Peter Karlsson [Tue, 19 Feb 2008 20:40:03 +0000 (21:40 +0100)]
Updated Swedish translation.

16 years agoUpdates by Yuri Kozlov <kozlov.y@gmail.com>
Nick Toris [Mon, 18 Feb 2008 03:46:46 +0000 (08:46 +0500)]
Updates by Yuri Kozlov <kozlov.y@gmail.com>

16 years agoMerge commit 'origin/master' into ubuntu-master
Frank Lichtenheld [Sun, 17 Feb 2008 21:22:49 +0000 (22:22 +0100)]
Merge commit 'origin/master' into ubuntu-master

Conflicts:

static/index.tmpl

16 years agocreate_index_pages: Open less files simultaniously
Frank Lichtenheld [Sun, 17 Feb 2008 17:40:35 +0000 (18:40 +0100)]
create_index_pages: Open less files simultaniously

The Ubuntu version ran out of allowed open filehandles.
Don't open the files for source and binary packages
simultaniously since that is not needed and thereby
reduce the number by 50%.

16 years agotemplates.pot: Update
Frank Lichtenheld [Sun, 17 Feb 2008 17:38:34 +0000 (18:38 +0100)]
templates.pot: Update

Unfuzzy strings affected by the typo fixed in
3473fbb148f956cde4eedea954e1a7dbae88a0ab

16 years ago[UBUNTU] static/index.tmpl: Add version numbers to release names
Frank Lichtenheld [Wed, 6 Feb 2008 16:55:36 +0000 (17:55 +0100)]
[UBUNTU] static/index.tmpl: Add version numbers to release names

Merged from CVS
(cherry-picked from df06c83004cc5dc74e969a8b2f99beb67d7849ac
and adapted to Debian)

16 years agostatic/index.tmpl: Fix wrong link to newpkg site
Frank Lichtenheld [Sat, 16 Feb 2008 18:18:57 +0000 (19:18 +0100)]
static/index.tmpl: Fix wrong link to newpkg site

16 years agohtml/search.tmpl: Fix a typo in a message.
Noritada Kobayashi [Sun, 17 Feb 2008 04:35:50 +0000 (13:35 +0900)]
html/search.tmpl: Fix a typo in a message.

16 years agotemplates.ja.po: Improve a bit.
Noritada Kobayashi [Sun, 17 Feb 2008 04:26:41 +0000 (13:26 +0900)]
templates.ja.po: Improve a bit.

16 years agotemplates.ja.po: Make translations up-to-date.
Noritada Kobayashi [Sun, 17 Feb 2008 04:24:22 +0000 (13:24 +0900)]
templates.ja.po: Make translations up-to-date.

Current status:
- templates.ja.po: 218t+6o

16 years ago[UBUNTU] Add mailing lists archive urls for lists.ubuntu.com
Frank Lichtenheld [Wed, 6 Feb 2008 16:42:24 +0000 (17:42 +0100)]
[UBUNTU] Add mailing lists archive urls for lists.ubuntu.com
(cherry picked from commit bc89ba053f3a65e2b66add50846f071bf035d101)

16 years agoapache.conf: Enable mod_perl
Frank Lichtenheld [Sat, 16 Feb 2008 00:35:11 +0000 (01:35 +0100)]
apache.conf: Enable mod_perl

I've now moved packages.debian.net to a different (virtual)
server, since using the same apache for both sites causes
"interesting" effects. Enable mod_perl again.

16 years ago[UBUNTU] syncarchive_debports: Remove
Frank Lichtenheld [Sat, 16 Feb 2008 00:55:52 +0000 (01:55 +0100)]
[UBUNTU] syncarchive_debports: Remove

This must have crept in during one of the merges.
We don't need that.

16 years agoMerge branch 'master' into ubuntu-master
Frank Lichtenheld [Sat, 16 Feb 2008 00:55:26 +0000 (01:55 +0100)]
Merge branch 'master' into ubuntu-master

Conflicts:

cron.d/100syncarchive
cron.d/300maintainerdb
templates/config.tmpl
templates/config/mirrors.tmpl

16 years agoPackages::DoIndex: No translated allpackages.*.txt.gz available
Frank Lichtenheld [Fri, 15 Feb 2008 01:04:10 +0000 (02:04 +0100)]
Packages::DoIndex: No translated allpackages.*.txt.gz available

The reimplementation of create_index_pages dropped the translated
allpackages.*.txt.gz, so don't try to serve them.

16 years agoindex_pages: Optimise find call by using -maxdepth
Frank Lichtenheld [Fri, 15 Feb 2008 01:01:26 +0000 (02:01 +0100)]
index_pages: Optimise find call by using -maxdepth

This avoids having to search all of changelogs/

16 years ago300maintainerdb: Don't enable by default
Frank Lichtenheld [Sat, 16 Feb 2008 00:31:38 +0000 (01:31 +0100)]
300maintainerdb: Don't enable by default

Add some warnings here that you don't want to use this
unless the people you will spam with this agreed to it.

Also saves some time on the unofficial sites ;)

16 years agoFixed several typos noted by Jens Seidel, thanks!
Helge Kreutzmann [Fri, 15 Feb 2008 16:31:28 +0000 (17:31 +0100)]
Fixed several typos noted by Jens Seidel, thanks!

16 years agoINSTALL: Improve documentation
Frank Lichtenheld [Thu, 14 Feb 2008 21:56:10 +0000 (22:56 +0100)]
INSTALL: Improve documentation

Based on a patch by Franklin PIAT <fpiat -at- bigfoot com>

16 years agoUpdate to (543t0f139u)
Helge Kreutzmann [Thu, 14 Feb 2008 19:49:31 +0000 (20:49 +0100)]
Update to (543t0f139u)

16 years agoUpdated translation by Yuri Kozlov <kozlov.y@gmail.com>
Nick Toris [Mon, 11 Feb 2008 19:03:23 +0000 (00:03 +0500)]
Updated translation by Yuri Kozlov <kozlov.y@gmail.com>

16 years agoPackages::CommonCode::activate(): Die on error
Frank Lichtenheld [Sat, 9 Feb 2008 19:08:33 +0000 (20:08 +0100)]
Packages::CommonCode::activate(): Die on error

16 years agotrivial_slice: Try to rename the right file
Frank Lichtenheld [Sat, 9 Feb 2008 17:33:58 +0000 (18:33 +0100)]
trivial_slice: Try to rename the right file

Don't try to rename foo.EN.html.new, but foo.en.html.new

16 years agoPackages::Dispatcher: Don't issue bogus 406 errors for index
Frank Lichtenheld [Sat, 9 Feb 2008 17:32:33 +0000 (18:32 +0100)]
Packages::Dispatcher: Don't issue bogus 406 errors for index

This hack really, really needs to be replaced with something more
robust. Anyway...

16 years agotrivial_slice: Use .new as suffix for created files as all other scripts do
Frank Lichtenheld [Sat, 9 Feb 2008 01:40:14 +0000 (02:40 +0100)]
trivial_slice: Use .new as suffix for created files as all other scripts do

Most importantly Packages::CommonCode::active depends on that

16 years agocreate_index_pages: Fix slices output
Frank Lichtenheld [Sat, 9 Feb 2008 01:39:20 +0000 (02:39 +0100)]
create_index_pages: Fix slices output

trivial_slice is *very* picky ;)

16 years ago900index_pages: Make call to trivial_slice more robust
Frank Lichtenheld [Sat, 9 Feb 2008 00:28:22 +0000 (01:28 +0100)]
900index_pages: Make call to trivial_slice more robust

Avoid shell globbing and use absolute paths.

16 years agocreate_index_pages: Avoid needless slices due to unused translations
Frank Lichtenheld [Sat, 9 Feb 2008 00:24:29 +0000 (01:24 +0100)]
create_index_pages: Avoid needless slices due to unused translations

Ignore DDTP translations of languages that have no po translation.
We will not use them here and we might create needless slices
otherwise.

16 years agoUpdate .po and .pot files
Frank Lichtenheld [Fri, 8 Feb 2008 23:39:44 +0000 (00:39 +0100)]
Update .po and .pot files

One additional string now unfortunatly is in both
pdo.pot and templates.pot. I copied existing translations.

16 years agoComplete rewrite of create_index_pages
Frank Lichtenheld [Fri, 8 Feb 2008 00:06:00 +0000 (01:06 +0100)]
Complete rewrite of create_index_pages

The old version was very hard on all of CPU, memory,
and I/O. The new version tries to at least lessen the
burden on memory (and to a lesser extend on CPU), in the
hopes that this will indirectly (by lesser swapping) also
reduce the stress on I/O.

In the old version we first collected all the information
about all packages and then wrote the index files one after
one with TT.

The newer version tries to write all of the index files while
collecting the package information, therefor eliminating the
need to store any information longer than needed. Because the
amount of files we can open simulaniously is limited though,
we can't write all the index files at once. Instead we write
one index files for all languages, and in a second step then
use these files to write one file per language. I tried to
use the "slice" program for that, but it also computes all
the results in memory, while I wanted to have a concurrent
approach here as well.
Since we only use a very limited subset of the features of slice
I wrote a simple replacement that supports the bare minimum of
what we need with the price that we need to be a bit careful
about the format of the slice source files.

I also don't use TT for the package entries anymore since here
as well we only used a very limited set of features and I wanted
to make this script as fast as possible (without having to rewrite
it in C ;). The header and footer still use TT since this part isn't
speed critical and we can reuse the templates we have for the dynamic
pages.

16 years agoSplit the creation of the suite index pages out of create_index_pages
Frank Lichtenheld [Thu, 7 Feb 2008 15:23:33 +0000 (16:23 +0100)]
Split the creation of the suite index pages out of create_index_pages

The whole index page stuff needs some serious tweaking because it just
doesn't scale very well with the growing number of packages and languages.

The creation of the suite index pages is not affected by this however, so
separate these two tasks.

16 years agoarmel is now an official architecture
Frank Lichtenheld [Thu, 7 Feb 2008 13:36:39 +0000 (14:36 +0100)]
armel is now an official architecture

16 years agoDon't hardcode packages.debian.org in sitewidemsg
Frank Lichtenheld [Wed, 6 Feb 2008 21:00:01 +0000 (22:00 +0100)]
Don't hardcode packages.debian.org in sitewidemsg

I use this for the Ubuntu site now, too, so I want to
avoid string differences. Also unfuzzy existing translations.

16 years agoMerge branch 'master' of ssh://source/srv/source.djpig.de/git/packages into ubuntu...
Frank Lichtenheld [Wed, 6 Feb 2008 19:52:42 +0000 (20:52 +0100)]
Merge branch 'master' of ssh://source/srv/source.djpig.de/git/packages into ubuntu-master

16 years agoupdate_po: Output some useful statistics about the .po files
Frank Lichtenheld [Wed, 6 Feb 2008 19:44:27 +0000 (20:44 +0100)]
update_po: Output some useful statistics about the .po files

16 years agoupdate_po: Fix reference to renamed menu.inc -> util.inc
Frank Lichtenheld [Wed, 6 Feb 2008 19:43:31 +0000 (20:43 +0100)]
update_po: Fix reference to renamed menu.inc -> util.inc

16 years ago[UBUNTU] Packages::DoShow: Don't set contents_avail for *-{backports,updates}
Frank Lichtenheld [Wed, 6 Feb 2008 18:00:00 +0000 (19:00 +0100)]
[UBUNTU] Packages::DoShow: Don't set contents_avail for *-{backports,updates}

16 years ago[UBUNTU] about/index.tmpl: Add note about ubuntu-master branch
Frank Lichtenheld [Wed, 6 Feb 2008 17:16:11 +0000 (18:16 +0100)]
[UBUNTU] about/index.tmpl: Add note about ubuntu-master branch

16 years ago[UBUNTU] ubuntu.css: Remove obsolete stuff
Frank Lichtenheld [Wed, 6 Feb 2008 17:12:10 +0000 (18:12 +0100)]
[UBUNTU] ubuntu.css: Remove obsolete stuff

Remove many definitions that I don't actually use,
and fix some bugs I uncovered while doing so.

16 years ago[UBUNTU] apache.conf: Add redirect code from CVS
Frank Lichtenheld [Wed, 6 Feb 2008 17:03:40 +0000 (18:03 +0100)]
[UBUNTU] apache.conf: Add redirect code from CVS

Add the redirect code that maps packages.ubuntu.net
and packages.ubuntulinux.org to packages.ubuntu.com.
Comment it out since otherwise I get problems with
testing the new code on the same server as the old
one.

16 years ago[UBUNTU] static/index.tmpl: Add version numbers to release names
Frank Lichtenheld [Wed, 6 Feb 2008 16:55:36 +0000 (17:55 +0100)]
[UBUNTU] static/index.tmpl: Add version numbers to release names

Merged from CVS

16 years ago[UBUNTU] Add mailing lists archive urls for lists.ubuntu.com
Frank Lichtenheld [Wed, 6 Feb 2008 16:42:24 +0000 (17:42 +0100)]
[UBUNTU] Add mailing lists archive urls for lists.ubuntu.com

16 years agoMerge branch 'master' of ssh://source/srv/source.djpig.de/git/packages into ubuntu...
Frank Lichtenheld [Wed, 6 Feb 2008 16:29:37 +0000 (17:29 +0100)]
Merge branch 'master' of ssh://source/srv/source.djpig.de/git/packages into ubuntu-master

Conflicts:

config.sh.sed.in
cron.d/100syncarchive
cron.d/100syncarchive_amd64
cron.d/100syncarchive_backports
cron.d/100syncarchive_m68k
cron.d/100syncarchive_maintainers
cron.d/100syncarchive_volatile
cron.d/700install_static
static/debian.css
static/index.tmpl
static/packages.css.sed.in
templates/config.tmpl
templates/config/mirrors.tmpl
templates/html/download.tmpl
templates/html/show.tmpl

16 years agoSeparate handling of po translations and DDTP translations
Frank Lichtenheld [Tue, 5 Feb 2008 21:15:59 +0000 (22:15 +0100)]
Separate handling of po translations and DDTP translations

This way we don't need to immediatly fall back to English
if people have more than one preferred language for which
only part of the page content is available.

If e.g. they would have "ca;q=0.9, de;q=0.5, en;q=0.1" in
their Accept-Language header (insert any DDTP-only language
for ca and any PO-available language for de), we can show the
description in Catalan if available, and the po contents in
German.

The code will usually try to fall back to $po_lang if a
description is not available in $ddtp_lang.

Not implemented (yet) is a DDTP language negotiation _after_
we actually know which DDTP translations are available.

The 'lang' query parameter overrides both values and has
only the fallback English (But you shouldn't use it
anyway ;).

16 years agohtml/menu.inc: rename to html/util.inc
Frank Lichtenheld [Tue, 5 Feb 2008 21:10:22 +0000 (22:10 +0100)]
html/menu.inc: rename to html/util.inc

No reason to include yet another include file, so
give this one a more general name.

16 years agoPackages::DoShow: Remove unused parameter 'lang' from pkg_list()
Frank Lichtenheld [Tue, 5 Feb 2008 21:01:56 +0000 (22:01 +0100)]
Packages::DoShow: Remove unused parameter 'lang' from pkg_list()

16 years agoapache.conf: Some more URIs need to be handled dynamically
Frank Lichtenheld [Tue, 5 Feb 2008 19:20:27 +0000 (20:20 +0100)]
apache.conf: Some more URIs need to be handled dynamically

We want to handle <suite>/{perl,python} and <suite>/{perl,python}/
separatly (until I find a good possibility to use different URLs for
those)

16 years agoUpdate to 218t0f0u
Helge Kreutzmann [Mon, 4 Feb 2008 20:51:24 +0000 (21:51 +0100)]
Update to 218t0f0u

16 years agoUpdate .po and .pot files
Frank Lichtenheld [Fri, 1 Feb 2008 03:09:13 +0000 (04:09 +0100)]
Update .po and .pot files

16 years agosyncarchive_installer: Don't assume there are no udebs outside of main
Frank Lichtenheld [Fri, 1 Feb 2008 01:38:05 +0000 (02:38 +0100)]
syncarchive_installer: Don't assume there are no udebs outside of main

16 years agoparse-sources: Merge suffix db generation changes from parse-packages
Frank Lichtenheld [Fri, 1 Feb 2008 01:07:06 +0000 (02:07 +0100)]
parse-sources: Merge suffix db generation changes from parse-packages

16 years agoVarious improvements to the search result comments
Frank Lichtenheld [Fri, 1 Feb 2008 01:03:46 +0000 (02:03 +0100)]
Various improvements to the search result comments

Don't pretend we know how many results have been suppressed,
we really have no idea (that's the whole point of short cutting
the search).

Don't declare we will display results when we wont. We have all
the necessary information so use it.

Add some useful links similar to what is on the search_contents
site.

16 years agoImprove result sampling in case we have too generic keywords
Frank Lichtenheld [Fri, 1 Feb 2008 00:45:41 +0000 (01:45 +0100)]
Improve result sampling in case we have too generic keywords

Instead of either displaying the exact match if we have only
one keyword and nothing otherwise, lets try to give people
a sample of results, on the chance that might still be useful.

Mostly just display the first 100 package names found (i.e.
from suffix entries that had no "too many prefixes" value).
Allow suffix entries with "too many prefixes" value to specifiy
if the empty prefix was contained in the set (that effectivly
avoids a regression in the case "single keyword, exact match
exists").

If in doubt, prefer package names that begin with the first
keyword and only abort if we have more than 100 of those
(The worst case behaviour of this should be very limited
to due the "too many prefixes" constraints).

16 years agoChange romanization of 中文 from Zhongzu to the correct Zhongwen
Karl Fogel [Tue, 22 Jan 2008 21:34:18 +0000 (22:34 +0100)]
Change romanization of 中文 from Zhongzu to the correct Zhongwen

16 years agoSwedish updates.
Peter Karlsson [Tue, 22 Jan 2008 06:29:28 +0000 (07:29 +0100)]
Swedish updates.

Fixed some spelling mistakes.
Updated with new strings.
Make gtranslator happy about file header.

16 years agotemplates.ja.po: Make translations up-to-date.
Noritada Kobayashi [Tue, 22 Jan 2008 05:09:53 +0000 (14:09 +0900)]
templates.ja.po: Make translations up-to-date.

Current status:
- templates.ja.po: 216t+5o

16 years agoUpdate .pot and .po files
Frank Lichtenheld [Mon, 21 Jan 2008 19:52:55 +0000 (20:52 +0100)]
Update .pot and .po files

Also unfuzzy the German translation.

16 years agohtml/search.tmpl: Fix a bug that some strings are not localized.
Noritada Kobayashi [Mon, 21 Jan 2008 11:16:23 +0000 (20:16 +0900)]
html/search.tmpl: Fix a bug that some strings are not localized.

Use format strings instead of inline expansion of variables.

16 years agotemplates.ja.po: Make corrections and improvements.
Noritada Kobayashi [Fri, 18 Jan 2008 05:25:09 +0000 (14:25 +0900)]
templates.ja.po: Make corrections and improvements.

This is a follow-up to 528c717e8ddab4ac3505e455d85969c03786d3bc.

16 years agotemplates.ja.po: Make translations up-to-date.
Noritada Kobayashi [Fri, 18 Jan 2008 05:16:28 +0000 (14:16 +0900)]
templates.ja.po: Make translations up-to-date.

Current status:
- templates.ja.po: 218t+2o

16 years agoUpdate .pot and .po files
Frank Lichtenheld [Fri, 18 Jan 2008 00:07:13 +0000 (01:07 +0100)]
Update .pot and .po files

Also unfuzzy the German translation.

16 years agoFix l10n support for javascript generated text
Frank Lichtenheld [Fri, 18 Jan 2008 00:06:31 +0000 (01:06 +0100)]
Fix l10n support for javascript generated text

The text contained hardcoded English string (which was concealed
by the fact that Javascript was broken anyway and so the text
was never displayed). Now that I fixed the Javascript, fix
the l10n support, too.

16 years agoFix javascript code for long packages list
Frédéric Bothamy [Thu, 17 Jan 2008 23:55:07 +0000 (00:55 +0100)]
Fix javascript code for long packages list

Some quoting got messed up, probably during the l10n changes.

16 years agofix two typos, and unfuzzy some strings while we're at it
Thijs Kinkhorst [Fri, 4 Jan 2008 10:45:47 +0000 (11:45 +0100)]
fix two typos, and unfuzzy some strings while we're at it

16 years agoUpdates by "Yuri Kozlov" <kozlov.y@gmail.com>
Denis V. Sirotkin [Sun, 16 Dec 2007 20:07:28 +0000 (01:07 +0500)]
Updates by "Yuri Kozlov" <kozlov.y@gmail.com>

16 years agotemplates.nl.po: some corrections to previous update and additional translations
Frans Pop [Sun, 16 Dec 2007 18:19:51 +0000 (19:19 +0100)]
templates.nl.po: some corrections to previous update and additional translations

16 years agoUpdate to 527t0f155u
Helge Kreutzmann [Sun, 16 Dec 2007 11:47:55 +0000 (12:47 +0100)]
Update to 527t0f155u

16 years agoComplete translation again
Helge Kreutzmann [Sun, 16 Dec 2007 09:14:55 +0000 (10:14 +0100)]
Complete translation again

16 years agoMove index_pages script to end of cron job
Frank Lichtenheld [Wed, 12 Dec 2007 01:04:01 +0000 (02:04 +0100)]
Move index_pages script to end of cron job

This currently the slowest script

16 years ago100syncarchive_maintainers: Replace a hardcoded ftp.debian.org with $ftpsite
Frank Lichtenheld [Wed, 12 Dec 2007 00:10:14 +0000 (01:10 +0100)]
100syncarchive_maintainers: Replace a hardcoded ftp.debian.org with $ftpsite

16 years agocron.d: Allow central override of the wget options
Frank Lichtenheld [Wed, 12 Dec 2007 00:07:25 +0000 (01:07 +0100)]
cron.d: Allow central override of the wget options

Use this to set tries and timeout to something more reasonable.
Pressed by the ddtp outage.

16 years agoMerge commit 'alioth/master'
Frank Lichtenheld [Tue, 11 Dec 2007 23:16:59 +0000 (00:16 +0100)]
Merge commit 'alioth/master'

16 years agoPackages::Dispatcher: Fix fallback to English for non-po langs
Frank Lichtenheld [Tue, 11 Dec 2007 23:15:15 +0000 (00:15 +0100)]
Packages::Dispatcher: Fix fallback to English for non-po langs

Locale::Maketext tries to do very smart things with
I18N::LangTags::panic_languages. We want to fall back
to "en" always, though, so let it know that.