]> git.deb.at Git - deb/packages.git/log
deb/packages.git
17 years agoconfig.tmpl: Add a maintainance sitemsg
Frank Lichtenheld [Mon, 8 Oct 2007 02:10:24 +0000 (02:10 +0000)]
config.tmpl: Add a maintainance sitemsg

I used this tonight, so lets record it. Commented out
of course

17 years agoMerge commit 'origin/master' into debian-master
Frank Lichtenheld [Mon, 8 Oct 2007 00:07:58 +0000 (00:07 +0000)]
Merge commit 'origin/master' into debian-master

17 years agoDon't try to output html in error/debug messages
Frank Lichtenheld [Sun, 7 Oct 2007 20:18:36 +0000 (22:18 +0200)]
Don't try to output html in error/debug messages

17 years agopackages-site.css: Remove some remaining occourences of (old)stable
Frank Lichtenheld [Sun, 7 Oct 2007 20:15:12 +0000 (22:15 +0200)]
packages-site.css: Remove some remaining occourences of (old)stable

17 years agoPackages::CGI: Remove support for msgs and notes
Frank Lichtenheld [Sun, 7 Oct 2007 20:14:00 +0000 (22:14 +0200)]
Packages::CGI: Remove support for msgs and notes

Unused code.

17 years agocontents search: Give result in correct case
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

17 years ago050checkinst: replace subversion with git-core
Frank Lichtenheld [Sun, 7 Oct 2007 15:52:49 +0000 (17:52 +0200)]
050checkinst: replace subversion with git-core

D'oh!

17 years agoconfig.sh: Disable chinese DDTP translations
Frank Lichtenheld [Tue, 18 Sep 2007 22:01:32 +0000 (22:01 +0000)]
config.sh: Disable chinese DDTP translations

Since I copied the language footer stuff from webwml, but didn't
copy all the chinese specific hacks. Therefor this is currently
broken in more or less subtle ways. Will need to fix that first.

17 years agoMerge commit 'origin/master' into debian-master
Frank Lichtenheld [Tue, 18 Sep 2007 21:18:28 +0000 (21:18 +0000)]
Merge commit 'origin/master' into debian-master

17 years agohtml/messages.tmpl: Fix XSS vulneralibility
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.

17 years agolangs.de.po/sections.de.po: Update
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

17 years agoPackages::I18N::LanguageNames: Misc. fixes
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

17 years agoPackages::Sections: Add translations section
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.

17 years agosections.pot: Update for non-US support removal
Frank Lichtenheld [Tue, 18 Sep 2007 16:46:47 +0000 (18:46 +0200)]
sections.pot: Update for non-US support removal

17 years agoPackages::I18N::LanguageNames: Sync with Languages.pm
Frank Lichtenheld [Tue, 18 Sep 2007 16:44:58 +0000 (18:44 +0200)]
Packages::I18N::LanguageNames: Sync with Languages.pm

17 years agoPackages::I18N::Languages: Sync with webwml/english/template/debian/languages.wml
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

17 years agoPackages::DoSearchContents: Avoid breaking the grep pipe
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.

17 years agoMerge branch 'master' of ssh://source/srv/source.djpig.de/git/packages
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

17 years agoTODO: misc. updates
Frank Lichtenheld [Tue, 18 Sep 2007 15:32:00 +0000 (17:32 +0200)]
TODO: misc. updates

17 years agoINSTALL: document example crontab
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.

17 years agoAdd example crontab
Frank Lichtenheld [Sat, 15 Sep 2007 02:24:11 +0000 (04:24 +0200)]
Add example crontab

17 years agoMerge commit 'origin/master' into debian-master
Frank Lichtenheld [Fri, 14 Sep 2007 21:35:54 +0000 (21:35 +0000)]
Merge commit 'origin/master' into debian-master

17 years agoconfig/mirrors.tmpl: Add mirror_list URLs for amd64 and gnuab
Frank Lichtenheld [Fri, 14 Sep 2007 21:34:24 +0000 (23:34 +0200)]
config/mirrors.tmpl: Add mirror_list URLs for amd64 and gnuab

