]>
git.deb.at Git - deb/packages.git/log
Frank Lichtenheld [Mon, 3 Mar 2008 14:08:01 +0000 (15:08 +0100)]
Merge branch 'master' into ubuntu-master
Conflicts:
config.sh.sed.in
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 )
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.
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.
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 [Mon, 25 Feb 2008 13:04:00 +0000 (14:04 +0100)]
[UBUNTU] Remove sitewidemsg about new codebase
One week should be enough.
Frank Lichtenheld [Mon, 25 Feb 2008 00:55:42 +0000 (01:55 +0100)]
Merge branch 'master' into ubuntu-master
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 20:09:44 +0000 (21:09 +0100)]
[UBUNTU] Add note about today's downtime
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/
Frank Lichtenheld [Thu, 21 Feb 2008 14:39:49 +0000 (15:39 +0100)]
[UBUNTU] Typo fix
Frank Lichtenheld [Wed, 20 Feb 2008 02:29:54 +0000 (03:29 +0100)]
[UBUNTU] Add verify tag for Google Webmaster Tools
Frank Lichtenheld [Thu, 21 Feb 2008 13:51:40 +0000 (14:51 +0100)]
Merge branch 'master' into ubuntu-master
Conflicts:
templates/config.tmpl
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.
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.
Frank Lichtenheld [Tue, 19 Feb 2008 23:15:30 +0000 (00:15 +0100)]
[UBUNTU] This site is packages.ubuntu.com now
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.
Frank Lichtenheld [Tue, 19 Feb 2008 22:10:38 +0000 (23:10 +0100)]
Merge commit 'origin/master' into ubuntu-master
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 21:22:49 +0000 (22:22 +0100)]
Merge commit 'origin/master' into ubuntu-master
Conflicts:
static/index.tmpl
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 [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.
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.
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
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:52:42 +0000 (20:52 +0100)]
Merge branch 'master' of ssh://source/srv/source.djpig.de/git/packages into ubuntu-master
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 [Wed, 6 Feb 2008 18:00:00 +0000 (19:00 +0100)]
[UBUNTU] Packages::DoShow: Don't set contents_avail for *-{backports,updates}
Frank Lichtenheld [Wed, 6 Feb 2008 17:16:11 +0000 (18:16 +0100)]
[UBUNTU] about/index.tmpl: Add note about ubuntu-master branch
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.
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.
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
Frank Lichtenheld [Wed, 6 Feb 2008 16:42:24 +0000 (17:42 +0100)]
[UBUNTU] Add mailing lists archive urls for lists.ubuntu.com
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
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.
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.