]>
git.deb.at Git - deb/packages.git/log
Frank Lichtenheld [Thu, 14 Feb 2008 19:58:55 +0000 (20:58 +0100)]
Merge branch 'master' into debian-master
Helge Kreutzmann [Thu, 14 Feb 2008 19:49:31 +0000 (20:49 +0100)]
Update to (543t0f139u)
Nick Toris [Mon, 11 Feb 2008 19:03:23 +0000 (00:03 +0500)]
Updated translation by Yuri Kozlov <kozlov.y@gmail.com>
Frank Lichtenheld [Sat, 9 Feb 2008 19:43:25 +0000 (20:43 +0100)]
Merge commit 'origin/master' into debian-master
Conflicts:
templates/config.tmpl
Frank Lichtenheld [Sat, 9 Feb 2008 19:08:33 +0000 (20:08 +0100)]
Packages::CommonCode::activate(): Die on error
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
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...
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
Frank Lichtenheld [Sat, 9 Feb 2008 01:39:20 +0000 (02:39 +0100)]
create_index_pages: Fix slices output
trivial_slice is *very* picky ;)
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.
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.
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.
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.
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.
Frank Lichtenheld [Thu, 7 Feb 2008 13:36:39 +0000 (14:36 +0100)]
armel is now an official architecture
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.
Frank Lichtenheld [Wed, 6 Feb 2008 19:44:27 +0000 (20:44 +0100)]
update_po: Output some useful statistics about the .po files
Frank Lichtenheld [Wed, 6 Feb 2008 19:43:31 +0000 (20:43 +0100)]
update_po: Fix reference to renamed menu.inc -> util.inc
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 ;).
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.
Frank Lichtenheld [Tue, 5 Feb 2008 21:01:56 +0000 (22:01 +0100)]
Packages::DoShow: Remove unused parameter 'lang' from pkg_list()
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)
Helge Kreutzmann [Mon, 4 Feb 2008 20:51:24 +0000 (21:51 +0100)]
Update to 218t0f0u
Frank Lichtenheld [Fri, 1 Feb 2008 03:09:13 +0000 (04:09 +0100)]
Update .po and .pot files
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
Frank Lichtenheld [Fri, 1 Feb 2008 01:07:06 +0000 (02:07 +0100)]
parse-sources: Merge suffix db generation changes from parse-packages
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.
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).
Frank Lichtenheld [Wed, 23 Jan 2008 20:21:37 +0000 (20:21 +0000)]
Merge commit 'origin/master' into debian-master
Karl Fogel [Tue, 22 Jan 2008 21:34:18 +0000 (22:34 +0100)]
Change romanization of 中文 from Zhongzu to the correct Zhongwen
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.
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
Frank Lichtenheld [Mon, 21 Jan 2008 19:54:30 +0000 (20:54 +0100)]
Merge commit 'origin/master' into debian-master
Frank Lichtenheld [Mon, 21 Jan 2008 19:52:55 +0000 (20:52 +0100)]
Update .pot and .po files
Also unfuzzy the German translation.
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.
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 .
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
Frank Lichtenheld [Fri, 18 Jan 2008 00:07:13 +0000 (01:07 +0100)]
Update .pot and .po files
Also unfuzzy the German translation.
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.
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.
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
Denis V. Sirotkin [Sun, 16 Dec 2007 20:07:28 +0000 (01:07 +0500)]
Updates by "Yuri Kozlov" <kozlov.y@gmail.com>
Frans Pop [Sun, 16 Dec 2007 18:19:51 +0000 (19:19 +0100)]
templates.nl.po: some corrections to previous update and additional translations
Helge Kreutzmann [Sun, 16 Dec 2007 11:47:55 +0000 (12:47 +0100)]
Update to 527t0f155u
Helge Kreutzmann [Sun, 16 Dec 2007 09:14:55 +0000 (10:14 +0100)]
Complete translation again
Joerg Jaspert [Fri, 14 Dec 2007 22:10:16 +0000 (22:10 +0000)]
Configure CBand user
Using mod_cband now to limit requests per user which proves
effective (so far) to keep the search robots in line without
having to keep them out completly.
Frank Lichtenheld [Wed, 12 Dec 2007 01:17:26 +0000 (01:17 +0000)]
Remove email override for blt8.0
Found out this (as the aboot entry) were removed
in the old file long ago, but this change was never
committed into CVS.
Frank Lichtenheld [Wed, 12 Dec 2007 01:13:31 +0000 (01:13 +0000)]
Merge commit 'origin/master' into debian-master
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
Frank Lichtenheld [Wed, 12 Dec 2007 00:10:14 +0000 (01:10 +0100)]
100syncarchive_maintainers: Replace a hardcoded ftp.debian.org with $ftpsite
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.
Frank Lichtenheld [Tue, 11 Dec 2007 23:16:59 +0000 (00:16 +0100)]
Merge commit 'alioth/master'
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.
Noritada Kobayashi [Tue, 11 Dec 2007 11:14:36 +0000 (20:14 +0900)]
debtags.ja.po, templates.ja.po: Make translations up-to-date.
Current status:
- debtags.ja.po: 588t+94u+5o
- templates.ja.po: 216t+2o
Frank Lichtenheld [Tue, 11 Dec 2007 00:23:45 +0000 (01:23 +0100)]
Merge branch 'master' into debian-master
Frank Lichtenheld [Tue, 11 Dec 2007 00:23:37 +0000 (01:23 +0100)]
sections.sv.po: Fix non-UTF8 char
Frank Lichtenheld [Tue, 11 Dec 2007 00:16:51 +0000 (01:16 +0100)]
setup-site.conf: Adapt for official site
Frank Lichtenheld [Tue, 11 Dec 2007 00:15:52 +0000 (01:15 +0100)]
Merge commit 'alioth/master' into debian-master
Frans Pop [Mon, 10 Dec 2007 22:12:11 +0000 (23:12 +0100)]
Dutch translation update
debtags: start, only easy translations
other: partial update
Frank Lichtenheld [Mon, 10 Dec 2007 20:41:07 +0000 (21:41 +0100)]
Packages::I18N::Locale: Simplify format string test regex
We only use %s and %u now, no need to test for %f anymore
Frank Lichtenheld [Mon, 10 Dec 2007 20:33:01 +0000 (21:33 +0100)]
Update debtags and templates .pot and .po files
Frank Lichtenheld [Mon, 10 Dec 2007 20:26:35 +0000 (21:26 +0100)]
Packages::DoDownload: Fix a 'uninitialized value' warning
Also issue the debug message before actually overwriting the
value we want to show.
Frank Lichtenheld [Mon, 10 Dec 2007 20:19:57 +0000 (21:19 +0100)]
Fix some format string errors in the Swedish translation
Frank Lichtenheld [Mon, 10 Dec 2007 18:44:13 +0000 (19:44 +0100)]
Packages::I18N::Locale: Load .po files on module load
Hardcode the po directory path with setup-site.
The performance gain is worth the added uglyness.
Frank Lichtenheld [Mon, 10 Dec 2007 18:37:46 +0000 (19:37 +0100)]
setup-site: Various improvements
Allow reading the variables from a config file
./setup-site.conf so that one doesn't have to
specify them each time.
Be less chatty per default but add -v option the
get the old behaviour.
Warn about too many arguments.
Frank Lichtenheld [Mon, 10 Dec 2007 18:34:26 +0000 (19:34 +0100)]
crontab: Add missing newline at EOF
Frank Lichtenheld [Mon, 10 Dec 2007 18:16:51 +0000 (19:16 +0100)]
html/show.tmpl: If maintainer is obviously a list, offer link to lists archive
Currently this works for lists.debian.org and lists.alioth.debian.org,
but could easily be extended for others.
Helge Kreutzmann [Mon, 10 Dec 2007 17:00:51 +0000 (18:00 +0100)]
Update to (495t1f185u)
Frank Lichtenheld [Mon, 10 Dec 2007 01:13:57 +0000 (01:13 +0000)]
Remove aboot email override
Requested by Steve Langasek on IRC
Frank Lichtenheld [Mon, 10 Dec 2007 00:54:21 +0000 (01:54 +0100)]
Merge commit 'alioth/master' into debian-master
Frank Lichtenheld [Mon, 10 Dec 2007 00:04:04 +0000 (01:04 +0100)]
Packages::I18N::Languages: Add a English name for km-kh
So that the translations are used. If someone wants to
contribute a native name, patches welcome.
Frank Lichtenheld [Sun, 9 Dec 2007 23:51:07 +0000 (00:51 +0100)]
Packages::DoShow: Fix a "uninitialized value" warning
$desc_md5 might be undefined if we handle a virtual package.
Frank Lichtenheld [Sun, 9 Dec 2007 23:38:06 +0000 (00:38 +0100)]
Update debtags.pot and .po files
Guillem Jover [Fri, 7 Dec 2007 03:30:31 +0000 (05:30 +0200)]
Switch from gnuab.org to debian-ports.org
Frank Lichtenheld [Sun, 9 Dec 2007 17:34:34 +0000 (18:34 +0100)]
Packages::Dispatcher: Match archives after architectures
For the sake of amd64 *sigh*
Frank Lichtenheld [Sun, 9 Dec 2007 18:26:46 +0000 (19:26 +0100)]
Merge commit 'alioth/master' into debian-master
Conflicts:
config.sh.sed.in
debian/control
lib/Packages/Dispatcher.pm
Helge Kreutzmann [Sun, 9 Dec 2007 18:21:03 +0000 (19:21 +0100)]
Merge branch 'master' of ssh://kreutzm-guest@git.debian.org/git/webwml/packages
Helge Kreutzmann [Sun, 9 Dec 2007 18:20:41 +0000 (19:20 +0100)]
debtags.de.po 479t0f197u
Frank Lichtenheld [Sun, 9 Dec 2007 17:28:27 +0000 (18:28 +0100)]
parse-contents: Don't use gnuab for all symlink
Otherwise the filelists for non-free Arch: all packages
are missing.
Frank Lichtenheld [Wed, 5 Dec 2007 23:13:01 +0000 (00:13 +0100)]
parse-contents: Code clean-up
use English
use Packages::CommonCode
whitespace clean-up and some other style fixes
Frank Lichtenheld [Sun, 9 Dec 2007 17:24:07 +0000 (18:24 +0100)]
Merge commit 'alioth/master'
Frank Lichtenheld [Sun, 9 Dec 2007 17:18:03 +0000 (18:18 +0100)]
Handle broken Homepage fields more gracefully
They exist, so handle them...
djpig [Thu, 29 Nov 2007 17:23:32 +0000 (18:23 +0100)]
html/show.tmpl: Fix download URLs if arch was already specified
Reported by James Vega on IRC.
(cherry picked from commit
caf2204c5d9b7aa274a36720baec3e2384515e04 )
Noritada Kobayashi [Sun, 2 Dec 2007 13:30:51 +0000 (22:30 +0900)]
debtags.ja.po: Translate facets "biology" and "hardware".
Current status of debtags.ja.po: 585t+91u
djpig [Thu, 29 Nov 2007 17:27:23 +0000 (18:27 +0100)]
config.sh: disable local archive
packages.debian.net is now on a host without one and disabling
it might be the better default anyway.
djpig [Thu, 29 Nov 2007 17:23:32 +0000 (18:23 +0100)]
html/show.tmpl: Fix download URLs if arch was already specified
Reported by James Vega on IRC.
Noritada Kobayashi [Tue, 27 Nov 2007 17:20:52 +0000 (02:20 +0900)]
debtags.ja.po: Translate facets "accessibility" and "devel".
Current status of debtags.ja.po: 546t+130u
Frank Lichtenheld [Tue, 27 Nov 2007 08:54:42 +0000 (09:54 +0100)]
120synctrans: Search for translations for every suite
Since there are now translations available for etch and
lenny as well, just try every suite.
Frank Lichtenheld [Mon, 26 Nov 2007 22:33:06 +0000 (23:33 +0100)]
config.sh: Enable Russian translation
Also add debtags.ru.po stub
Denis V. Sirotkin [Mon, 26 Nov 2007 18:17:16 +0000 (23:17 +0500)]
Russian translations by Yuri Kozlov <kozlov.y@gmail.com>
Noritada Kobayashi [Mon, 26 Nov 2007 11:45:37 +0000 (20:45 +0900)]
Merge branch 'master' of git://git.debian.org/git/webwml/packages
Noritada Kobayashi [Mon, 26 Nov 2007 11:44:18 +0000 (20:44 +0900)]
Search.pm: Avoid printing empty items in the similar packages list.
Consider conditions where the number of similar packages are less than
11, avoiding printing "<li><a href="/"></a></li>" in the similar
packages list.
Jordà Polo [Mon, 26 Nov 2007 11:20:26 +0000 (12:20 +0100)]
packages.css: Avoid uneccessary scrollbar
remove width: 100% from #pnavbar, it causes the bar to be
slightly larger than the width of the window in most browsers,
causing them to display a uneccessary scrollbar.
Frank Lichtenheld [Mon, 26 Nov 2007 11:10:58 +0000 (12:10 +0100)]
html/head.tmpl: Fix rev="made" link
Since this is a email address, we should prefix it with
mailto:, otherwise some clients (i.e. search bots) will try
to use it as a relative URL.
Noritada Kobayashi [Mon, 26 Nov 2007 10:34:55 +0000 (19:34 +0900)]
templates.fi.po, templates.zh-cn.po: Remove superfluous "$s".
Locale::Maketext seems to use only "%1" for reordering format
specifiers unlike Locale::Gettext which uses such as "%1$s".
Tommi Vainikainen [Mon, 26 Nov 2007 06:11:55 +0000 (08:11 +0200)]
Updated Finnish translations
Peter Karlsson [Sun, 25 Nov 2007 16:14:34 +0000 (17:14 +0100)]
Merge branch 'master' of ssh://git.debian.org/git/webwml/packages
Peter Karlsson [Sun, 25 Nov 2007 16:13:53 +0000 (17:13 +0100)]
Fixed spelling.
Frank Lichtenheld [Sun, 25 Nov 2007 13:15:52 +0000 (14:15 +0100)]
Packages::Dispatcher: Allow '-' in lang parameters
Frank Lichtenheld [Sun, 25 Nov 2007 13:11:09 +0000 (14:11 +0100)]
Merge commit 'alioth/master'