17 years agoconfig/mirrors.tmpl: Mirror list maintainance
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.

17 years agocreate_index_pages: Make common functions available to all templates
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.

17 years agohtml/index.tmpl: Fix "Source" link in the navigation bar
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

17 years agohtml/search*.tmpl: Improve <title> tags
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

17 years agohtml/download.tmpl: Include filename in <title> tag
Frank Lichtenheld [Fri, 14 Sep 2007 19:29:54 +0000 (21:29 +0200)]
html/download.tmpl: Include filename in <title> tag

17 years agoAdd a basic installation guide as INSTALL
Frank Lichtenheld [Fri, 14 Sep 2007 14:58:45 +0000 (16:58 +0200)]
Add a basic installation guide as INSTALL

17 years agoAdd bin/daily to .gitignore
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

17 years ago600prepare_newpkg: Forgot one s/unstable/sid/
Frank Lichtenheld [Wed, 12 Sep 2007 22:44:21 +0000 (00:44 +0200)]
600prepare_newpkg: Forgot one s/unstable/sid/

17 years agoMerge commit 'origin/master' into debian-master
Frank Lichtenheld [Wed, 12 Sep 2007 00:40:58 +0000 (00:40 +0000)]
Merge commit 'origin/master' into debian-master

17 years agohtml/show.tmpl: Improve the dependency legend
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.

17 years agohtml/show.tmpl: Improve dependency list readability for blind people
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.

17 years agoTemplates: Also display the suite's alias name in selected places
Frank Lichtenheld [Wed, 12 Sep 2007 00:12:56 +0000 (02:12 +0200)]
Templates: Also display the suite's alias name in selected places

17 years agohtml/show.tmpl: Improve Homepage link
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

17 years agoPackages::Search: Fix fallback suites
Frank Lichtenheld [Tue, 11 Sep 2007 23:43:41 +0000 (01:43 +0200)]
Packages::Search: Fix fallback suites

Leftover from the codenames move.

17 years agohtml/index.tmpl: Fix listing of providers
Frank Lichtenheld [Tue, 11 Sep 2007 23:42:54 +0000 (01:42 +0200)]
html/index.tmpl: Fix listing of providers

The commas were missing.

17 years agosetup-site: Use cp -p and sed -i instead of just sed old > new
Frank Lichtenheld [Tue, 11 Sep 2007 16:57:47 +0000 (18:57 +0200)]
setup-site: Use cp -p and sed -i instead of just sed old > new

This lets us easily preserve the modes of the original file
which might be important for executables and private files.

17 years agodaily: Rename to daily.sed.in to be able to use %TOPDIR%
Frank Lichtenheld [Tue, 11 Sep 2007 16:52:37 +0000 (18:52 +0200)]
daily: Rename to daily.sed.in to be able to use %TOPDIR%

This makes the script independent from where it is called
from, which is a good thing for something called from cronjobs
and the like.

17 years agodaily: Simplify and reduce lockfile wait
Frank Lichtenheld [Tue, 11 Sep 2007 16:47:57 +0000 (18:47 +0200)]
daily: Simplify and reduce lockfile wait

Use exec for redirecting the output to a log file
instead of manually redirecting every command's output.

Reduce the lockfile wait times from 50 minutes each to 10
minutes each. With the new, faster cron job it is unlikely we
want to queue the jobs anyway.

17 years agoMerge commit 'origin/master' into debian-master
Frank Lichtenheld [Tue, 11 Sep 2007 15:41:05 +0000 (15:41 +0000)]
Merge commit 'origin/master' into debian-master

17 years agobuild-maintainerdb: Send copy of mails to the PTS
Joerg Jaspert [Tue, 11 Sep 2007 15:36:46 +0000 (17:36 +0200)]
build-maintainerdb: Send copy of mails to the PTS

They go to the 'contact' keyword.
Also disable the old short alias code. That produces mostly
garbage addresses and isn't documented anyway.

