]>
git.deb.at Git - deb/packages.git/log
Frank Lichtenheld [Wed, 23 Apr 2008 02:42:55 +0000 (04:42 +0200)]
Packages::Template: Always provide a fallback g() function
This will only get used if no catalogue is specified.
Fixes the about/debtags page.
Frank Lichtenheld [Wed, 23 Apr 2008 00:59:30 +0000 (02:59 +0200)]
html/suite_index.tmpl: Fix error in variable name
I really should only use either is_source or source...
TT really should have a strict mode, too...
Frank Lichtenheld [Tue, 22 Apr 2008 20:42:27 +0000 (22:42 +0200)]
050checkinst: Really remove locale checks
Some code was left behind.
Frank Lichtenheld [Wed, 16 Apr 2008 22:36:22 +0000 (00:36 +0200)]
extract_changelogs: Fix broken current links
Happens mostly due to removal of packages from unstable.
Frank Lichtenheld [Wed, 16 Apr 2008 21:47:02 +0000 (23:47 +0200)]
html/download.tmpl: Fix apt sources list hint for *-volatile
Noted by Kevin Price <kp -at- kevin-price de>
Frank Lichtenheld [Wed, 16 Apr 2008 21:44:59 +0000 (23:44 +0200)]
html/head.tmpl: Remove some XHTML that crept in
Frank Lichtenheld [Wed, 16 Apr 2008 20:58:27 +0000 (22:58 +0200)]
Unfuzzy debtags.de.po
Frank Lichtenheld [Wed, 16 Apr 2008 20:54:34 +0000 (22:54 +0200)]
Update .po and .pot files
Frank Lichtenheld [Wed, 16 Apr 2008 20:51:12 +0000 (22:51 +0200)]
html/show.tmpl: Fix several escaping issues
The uri filter in TT 2.14 (i.e. the version in Debian etch) is broken
(or at least unusable). So always use URI::Escape::uri_escape instead.
Escaping the Homepage: field makes no sense since there is no reliable
way to decide what needs to be quoted. The URIs need to be correclty
quoted in the original field already. Use HTML quoting though.
Frank Lichtenheld [Wed, 16 Apr 2008 20:25:57 +0000 (22:25 +0200)]
Merge commit 'alioth/master'
Helge Kreutzmann [Thu, 3 Apr 2008 18:44:31 +0000 (20:44 +0200)]
Fixes noted by Jens Seidel
Helge Kreutzmann [Thu, 3 Apr 2008 17:05:37 +0000 (19:05 +0200)]
Update to (567t,0f,115u)
Simon Paillard [Sun, 23 Mar 2008 09:33:25 +0000 (10:33 +0100)]
pdo.fr.po: 11t, 8f, 14u
templates.fr.po: 163t, 27f, 28u
Simon Paillard [Sun, 23 Mar 2008 09:17:31 +0000 (10:17 +0100)]
Merge branch 'master' of ssh://spaillar-guest@git.debian.org/git/webwml/packages
Simon Paillard [Sun, 23 Mar 2008 09:16:43 +0000 (10:16 +0100)]
templates.fr.po: 160t, 30f, 28u
Helge Kreutzmann [Sun, 16 Mar 2008 21:36:35 +0000 (22:36 +0100)]
Correct errors noticed by Jens Seidel, thanks!
Peter Karlsson [Sun, 16 Mar 2008 12:55:13 +0000 (13:55 +0100)]
Updated pdo.sv.po.
Simon Paillard [Sat, 15 Mar 2008 16:27:16 +0000 (17:27 +0100)]
Merge branch 'master' of ssh://spaillar-guest@git.debian.org/git/webwml/packages
Frank Lichtenheld [Sat, 15 Mar 2008 00:12:35 +0000 (01:12 +0100)]
html/show.tmpl: Some fixes to the Vcs-* handling
Fix broken HTML in sidebar.
Don't require a Vcs-* tag in order for Vcs-Browser to be displayed at the
page bottom.
Frank Lichtenheld [Fri, 14 Mar 2008 23:34:34 +0000 (00:34 +0100)]
html/show.tmpl: Escape maintainer mail address in PTS link
Reported by Ryan Finnie <ryan -at- finnie org>
Simon Paillard [Fri, 14 Mar 2008 22:45:41 +0000 (23:45 +0100)]
merge with recent templates.fr.po
Helge Kreutzmann [Fri, 14 Mar 2008 17:40:06 +0000 (18:40 +0100)]
Update to (557t,0f,125u)
Helge Kreutzmann [Fri, 14 Mar 2008 17:39:30 +0000 (18:39 +0100)]
Unfuzzy
Simon Paillard [Tue, 11 Mar 2008 20:15:03 +0000 (21:15 +0100)]
templates.fr.po: 144t, 42f, 31u
Frans Pop [Mon, 10 Mar 2008 21:35:14 +0000 (22:35 +0100)]
Dutch translation update
Frans Pop [Mon, 10 Mar 2008 21:01:33 +0000 (22:01 +0100)]
Dutch translation update
Noritada Kobayashi [Tue, 4 Mar 2008 09:58:06 +0000 (18:58 +0900)]
pdo.ja.po: Make translations up-to-date.
Current status:
- pdo.ja.po: 33t+5o
Frank Lichtenheld [Mon, 3 Mar 2008 14:12:23 +0000 (15:12 +0100)]
Update pdo.pot and pdo.*.po
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 )
Simon Paillard [Fri, 29 Feb 2008 18:16:55 +0000 (19:16 +0100)]
Some defuzzing
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
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
Frank Lichtenheld [Thu, 28 Feb 2008 15:34:06 +0000 (16:34 +0100)]
config.sh: Add armel to lenny
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.
Nick Toris [Sat, 23 Feb 2008 21:30:39 +0000 (02:30 +0500)]
Udpated translation by Yuri Kozlov <kozlov.y@gmail.com>
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>
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.
Frank Lichtenheld [Thu, 21 Feb 2008 13:23:43 +0000 (14:23 +0100)]
Packages::Page: Don't support the old Url field anymore
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.
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...
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.
Peter Karlsson [Tue, 19 Feb 2008 20:40:03 +0000 (21:40 +0100)]
Updated Swedish translation.
Nick Toris [Mon, 18 Feb 2008 03:46:46 +0000 (08:46 +0500)]
Updates by Yuri Kozlov <kozlov.y@gmail.com>
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%.
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
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)
Frank Lichtenheld [Sat, 16 Feb 2008 18:18:57 +0000 (19:18 +0100)]
static/index.tmpl: Fix wrong link to newpkg site
Noritada Kobayashi [Sun, 17 Feb 2008 04:35:50 +0000 (13:35 +0900)]
html/search.tmpl: Fix a typo in a message.
Noritada Kobayashi [Sun, 17 Feb 2008 04:26:41 +0000 (13:26 +0900)]
templates.ja.po: Improve a bit.
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
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 )
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.
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/
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 ;)
Helge Kreutzmann [Fri, 15 Feb 2008 16:31:28 +0000 (17:31 +0100)]
Fixed several typos noted by Jens Seidel, thanks!
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>
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: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).
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: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
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.