]>
git.deb.at Git - deb/packages.git/log
Frank Lichtenheld [Sun, 21 Oct 2007 02:03:13 +0000 (04:03 +0200)]
[UBUNTU] ubuntu.css: More layout fixes
remove margin-top of dt to compactify display
Frank Lichtenheld [Sun, 21 Oct 2007 02:01:23 +0000 (04:01 +0200)]
[UBUNTU] html/show.tmpl: Fix some of the links
Fix the bug reports link to point to launchpad.
Remove the PTS and DDPO links since they are Debian specific
and I have no idea what the Ubuntu alternatives would be.
Frank Lichtenheld [Sun, 21 Oct 2007 01:48:56 +0000 (03:48 +0200)]
[UBUNTU] Import index page content from old site
We need a somewhat dirty hack here: since we don't use
gettext and can't define a g() function from Perl we
define it in a PERL block in gettext_stub.tmpl.
Frank Lichtenheld [Sun, 21 Oct 2007 00:51:20 +0000 (02:51 +0200)]
[UBUNTU] Add hardy and make gutsy default
Frank Lichtenheld [Sun, 21 Oct 2007 00:50:30 +0000 (02:50 +0200)]
[UBUNTU] debian.css: Restore some needed classes
I was too eager when removing content. The card classes
are still needed (for download.tmpl and suite_index.tmpl)
Frank Lichtenheld [Sun, 21 Oct 2007 00:14:40 +0000 (02:14 +0200)]
[UBUNTU] {ubuntu,packages}.css: Some more layout adjustments
Essentially use more white as background to increase readbility.
Also remove the border-bottom of dt since that just makes the pages
louder.
Frank Lichtenheld [Sat, 20 Oct 2007 23:45:19 +0000 (01:45 +0200)]
Merge branch 'master' of ssh://source/srv/source.djpig.de/git/packages into ubuntu-master
Conflicts:
cron.d/600prepare_newpkg
templates/config.tmpl
templates/html/foot.tmpl
templates/html/head.tmpl
Frank Lichtenheld [Fri, 19 Oct 2007 21:32:18 +0000 (23:32 +0200)]
Rework newpkg stuff
Create lists for all suites, not just sid (this also avoids
having to hardcode the suite name, which is nicer for the
Ubuntu archive).
Handle packages correctly that get added and immediatly deleted
or deleted and immediatly readded. Not that I would have some
examples for that but it might happen.
Frank Lichtenheld [Sat, 20 Oct 2007 21:30:35 +0000 (23:30 +0200)]
Update German translation
Frank Lichtenheld [Sat, 20 Oct 2007 21:04:33 +0000 (23:04 +0200)]
Update templates.{po,*.po}
Frank Lichtenheld [Sat, 20 Oct 2007 21:00:06 +0000 (23:00 +0200)]
templates: Fix translation of multiline strings
TT doesn't care about adding random whitespace in multiline
strings. This breaks gettext of course.
Reported by Kobayashi Noritada <nori1 -at- dolphin c u-tokyo ac jp>
Frank Lichtenheld [Sat, 20 Oct 2007 20:58:24 +0000 (22:58 +0200)]
html/{search,show}.tmpl: Fix string translations
Forgot to account for a conditional 'also' added to some
"provided by" strings.
Reported by Kobayashi Noritada <nori1 -at- dolphin c u-tokyo ac jp>
Frank Lichtenheld [Sat, 20 Oct 2007 20:55:12 +0000 (22:55 +0200)]
html/foot.tmpl: Fix language links for search pages
We really need to use make_search_url there. We should
use make_url for all other pages but we have currently no
variable to hold the needed information, yet.
Frank Lichtenheld [Sat, 20 Oct 2007 19:56:04 +0000 (21:56 +0200)]
Update all .po and .pot files
More changes than I planned ;)
Frank Lichtenheld [Sat, 20 Oct 2007 19:46:12 +0000 (21:46 +0200)]
rss/newpkg.tmpl: Sync description with HTML templates
To make it easier to translate (strings are now identical except
for the HTML markup).
Frank Lichtenheld [Sat, 20 Oct 2007 19:45:06 +0000 (21:45 +0200)]
Remove some unneeded includes
Some copy&paste leftovers probably.
Frank Lichtenheld [Sat, 20 Oct 2007 19:43:33 +0000 (21:43 +0200)]
Packages::Template: Make one error message internal
If initialisation of the TT engine fails, near to nothing
has a chance to work, so no need to try to convey this to
the user and no need to translate this string.
Frank Lichtenheld [Sat, 20 Oct 2007 19:42:05 +0000 (21:42 +0200)]
Packages::DoIndex: Fix typo in error message
s/suite/subsection/
Frank Lichtenheld [Sat, 20 Oct 2007 19:24:08 +0000 (21:24 +0200)]
500update_mo: Only update .po and .pot files if needed
Don't create unneccessary diffs.
Frank Lichtenheld [Sat, 20 Oct 2007 17:16:23 +0000 (19:16 +0200)]
Always show polangs in footer
Since we have now working l10n support, we should at least
offer all polangs as alternatives. This is not fully ideal
since for some languages we only have translations for a
few templates, but everything else is probably too complicated.
Frank Lichtenheld [Sat, 20 Oct 2007 17:12:14 +0000 (19:12 +0200)]
Packages::Search: ignore empty keywords after stemming
Stemming can output empty strings, e.g. for numbers.
Ignore these.
Reported by Cyril Jaquier <cyril jaquier -at- jaqpot net>
Noritada Kobayashi [Sat, 20 Oct 2007 18:53:20 +0000 (03:53 +0900)]
DoShow.pm, html/search.tmpl: Improve msgids that were hard to localize.
Noritada Kobayashi [Sat, 20 Oct 2007 17:58:11 +0000 (02:58 +0900)]
Update Japanese po files.
Current status:
- langs.ja.po: 37t+49o
- pdo.ja.po: 22t+11u
- sections.ja.po: 72t
- templates.ja.po: 203t+1u
Noritada Kobayashi [Sat, 20 Oct 2007 17:12:04 +0000 (02:12 +0900)]
Fix a mistake in templates.ja.po.
When some format specifiers are reordered in a msgstr, it would be
better to specify ordering for all format specifiers in that msgstr to
avoid making mistakes.
Frank Lichtenheld [Fri, 19 Oct 2007 22:32:31 +0000 (00:32 +0200)]
html/show.tmpl: Mark some more translatable string
Frank Lichtenheld [Fri, 19 Oct 2007 22:15:37 +0000 (00:15 +0200)]
Updates and corrections to the German translation
Frank Lichtenheld [Fri, 19 Oct 2007 21:46:10 +0000 (23:46 +0200)]
Update all .po and .pot files
Also remove old translations from pdo.de.po
There is no real chance of them getting back
(since they all moved to templates)
Frank Lichtenheld [Fri, 19 Oct 2007 21:41:39 +0000 (23:41 +0200)]
html/show.tmpl: Translate a missing string
"Download $pkg" was not marked as translatable.
(Found while testing the Japanese translation)
Frank Lichtenheld [Fri, 19 Oct 2007 21:38:59 +0000 (23:38 +0200)]
config.sh: Add Japanese to polangs
Noritada Kobayashi [Fri, 19 Oct 2007 19:38:01 +0000 (04:38 +0900)]
Add Japanese po files.
Current status:
- langs.ja.po: 37t+49o
- pdo.ja.po: 3t+30u
- sections.ja.po: 22t+50u
- templates.ja.po: 202t+1u
Noritada Kobayashi [Fri, 19 Oct 2007 12:22:17 +0000 (21:22 +0900)]
Merge branch 'master' of git://git.debian.org/git/webwml/packages
Noritada Kobayashi [Fri, 19 Oct 2007 12:18:10 +0000 (21:18 +0900)]
Fix a typo in a template: "$filename.file" -> "filename.file".
Frank Lichtenheld [Thu, 18 Oct 2007 21:00:07 +0000 (23:00 +0200)]
Actually use langs.*.po
Add two missing bindtextdomain calls so that
gettext can actually find the translations from
the langs domain.
Frank Lichtenheld [Thu, 18 Oct 2007 20:53:45 +0000 (22:53 +0200)]
Add Hungarian translation (sections+langs)
sections.hu.po by SZERVĂC Attila <sas -at- 321 hu>
langs.hu.po from webwml/
Frank Lichtenheld [Thu, 18 Oct 2007 20:24:00 +0000 (22:24 +0200)]
500update_mo: Hardcode list of gettext files
Random crap in my working copy shouldn't influence the
translations.
Frank Lichtenheld [Thu, 18 Oct 2007 20:10:16 +0000 (22:10 +0200)]
sections.*.po: Remove old non-US translations
These strings will not come back anytime soon, so no need to
bloat the files and sometimes the diffs with that stuff.
Frank Lichtenheld [Thu, 18 Oct 2007 20:04:00 +0000 (22:04 +0200)]
Merge commit 'alioth/master'
Tommi Vainikainen [Thu, 18 Oct 2007 19:08:26 +0000 (22:08 +0300)]
Updated Finnish translation
Frank Lichtenheld [Wed, 17 Oct 2007 22:34:59 +0000 (00:34 +0200)]
050checkinst: Actually include config.sh
Otherwise trying to send email to $admin_email which
is defined there proves to be difficult.
Frank Lichtenheld [Wed, 17 Oct 2007 21:34:09 +0000 (23:34 +0200)]
rss/newpkg.tmpl: HTML escape package description
Reported by Andreas Juch <andreas.juch -at- tele2 at>
Frank Lichtenheld [Wed, 17 Oct 2007 21:28:43 +0000 (23:28 +0200)]
Parse::DebianChangelog: update to 1.1.1
No real (for us) useful changes. But lets not diverge too much.
Frank Lichtenheld [Sun, 14 Oct 2007 21:59:23 +0000 (23:59 +0200)]
show.tmpl: Fix template syntax
Introduced by the gettext changes.
Noticed by Simon Paillard
Frank Lichtenheld [Sun, 14 Oct 2007 01:26:02 +0000 (03:26 +0200)]
Update all .po and .pot files
Much cruft left in the .po files, but it is probably better
if the translators clean that up.
Frank Lichtenheld [Sun, 14 Oct 2007 01:20:10 +0000 (03:20 +0200)]
Merge commit 'alioth/master'
Frank Lichtenheld [Sun, 14 Oct 2007 01:09:30 +0000 (03:09 +0200)]
Make all remaining templates translatable
Frank Lichtenheld [Sun, 14 Oct 2007 01:08:22 +0000 (03:08 +0200)]
Move common functions for template use to Packages::Template
Previously they were duplicated in every caller which was
very error prone.
Frank Lichtenheld [Sat, 13 Oct 2007 23:42:27 +0000 (01:42 +0200)]
ttxgettext: Handle UTF-8 input
We need this e.g. for non-ASCII chars in the txt templates.
For HTML it should be easier to use entities for that.
Frank Lichtenheld [Sat, 13 Oct 2007 23:30:17 +0000 (01:30 +0200)]
Make all index pages translatable
Frank Lichtenheld [Sat, 13 Oct 2007 23:24:49 +0000 (01:24 +0200)]
Packages::Template: Add target parameter to page method
This makes it easier to use this in create_index_pages since
we can save all the filehandle handling.
Frank Lichtenheld [Sat, 13 Oct 2007 22:13:26 +0000 (00:13 +0200)]
Make HTML shared templates translatable
Frank Lichtenheld [Sat, 13 Oct 2007 22:10:23 +0000 (00:10 +0200)]
Make config templates translatable
While I'm on it, also remove some Debian hardcoding where possible.
Frank Lichtenheld [Sat, 13 Oct 2007 21:58:55 +0000 (23:58 +0200)]
Add L10N support for Template Toolkit output
These go to a new templates domain, to not have to mix
xgettext and ttxgettext input for the same .pot file.
Frank Lichtenheld [Sat, 13 Oct 2007 21:54:53 +0000 (23:54 +0200)]
ttxgettext: copy wmlxgettext.pl from webwml/
Tests have shown that gettext's xgettext doesn't cope well with
the Template Toolkit syntax. Use the xgettext replacement from
the Debian website as a template for a own program.
Frank Lichtenheld [Sat, 13 Oct 2007 15:38:39 +0000 (17:38 +0200)]
create_index_pages: Fix charset
charset was set by get_locale, which is obviously
bogus.
Reported by Tommi Vainikainen <thv -at- iki fi>
Frank Lichtenheld [Sat, 13 Oct 2007 15:25:08 +0000 (17:25 +0200)]
apache.conf: All pages are sent with charset UTF-8 nowadays
Tommi Vainikainen [Fri, 12 Oct 2007 14:50:23 +0000 (17:50 +0300)]
Update Finnish translation
Frank Lichtenheld [Fri, 12 Oct 2007 01:54:57 +0000 (03:54 +0200)]
Merge branch 'master' of ssh://source/srv/source.djpig.de/git/packages
Frank Lichtenheld [Fri, 12 Oct 2007 01:12:37 +0000 (03:12 +0200)]
README: Add
Gives some terse information about what code does what.
Still greatly expandable.
Frank Lichtenheld [Mon, 8 Oct 2007 02:23:45 +0000 (04:23 +0200)]
parse-contents: Update progress approximation
Make them at least partly match reality...
Frank Lichtenheld [Mon, 8 Oct 2007 02:22:24 +0000 (04:22 +0200)]
sections.*.po: Update
Frank Lichtenheld [Mon, 8 Oct 2007 01:37:54 +0000 (03:37 +0200)]
parse-contents: Fix display of progress
Files without header did confuse the line numbers
Frank Lichtenheld [Mon, 8 Oct 2007 00:17:44 +0000 (02:17 +0200)]
Packages::Dispatcher: Fix some formatting issues
While Perl has no problems with keywords as hash keys,
the emacs perl mode has. Quote them and fix some whitespace
oddities that were caused by this issue.
Frank Lichtenheld [Sun, 7 Oct 2007 20:18:36 +0000 (22:18 +0200)]
Don't try to output html in error/debug messages
Frank Lichtenheld [Sun, 7 Oct 2007 20:15:12 +0000 (22:15 +0200)]
packages-site.css: Remove some remaining occourences of (old)stable
Frank Lichtenheld [Sun, 7 Oct 2007 20:14:00 +0000 (22:14 +0200)]
Packages::CGI: Remove support for msgs and notes
Unused code.
Frank Lichtenheld [Sun, 7 Oct 2007 15:58:33 +0000 (17:58 +0200)]
contents search: Give result in correct case
While we do the searches case insensitive our file systems are not
so the results should reflect the correct filename.
Noticed by Christoph Berg <myon -at- debian org>
Reported as Debian Bug#445628
Frank Lichtenheld [Sun, 7 Oct 2007 15:52:49 +0000 (17:52 +0200)]
050checkinst: replace subversion with git-core
D'oh!
Frank Lichtenheld [Tue, 18 Sep 2007 21:11:57 +0000 (23:11 +0200)]
html/messages.tmpl: Fix XSS vulneralibility
Noted by Moritz Naumann <security -at- moritz-naumann com>
Since error messages can contain user content, escape them
for display.
Frank Lichtenheld [Tue, 18 Sep 2007 18:46:31 +0000 (20:46 +0200)]
langs.de.po/sections.de.po: Update
Also convert files to UTF-8
Frank Lichtenheld [Tue, 18 Sep 2007 18:45:11 +0000 (20:45 +0200)]
Packages::I18N::LanguageNames: Misc. fixes
- Use names for variants of Chinese from webwml
- Turns out xgettext doesn't like tr as hash key
(probably confuses it with tr operator), so quote
it
Frank Lichtenheld [Tue, 18 Sep 2007 17:03:27 +0000 (19:03 +0200)]
Packages::Sections: Add translations section
While this is only used by Ubuntu atm, it is still useful
to have in the master branch to not have to deal with different
sections.pot files on the different branches.
Frank Lichtenheld [Tue, 18 Sep 2007 16:46:47 +0000 (18:46 +0200)]
sections.pot: Update for non-US support removal
Frank Lichtenheld [Tue, 18 Sep 2007 16:44:58 +0000 (18:44 +0200)]
Packages::I18N::LanguageNames: Sync with Languages.pm
Frank Lichtenheld [Tue, 18 Sep 2007 16:28:27 +0000 (18:28 +0200)]
Packages::I18N::Languages: Sync with webwml/english/template/debian/languages.wml
Includes the following changes:
revision 1.141
date: 2007-04-22 00:37:25 +0200; author: jseidel; state: Exp; lines: +3 -0
Added Persian, thanks Abbas Esmaeeli Some'eh <abbas@gnu.org>
----------------------------
revision 1.140
date: 2005-08-13 00:36:22 +0200; author: djpig; state: Exp; lines: +2 -1
Add native name of Armenian and latin transliteration
----------------------------
revision 1.139
date: 2005-08-12 15:40:53 +0200; author: djpig; state: Exp; lines: +1 -0
Add dummy entry for Armenian to %selflang since this is needed to let
it appear in the language list in the footer
----------------------------
revision 1.138
date: 2005-08-12 15:19:54 +0200; author: djpig; state: Exp; lines: +1 -0
Add armenian
Frank Lichtenheld [Tue, 18 Sep 2007 16:04:24 +0000 (18:04 +0200)]
Packages::DoSearchContents: Avoid breaking the grep pipe
Since grep doesn't handle SIGPIPE in any sane way but instead
clutters the error.log with useless comments like
"grep: writing output: Broken pipe" for each and every line it
wants to write, lets make it happy and read all the stuff in even
if we don't use it.
Frank Lichtenheld [Tue, 18 Sep 2007 16:00:34 +0000 (18:00 +0200)]
Merge branch 'master' of ssh://source/srv/source.djpig.de/git/packages
Frank Lichtenheld [Tue, 18 Sep 2007 15:32:00 +0000 (17:32 +0200)]
TODO: misc. updates
Frank Lichtenheld [Sat, 15 Sep 2007 02:25:27 +0000 (04:25 +0200)]
INSTALL: document example crontab
Also mention that it is actually better to trigger the script
by archive updates instead of running it at fixed times.
Frank Lichtenheld [Sat, 15 Sep 2007 02:24:11 +0000 (04:24 +0200)]
Add example crontab
Frank Lichtenheld [Fri, 14 Sep 2007 21:34:24 +0000 (23:34 +0200)]
config/mirrors.tmpl: Add mirror_list URLs for amd64 and gnuab
Frank Lichtenheld [Fri, 14 Sep 2007 21:29:00 +0000 (23:29 +0200)]
config/mirrors.tmpl: Mirror list maintainance
Updated mirror lists of backports, amd64 and gnuab.
Frank Lichtenheld [Fri, 14 Sep 2007 20:35:16 +0000 (22:35 +0200)]
create_index_pages: Make common functions available to all templates
The common functions were only available in suite_index.tmpl, but not
in index.tmpl. Fix that by giving them to the initial Packages::Template->new
call.
Frank Lichtenheld [Fri, 14 Sep 2007 20:33:14 +0000 (22:33 +0200)]
html/index.tmpl: Fix "Source" link in the navigation bar
- the conditional to test is $is_source, not $source
- the correct parameter for make_url is 'source', not $source
Frank Lichtenheld [Fri, 14 Sep 2007 19:31:51 +0000 (21:31 +0200)]
html/search*.tmpl: Improve <title> tags
- Remove $organisation (in case of search.tmpl even hardcoded
to Debian) since that gets added in head.tmpl anyway
- Add keywords
Frank Lichtenheld [Fri, 14 Sep 2007 19:29:54 +0000 (21:29 +0200)]
html/download.tmpl: Include filename in <title> tag
Frank Lichtenheld [Fri, 14 Sep 2007 14:58:45 +0000 (16:58 +0200)]
Add a basic installation guide as INSTALL
Frank Lichtenheld [Thu, 13 Sep 2007 00:10:06 +0000 (02:10 +0200)]
[UBUNTU] Beat Layout into Submission
That is a crude attempt at getting the layout working again.
It is usable now but definetly not pretty.
Frank Lichtenheld [Thu, 13 Sep 2007 00:07:57 +0000 (02:07 +0200)]
[UBUNTU] config.tmpl: Add some more footer information
Fix copyright holder link, license link, and copyright year
Frank Lichtenheld [Thu, 13 Sep 2007 00:06:33 +0000 (02:06 +0200)]
[UBUNTU] Packages::DoSearchContents: default suite hack needs overwrite
s/etch/feisty/
Frank Lichtenheld [Wed, 12 Sep 2007 22:45:08 +0000 (00:45 +0200)]
Add bin/daily to .gitignore
This script is now generated by bin/setup-site
Frank Lichtenheld [Wed, 12 Sep 2007 22:44:21 +0000 (00:44 +0200)]
600prepare_newpkg: Forgot one s/unstable/sid/
Frank Lichtenheld [Wed, 12 Sep 2007 22:42:14 +0000 (00:42 +0200)]
[UBUNTU] config/archive_layout.tmpl: Remove suite aliases
In Ubuntu there are no alias suite names
Frank Lichtenheld [Wed, 12 Sep 2007 22:41:02 +0000 (00:41 +0200)]
[UBUNTU] config.tmpl: replace ubuntulinux.org with ubuntu.com
The latter seems to be preferred currently
Frank Lichtenheld [Wed, 12 Sep 2007 22:39:23 +0000 (00:39 +0200)]
[UBUNTU] cron.d: Various Ubuntu adaptions
* Remove some Debian special-cases from 100syncarchive
* Remove unused sync scripts for gnuab and etch-m68k
* Fix 600prepare_newpkg
Frank Lichtenheld [Wed, 12 Sep 2007 22:36:41 +0000 (00:36 +0200)]
[UBUNTU] Merge from CVS: config.sh: Remove old suites
Drop warty, hoary and breezy since they got dropped from archive.u.c
Frank Lichtenheld [Wed, 12 Sep 2007 20:51:18 +0000 (22:51 +0200)]
Merge branch 'master' of ssh://source/srv/source.djpig.de/git/packages into ubuntu-master
Conflicts:
conf/apache.conf.sed.in
config.sh.sed.in
lib/Packages/Search.pm
Frank Lichtenheld [Sun, 9 Sep 2007 12:28:55 +0000 (14:28 +0200)]
html/show.tmpl: Improve the dependency legend
Suggested by MJ Ray <mjr -at- phonecoop coop>
Directly imitate the dependency listing in the legend
by using <ul><li> inside the table cells. This makes the
legend autoadjust to any changes in the CSS for the dependency
listing and mirrors the appearance completly.
Frank Lichtenheld [Sun, 9 Sep 2007 01:06:55 +0000 (03:06 +0200)]
html/show.tmpl: Improve dependency list readability for blind people
Suggested by Richard Atterer <richard -at- 2007 atterer net>
Use @media to define .visual/.nonvisual to be used instead of the
slightly broken hidecss. Replace <img> by <span> since we don't intend
to show images here most of the time anyway.
Also let the list-style-type differ so that people can see the difference
even without images.
Frank Lichtenheld [Wed, 12 Sep 2007 00:12:56 +0000 (02:12 +0200)]
Templates: Also display the suite's alias name in selected places
Frank Lichtenheld [Tue, 11 Sep 2007 23:46:49 +0000 (01:46 +0200)]
html/show.tmpl: Improve Homepage link
Enclose in <ul> to make it more consistent with other links.
Use the word "Homepage" as the link and only note the hostname
(think slashdot).
Also fix the handling of the legacy Url field