17 years agotxt/index.tmpl: Add missing ']'
Frank Lichtenheld [Tue, 11 Sep 2007 15:30:09 +0000 (17:30 +0200)]
txt/index.tmpl: Add missing ']'

17 years agohtml/show.tmpl: Disable experimental Javascript tabbing
Frank Lichtenheld [Sun, 2 Sep 2007 23:44:30 +0000 (23:44 +0000)]
html/show.tmpl: Disable experimental Javascript tabbing
(cherry picked from commit b9b77c7ca23d56a4b43c4c497bc739a96ca504a6)

17 years agohtml/show.tmpl: Improve display of VCS-* information
Frank Lichtenheld [Tue, 11 Sep 2007 15:24:21 +0000 (17:24 +0200)]
html/show.tmpl: Improve display of VCS-* information

Suggested by Joey Hess <joeyh@debian.org>

Move the detailed VCS-* links below the download table as
these can get very long, and since the URIs can't be
broken, this may make the sidebar very huge and ugly.

Still leave the links available in the sidebar but
don't display the URIs themselves.

17 years agohtml/show.tmpl: Always use <ul> for Maintainers
Frank Lichtenheld [Tue, 11 Sep 2007 15:19:53 +0000 (17:19 +0200)]
html/show.tmpl: Always use <ul> for Maintainers

Even if we only have one. Just makes for a more consistent
display.

17 years agoComment clean-up: Remove $Id$, fix FSF address, copyright years
Frank Lichtenheld [Tue, 11 Sep 2007 15:02:41 +0000 (17:02 +0200)]
Comment clean-up: Remove $Id$, fix FSF address, copyright years

- Remove $Id$ since we don't use them with git
- Fix some old (and some really old) references to the FSF
  address
- Update some copyright years
- Add myself to some files as copyright holder

17 years agoDeb::Versions: Fix a bug introduces by ~ handling
Frank Lichtenheld [Tue, 11 Sep 2007 14:59:16 +0000 (16:59 +0200)]
Deb::Versions: Fix a bug introduces by ~ handling

708b1364be58c9b921cc3838d7ed5f5b48959d78 fixed the handling
of ~ but broke the handling of comparing a "normal" letter
with the empty string. A letter sorts earlier than all
non-letter except ~, but of course not earlier as the empty string.

17 years ago100syncarchive: Really fix retrieval of Release(.gpg) files
Frank Lichtenheld [Tue, 11 Sep 2007 14:54:56 +0000 (16:54 +0200)]
100syncarchive: Really fix retrieval of Release(.gpg) files

7f261c49b0b932c5cf04b107bac3bc8aad5f642c attempted to fix the
retrieval of the Release(.gpg) files from a local mirror but
really didn't because it didn't accounted for the chdir before
the rsync call. Really fix it this time y removing the chdir.

17 years agoPackages::Page: Support homepage field
Frank Lichtenheld [Tue, 11 Sep 2007 12:27:45 +0000 (14:27 +0200)]
Packages::Page: Support homepage field

Superseeds the old, stupid url field.
Also display it in html/show.tmpl

17 years agoapache.conf.sed.in: Use the official root redirect
Frank Lichtenheld [Sun, 9 Sep 2007 15:18:20 +0000 (15:18 +0000)]
apache.conf.sed.in: Use the official root redirect

Redirect / to http://www.debian.org/distrib/packages instead
of /index.html

17 years agoMerge commit 'origin/master' into debian-master
Frank Lichtenheld [Sun, 9 Sep 2007 15:11:25 +0000 (15:11 +0000)]
Merge commit 'origin/master' into debian-master

17 years agohtml/foot.tmpl: Fix display of language footer
Frank Lichtenheld [Sun, 9 Sep 2007 14:42:26 +0000 (16:42 +0200)]
html/foot.tmpl: Fix display of language footer

Since some variables are not defined in all loop iterations we
can not use the short syntax.

17 years agoPackages::DoIndex: Ugly hack to fix content negotiation
Frank Lichtenheld [Sun, 9 Sep 2007 14:25:35 +0000 (16:25 +0200)]
Packages::DoIndex: Ugly hack to fix content negotiation

Since we don't create the static pages for ddtplangs currently,
only for polangs, but we don't discriminate between the two in
the content negotiation we might try to serve a non-existant file.

Fixing the content negoation or the static file generation will
take some time and testing. For now, work around the bug by stat'ing
the requested file in DoIndex and falling back to English in case it doesn't
exist.

17 years agoVarious improvements of DDTP support
Frank Lichtenheld [Sun, 9 Sep 2007 14:21:48 +0000 (16:21 +0200)]
Various improvements of DDTP support

Update list of ddtp languages to the ones available on
ddtp.debian.net.
Fix typo in 120synctrans in the remote mirror retrieval
part.
Execute parse-translations before parse-contents in process_archive
because the latter needs way more time.

17 years agoPackages::Dispatcher: Ugly hack to fix allpackages display
Frank Lichtenheld [Sun, 9 Sep 2007 13:44:46 +0000 (15:44 +0200)]
Packages::Dispatcher: Ugly hack to fix allpackages display

allpackages needs to be special cased since it has no own asscociated
template.

17 years agocron.d/120synctrans: Allow overriding the server for downloading translations
Frank Lichtenheld [Sun, 9 Sep 2007 13:35:09 +0000 (15:35 +0200)]
cron.d/120synctrans: Allow overriding the server for downloading translations

Suggested by Helge Kreutzmann <debian -at- helgefjell de>

Since the translations in the main Debian archive are still way outdated, use
ddtp.debian.net for now. Make overriding $ddtp_ftpsite optional and fall back
to $ftpsite automatically if no seperate $ddtp_ftpsite is defined.

17 years agoapache.conf: Let apache send static files directly if possible
Frank Lichtenheld [Sat, 8 Sep 2007 22:33:25 +0000 (00:33 +0200)]
apache.conf: Let apache send static files directly if possible

If we have no QUERY_STRING and a static file is requested, let
apache handle this directly. This also reenables the behaviour
that packages.debian.org/etch goes to packages.debian.org/etch/
instead of searching for etch.

Also use Encoding for .gz, not Type.

17 years agoPackages::DoIndex: Send Content-Length and Last-Modified
Frank Lichtenheld [Sat, 8 Sep 2007 22:28:55 +0000 (00:28 +0200)]
Packages::DoIndex: Send Content-Length and Last-Modified

17 years agoMerge commit 'origin/master' into debian-master
Frank Lichtenheld [Sat, 8 Sep 2007 20:40:06 +0000 (20:40 +0000)]
Merge commit 'origin/master' into debian-master

17 years agotxt/index.tmpl: Fix display of virtual packages
Frank Lichtenheld [Sat, 8 Sep 2007 20:36:12 +0000 (22:36 +0200)]
txt/index.tmpl: Fix display of virtual packages

"IF array" is always true. Use "IF array.size"

Noted by Brandon <winterknight -at- nerdshack com>

17 years agoRemove non-US support
Frank Lichtenheld [Sat, 8 Sep 2007 09:16:51 +0000 (11:16 +0200)]
Remove non-US support

At this point I see no reason to keep all these hacks around.

17 years agoconfig/mirrors.tmpl: Merge from CVS: remove some non-working non-american mirrors
Frank Lichtenheld [Sat, 8 Sep 2007 08:57:46 +0000 (10:57 +0200)]
config/mirrors.tmpl: Merge from CVS: remove some non-working non-american mirrors

revision 1.37
date: 2007-04-27 20:58:43 +0200;  author: spaillar;  state: Exp;  lines: +0 -2
removed from the list: ftp.lug.udel.edu/debian debian.teleglobe.net
----------------------------
revision 1.36
date: 2007-04-20 14:29:20 +0200;  author: spaillar;  state: Exp;  lines: +1 -2
debian.crosslink.net is no longer a mirror

17 years ago100syncarchive: Fix retrieval of Release{.gpg} from local mirror
Frank Lichtenheld [Wed, 5 Sep 2007 01:18:19 +0000 (03:18 +0200)]
100syncarchive: Fix retrieval of Release{.gpg} from local mirror

When you copy & paste a wget commandline and change it to a rsync
commandline, don't forget to add an actual target.

17 years agoDelete cgi-bin/index.php
Frank Lichtenheld [Tue, 4 Sep 2007 01:14:44 +0000 (01:14 +0000)]
Delete cgi-bin/index.php

We certainly don't need that on the official host and having
random php script lying around gives me the shivers...

17 years agoextract_files: make unpack_srcpkg more robust
Frank Lichtenheld [Tue, 4 Sep 2007 01:05:13 +0000 (03:05 +0200)]
extract_files: make unpack_srcpkg more robust

In etch dpkg-source can extract source packages to a designated
directory. Use this instead of trying to extract the directory name
from dpkg-source's output which is inheriently unreliable.

17 years agoMerge commit 'origin/master' into debian-master
Frank Lichtenheld [Mon, 3 Sep 2007 23:56:07 +0000 (23:56 +0000)]
Merge commit 'origin/master' into debian-master

17 years agonewpkg_info: Fix handling of removed packages
Frank Lichtenheld [Mon, 3 Sep 2007 23:17:23 +0000 (01:17 +0200)]
newpkg_info: Fix handling of removed packages

Don't waste time on calling read_entry_simple for removed
packages. Also fix error detection for this call. The result
is always defined (and an array reference), errors can be
detected by checking whether the referenced array is empty.

17 years agoPackages::*: More Perl warning fixes
Frank Lichtenheld [Mon, 3 Sep 2007 23:15:28 +0000 (01:15 +0200)]
Packages::*: More Perl warning fixes

17 years agoPackages::DoDownload: Don't try to numerically compare a localized number
Frank Lichtenheld [Mon, 3 Sep 2007 22:52:20 +0000 (00:52 +0200)]
Packages::DoDownload: Don't try to numerically compare a localized number

After formatting a number with the help of sprintf, it is localized, i.e.
the decimal point might not be a decimal point anymore. So don't try to
compare it numerically (i.e. with '<' or '>') since that will not work.

17 years agoPackages::*: Fix various Perl warnings
Frank Lichtenheld [Mon, 3 Sep 2007 22:38:17 +0000 (00:38 +0200)]
Packages::*: Fix various Perl warnings

"Use of uninitialized value" mostly and two
occourence of masking an earlier defined variable.
No bugs really, but they clutter up the web servers log.

17 years agohtml/filelist.tmpl: Add forgotten footer include
Frank Lichtenheld [Mon, 3 Sep 2007 22:36:16 +0000 (00:36 +0200)]
html/filelist.tmpl: Add forgotten footer include

17 years agoMerge commit 'origin/master' into debian-master
Frank Lichtenheld [Mon, 3 Sep 2007 10:49:06 +0000 (10:49 +0000)]
Merge commit 'origin/master' into debian-master

17 years agohtml/show.tmpl: Don't show changelog links for other archives
Frank Lichtenheld [Mon, 3 Sep 2007 10:47:08 +0000 (12:47 +0200)]
html/show.tmpl: Don't show changelog links for other archives

We don't extract changelogs for backports/volatile/gnuab currently,
so don't show the links there.

17 years agoPackages::DoSearchContents: Add missing import of &Packages::CGI::error
Frank Lichtenheld [Mon, 3 Sep 2007 10:44:59 +0000 (12:44 +0200)]
Packages::DoSearchContents: Add missing import of &Packages::CGI::error

17 years agoconfig.sh: puccini doesn't have /org/ftp.debian.org
Frank Lichtenheld [Sun, 2 Sep 2007 23:45:17 +0000 (23:45 +0000)]
config.sh: puccini doesn't have /org/ftp.debian.org

Use /org/ftp.root for localdir

17 years agohtml/show.tmpl: Disable experimental Javascript tabbing
Frank Lichtenheld [Sun, 2 Sep 2007 23:44:30 +0000 (23:44 +0000)]
html/show.tmpl: Disable experimental Javascript tabbing

17 years agoconfig.tmpl: Changes for official page
Frank Lichtenheld [Sun, 2 Sep 2007 23:43:10 +0000 (23:43 +0000)]
config.tmpl: Changes for official page

17 years agoPackages::Dispatcher: Work around breakage in etch's CGI.pm
Frank Lichtenheld [Sun, 2 Sep 2007 23:42:05 +0000 (23:42 +0000)]
Packages::Dispatcher: Work around breakage in etch's CGI.pm

path_info() is broken for paths that contain '+'
Use $ENV{PATH_INFO} since for apache on Debian this should be
mostly the same

17 years agohtml/newpkg.tmpl: Expose mode=byage in UI
Frank Lichtenheld [Sun, 2 Sep 2007 21:53:50 +0000 (21:53 +0000)]
html/newpkg.tmpl: Expose mode=byage in UI

17 years agohtml/head.tmpl: Fix HTML syntax error
Frank Lichtenheld [Sun, 2 Sep 2007 21:51:54 +0000 (21:51 +0000)]
html/head.tmpl: Fix HTML syntax error

W3.org validator didn't find this! w3m however reacted
very bad to it...

17 years agoPackages::Dispatcher: Handle escaped characters in PATH_INFO correctly
Frank Lichtenheld [Sun, 2 Sep 2007 21:48:17 +0000 (21:48 +0000)]
Packages::Dispatcher: Handle escaped characters in PATH_INFO correctly

Unescape stuff from PATH_INFO before setting CGI parameters to it.
Fixes URLs of the form http://packages.debian.org/g++

17 years agoPackages::Dispatcher: Handle suite aliases correctly in suite parameter
Frank Lichtenheld [Sun, 2 Sep 2007 21:46:08 +0000 (21:46 +0000)]
Packages::Dispatcher: Handle suite aliases correctly in suite parameter

Handle suite aliases correctly in query parameters, too; not only in PATH_INFO

17 years agoPackages::DoSearchContents: Handle absolute path names correctly
Frank Lichtenheld [Sun, 2 Sep 2007 21:44:24 +0000 (21:44 +0000)]
Packages::DoSearchContents: Handle absolute path names correctly

Avoid adding too many leading / for mode=exactfilename

17 years agoPackages::DoSearchContents: Replace 'stable' by 'etch' as default suite
Frank Lichtenheld [Sun, 2 Sep 2007 21:42:40 +0000 (21:42 +0000)]
Packages::DoSearchContents: Replace 'stable' by 'etch' as default suite

Otherwise the "Codenames Everywhere" changes break this.

17 years agoDeb::Versions: Update list of Debian and Ubuntu releases
Frank Lichtenheld [Sun, 2 Sep 2007 21:40:36 +0000 (21:40 +0000)]
Deb::Versions: Update list of Debian and Ubuntu releases

Add lenny for Debian
Add edgy, feisty, gutsy for Ubuntu
Remove -backports releases, since these should
be determined by heuristics

17 years agoapache.conf: Add file: search shortcut
Frank Lichtenheld [Sun, 2 Sep 2007 21:36:36 +0000 (21:36 +0000)]
apache.conf: Add file: search shortcut

Makes a default contents search (i.e. no mode
specified).

17 years ago050checkinst: Add uk_UA.UTF-8 to list of needed locales
Frank Lichtenheld [Sun, 2 Sep 2007 21:34:54 +0000 (21:34 +0000)]
050checkinst: Add uk_UA.UTF-8 to list of needed locales

17 years ago050checkinst: Add liblingua-stem-perl to list of needed packages
Frank Lichtenheld [Sun, 2 Sep 2007 21:33:35 +0000 (21:33 +0000)]
050checkinst: Add liblingua-stem-perl to list of needed packages

17 years agoapache.conf: Some updates to mod_perl configuration
Frank Lichtenheld [Sun, 2 Sep 2007 21:31:49 +0000 (21:31 +0000)]
apache.conf: Some updates to mod_perl configuration

Add PerlSwitches
Make etch configuration default

17 years agoMerge from CVS: Skip clean-up if extraction fails and some minor changes
Frank Lichtenheld [Sun, 2 Sep 2007 12:29:12 +0000 (14:29 +0200)]
Merge from CVS: Skip clean-up if extraction fails and some minor changes

revision 1.3
date: 2007-07-26 15:32:23 +0200;  author: djpig;  state: Exp;  lines: +13 -5
Skip clean-up run if extraction failed so that we don't lose all
the changelogs next time some bugs goes unnoticed for a week
----------------------------
revision 1.2
date: 2007-07-23 18:47:49 +0200;  author: djpig;  state: Exp;  lines: +2 -2
Commit some older local changes:
 * double time until deletion, no reason here to be too strict
 * enable debug output, makes the logs much more informative in case of problems

17 years agoMerge from CVS: Fix handling of version 0 and some Perl warnings
Frank Lichtenheld [Sun, 2 Sep 2007 12:27:39 +0000 (14:27 +0200)]
Merge from CVS: Fix handling of version 0 and some Perl warnings

revision 1.17
date: 2007-07-26 11:58:34 +0200;  author: djpig;  state: Exp;  lines: +9 -1
Initialize %stats hash to avoid perl warnings
----------------------------
revision 1.16
date: 2007-07-23 17:59:14 +0200;  author: djpig;  state: Exp;  lines: +1 -1
The version number can be just 0, don't fall over that

17 years agohtml/search.tmpl: Fix typo in variable name
Frank Lichtenheld [Sun, 2 Sep 2007 12:07:48 +0000 (14:07 +0200)]
html/search.tmpl: Fix typo in variable name

17 years agoSwitch to using codenames
Frank Lichtenheld [Sun, 2 Sep 2007 12:06:11 +0000 (14:06 +0200)]
Switch to using codenames

Use codenames for suites instead of alias names where possible.

17 years agoPackages::Search: Implement find_similar
Frank Lichtenheld [Tue, 19 Jun 2007 02:22:45 +0000 (04:22 +0200)]
Packages::Search: Implement find_similar

Suggested by Enrico Zini.

For a given <package>, search for P<package>,
and then extract all the terms from the document
you find (you could also implement this part by
just looking up the description and applying the
same algorithms to it as in parse-packages, haven't
benchmarked that against each other).

With these terms then make a OR search. Ignore all
results <package>, since these are obvious ;)
The first few matches of the rest are usually
packages very similar to the one we started with.

17 years agoparse-packages: Unbreak descriptions handling
Frank Lichtenheld [Tue, 19 Jun 2007 02:18:16 +0000 (04:18 +0200)]
parse-packages: Unbreak descriptions handling

Earlier I broke the descriptions handling by storing the
description trimmed for search in place of the original
one.

17 years agoPackages::Dispatcher: create from code from dispatcher.pl
Frank Lichtenheld [Mon, 18 Jun 2007 20:52:16 +0000 (22:52 +0200)]
Packages::Dispatcher: create from code from dispatcher.pl

This is currently only a copy with some small formatting changes.
But this should benefit our mod_perl cleaness and I intend to
wrap that up somewhat nicer in the future, too.

17 years agoClean up footer handling
Frank Lichtenheld [Mon, 18 Jun 2007 12:36:35 +0000 (14:36 +0200)]
Clean up footer handling

Remove Packages::Template->trailer which essentially forced
any format to have a foot.tmpl even it made no sense for them.
Now formats that want something like that can handle it themself.

Fix handling of languages in the footer so that we get a list
of available translations again. Currently this only reflects
DDTP translations since the po stuff isn't reenabled yet since
the switch to templates.

17 years agoremove the html_header argument from do_* calls
Frank Lichtenheld [Mon, 18 Jun 2007 00:28:22 +0000 (02:28 +0200)]
remove the html_header argument from do_* calls

It has long stopped being used, so it just clutters the code.