]> git.deb.at Git - deb/packages.git/log
deb/packages.git
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.

17 years agohtml/search.tmpl: Improve message about too many results for fulltext search
Frank Lichtenheld [Mon, 18 Jun 2007 17:41:36 +0000 (19:41 +0200)]
html/search.tmpl: Improve message about too many results for fulltext search

This brings this message closer to reality and also mentions that the results
are sorted by relevance now.

17 years agoFulltext search: Greatly improve by using a more fuzzy approach
Frank Lichtenheld [Mon, 18 Jun 2007 17:40:28 +0000 (19:40 +0200)]
Fulltext search: Greatly improve by using a more fuzzy approach

Most of this done on suggestion of Enrico Zini <enrico@enricozini.org>

Using OP_OR instead of OP_AND as default can actually lead to better
matches because the ones found with OP_AND often don't actually are
the most relevant ones. This is especially true when using more than
two keywords.

Accordingly sort by relevance on the result page.

Improve indexing:
 + Add both the unstemmed and the stemmed description to index
   this will increase the relevance of exact matches. Only the
   latter is done with positional information
 + Really index debtags and the package name

17 years agoparse-packages: Move tag parsing code here
Frank Lichtenheld [Mon, 18 Jun 2007 17:14:14 +0000 (19:14 +0200)]
parse-packages: Move tag parsing code here

To be able to use the tags more flexibly, expand the
compressed format earlier, i.e. move this code from
Packages::DoShow to parse-packages.

17 years agoRemove obsolete descriptions.txt previously used for fulltext search
Frank Lichtenheld [Sun, 17 Jun 2007 17:13:13 +0000 (19:13 +0200)]
Remove obsolete descriptions.txt previously used for fulltext search

I will definetly stick with xapian for now.

17 years agoDisplay translated descriptions
Frank Lichtenheld [Sun, 17 Jun 2007 16:58:29 +0000 (18:58 +0200)]
Display translated descriptions

This only adds support for displaying the description
itself on the show page, not the short description in
dependencies or in search results.

The latter is more complicated now since we store the
short description in packages_small exactly because these
places are performance critical and to have to
access one more database in these places is bad...

17 years agoPackages::DB, Packages::Page: Make translated descriptions available to code
Frank Lichtenheld [Sun, 17 Jun 2007 16:55:26 +0000 (18:55 +0200)]
Packages::DB, Packages::Page: Make translated descriptions available to code

The database is available as %desctrans and the MD5 sums are now stored
in the Page object.

17 years agoPackages::I18N::Locale: Use UTF-8 as charset for all locales
Frank Lichtenheld [Sun, 17 Jun 2007 16:53:18 +0000 (18:53 +0200)]
Packages::I18N::Locale: Use UTF-8 as charset for all locales

There shouldn't be any left for which we don't have an UTF-8
locale available.

17 years agodispatcher.pl: Use all available languages for content negotiation
Frank Lichtenheld [Sun, 17 Jun 2007 16:51:13 +0000 (18:51 +0200)]
dispatcher.pl: Use all available languages for content negotiation

Make a union of the po languages and the DDTP languages before
deciding about the language to serve.

17 years agoparse-packages: Fix MD5 sum computation for descriptions
Frank Lichtenheld [Sun, 17 Jun 2007 16:49:49 +0000 (18:49 +0200)]
parse-packages: Fix MD5 sum computation for descriptions

They were missing the final newline, therefor all generated
MD5 sums were bogus.

17 years agoparse-translations: Fix encoding of Japanese descriptions
Frank Lichtenheld [Sun, 17 Jun 2007 16:48:44 +0000 (18:48 +0200)]
parse-translations: Fix encoding of Japanese descriptions

They should be in UTF-8, but actually they are in EUC-JP.

17 years agoparse-translations: new script to parse the Translation files
Frank Lichtenheld [Sun, 17 Jun 2007 15:13:03 +0000 (17:13 +0200)]
parse-translations: new script to parse the Translation files

17 years agoparse-packages: Save the md5 checksum of the description
Frank Lichtenheld [Sat, 16 Jun 2007 20:16:45 +0000 (22:16 +0200)]
parse-packages: Save the md5 checksum of the description

This should enable us later to retrieve the translated descriptions

17 years agocron.d/120syntrans: retrieve DDTP descriptions again
Frank Lichtenheld [Sat, 16 Jun 2007 19:51:10 +0000 (21:51 +0200)]
cron.d/120syntrans: retrieve DDTP descriptions again

They are now on the official mirrors and there seems to be a real chance
that the project gets revived again. So start supporting translated
descriptions again.

17 years agoparse-packages: Fix a remaining occourence of kfreebsd as archive name
Frank Lichtenheld [Sat, 16 Jun 2007 19:57:16 +0000 (21:57 +0200)]
parse-packages: Fix a remaining occourence of kfreebsd as archive name

This is now called gnuab. Also clarify the accompaning comment a bit
while I'm at it.

17 years agotemplates/html/show.tmpl: Fix bug in generation of "Files" column in download table
Frank Lichtenheld [Sat, 9 Jun 2007 22:31:59 +0000 (00:31 +0200)]
templates/html/show.tmpl: Fix bug in generation of "Files" column in download table

b688b16487ef2ca8ad7861d7c20da16a9f3f4448 changed the loop to use a local
variable instead of implicit declaration but didn't change the
use of the contents_avail hash key. This broke the "Files" column
to never display a file link.

17 years agotemplates/html/show.tmpl: Make "Version" column of download table more readable
Frank Lichtenheld [Sat, 9 Jun 2007 21:24:24 +0000 (23:24 +0200)]
templates/html/show.tmpl: Make "Version" column of download table more readable

Previously it was sometimes difficult to spot differences in the versions,
especially if the are only in the Debian revision. Color code the
background so that one can spot differences easier. All up-to-date
versions are indicated with a green background. If the version differs
from the latest version only in the Debian revision, use yellow.
If they differ in the upstream revision, use red.

Inspired by discussion with Neil Williams <codehelp debian org>

17 years agohtml/head.tmpl: Compactify the header
Frank Lichtenheld [Sat, 9 Jun 2007 21:15:23 +0000 (23:15 +0200)]
html/head.tmpl: Compactify the header

Make search for more compact by changing radio buttons
to dropwdown select list.

Use smaller images for the logo.

17 years agolib/Packages/DoShow.pm: Don't shorten the dsc name
Frank Lichtenheld [Sat, 9 Jun 2007 21:10:58 +0000 (23:10 +0200)]
lib/Packages/DoShow.pm: Don't shorten the dsc name

Suggested by Ben Hutchings <ben decadent org uk>

I don't know exactly why this was done this way previously but
myself also prefer the new version.

17 years agotemplates/html/search.tmpl: Add suite as class for search results
Frank Lichtenheld [Sat, 9 Jun 2007 21:49:50 +0000 (23:49 +0200)]
templates/html/search.tmpl: Add suite as class for search results

And use this to display "unofficial" suites a bit smaller than the
others. Move the CSS information to a new css file packages-site.css
since this information will probably very site specific.

17 years agotemplates/html/show.tmpl: Add experimental tabbing for content
Frank Lichtenheld [Sat, 9 Jun 2007 21:46:50 +0000 (23:46 +0200)]
templates/html/show.tmpl: Add experimental tabbing for content

Since the content tends to get very long and confusing, let the
user switch between "Description" (which includes the list of
binaries for source packages and the list of tags), "Dependencies",
and "Download".

17 years agostatic/debian.css: Move horizontal rule at bottom of content to #footer
Frank Lichtenheld [Sat, 9 Jun 2007 21:38:50 +0000 (23:38 +0200)]
static/debian.css: Move horizontal rule at bottom of content to #footer

This works way better than the #outer > #inner construct, especially
if content has floating elements.

17 years agostatic/debian.css: Use sans-serif as default font
Frank Lichtenheld [Sat, 9 Jun 2007 21:35:54 +0000 (23:35 +0200)]
static/debian.css: Use sans-serif as default font

Suggested by Neil Williams <codehelp debian org>

17 years agotemplates/html/show.tmpl: Don't show PTS link for packages without source
Frank Lichtenheld [Sun, 3 Jun 2007 08:42:12 +0000 (10:42 +0200)]
templates/html/show.tmpl: Don't show PTS link for packages without source

The conditional was testing the wrong object for existance.

17 years agolib/Packages/DoShow.pm: Fix source package retrieval
Frank Lichtenheld [Sun, 3 Jun 2007 08:24:20 +0000 (10:24 +0200)]
lib/Packages/DoShow.pm: Fix source package retrieval

Some binary packages are build from official Debian
sources but have no version in the Debian archive
(e.g. libc0.1). Fix searching the source package for
those. Rather hackish solution, needs cleanup.

17 years agotemplates/html/show.tmpl: Typo fix
Frank Lichtenheld [Sun, 3 Jun 2007 07:54:36 +0000 (09:54 +0200)]
templates/html/show.tmpl: Typo fix

/maintainter's/maintainer's/
Spotted by Ben Hutchings

17 years agolib/Packages/DoShow.pm: Ensure that the source download path starts with /
Frank Lichtenheld [Sun, 3 Jun 2007 07:50:46 +0000 (09:50 +0200)]
lib/Packages/DoShow.pm: Ensure that the source download path starts with /

Otherwise we might get an invalid URL if the host lacks a trailing /

17 years agotemplates/html/show.tmpl: Denote unofficial ports
Frank Lichtenheld [Sat, 2 Jun 2007 21:30:14 +0000 (23:30 +0200)]
templates/html/show.tmpl: Denote unofficial ports

Get this information by 1) exposing the archive in the
%downloads hash 2) using config/mirrors.tmpl to determine
whether this archive is an unofficial port

17 years agotemplates/html/download.tmpl: Fix message displayed for armel packages
Frank Lichtenheld [Sat, 2 Jun 2007 21:02:52 +0000 (23:02 +0200)]
templates/html/download.tmpl: Fix message displayed for armel packages

Don't assume anymore that a non-Debian archive can't contain more than
one arch.

17 years agotemplates/html/download.tmpl: Handle security in apt nag
Frank Lichtenheld [Sat, 2 Jun 2007 21:01:24 +0000 (23:01 +0200)]
templates/html/download.tmpl: Handle security in apt nag

Needs to be special cased since we don't have a mirror list
for security.

17 years agocron.d/100syncarchive: Remove some needless warnings
Frank Lichtenheld [Sat, 2 Jun 2007 16:05:30 +0000 (18:05 +0200)]
cron.d/100syncarchive: Remove some needless warnings

We already skipped kfreebsd-i386 here since that is a
needless warning. Do the same for kfreebsd-amd64 and armel.

17 years agoAdd etch-m68k
Frank Lichtenheld [Sat, 2 Jun 2007 16:04:06 +0000 (18:04 +0200)]
Add etch-m68k

Simply add it as a seperate suite since that is what it
really is. Everything else will be either ugly and/or
confusing.

17 years agoDeb/Versions.pm: Fix handling of ~ vs. empty string
Frank Lichtenheld [Sat, 2 Jun 2007 16:01:29 +0000 (18:01 +0200)]
Deb/Versions.pm: Fix handling of ~ vs. empty string

~ sorts even before the empty string, so we can't just
abort if one of the revisions is shorter than the other
since it can still sort later.

17 years agosetup-site: Only search for files to work on two directories deep
Frank Lichtenheld [Sat, 2 Jun 2007 00:13:09 +0000 (02:13 +0200)]
setup-site: Only search for files to work on two directories deep

Otherwise we will search e.g. through all the extracted changelogs
for .sed.in files.

17 years agoAdd armel as architecture and rename kfreebsd archive to gnuab
Frank Lichtenheld [Fri, 1 Jun 2007 23:57:37 +0000 (01:57 +0200)]
Add armel as architecture and rename kfreebsd archive to gnuab

Since the same archive hosts now armel and the two kfreebsd
architectures, rename to a more generic name.

The porter remark in download.tmpl needs some adjusting still
but it is not terribly important, so leave it out of this commit.

17 years agoconfig change
Frank Lichtenheld [Thu, 19 Apr 2007 12:41:07 +0000 (14:41 +0200)]
config change

patch to the local archive has changed

17 years agoAdd some more files and directories to .gitignore
Frank Lichtenheld [Sun, 15 Apr 2007 23:08:37 +0000 (01:08 +0200)]
Add some more files and directories to .gitignore

Also add some generic patterns (*~ and *.ttc) to
the top level .gitignore.

17 years agoextract_changelogs: Merge cron job changes from old site
Frank Lichtenheld [Sun, 15 Apr 2007 14:17:16 +0000 (16:17 +0200)]
extract_changelogs: Merge cron job changes from old site

Merge the new daily cron job scripts from old site that
splits the extract_changelogs from the rest of the
cron job. This avoids delaying the rest of the cronjob for
the changelog extraction. Using two different lock files
also makes the whole site update more robust.

17 years agoSupport "changelog:" short links
Frank Lichtenheld [Sun, 15 Apr 2007 00:28:12 +0000 (02:28 +0200)]
Support "changelog:" short links

Generate a map file for mod_rewrite since we need to
map binary packages to source packages.

17 years agoProvide backwards compatibility for newpkg pages
Frank Lichtenheld [Sat, 14 Apr 2007 13:56:20 +0000 (15:56 +0200)]
Provide backwards compatibility for newpkg pages

17 years agodispatcher.pl: Add some backwards compatibility handling
Frank Lichtenheld [Sat, 14 Apr 2007 12:58:09 +0000 (14:58 +0200)]
dispatcher.pl: Add some backwards compatibility handling

Try to show something useful if the user reaches us over
an older /cgi-bin/search_* URL.

17 years agodispatcher: Fix handling of Packages::CGI::http_code vs. error page
Frank Lichtenheld [Sat, 14 Apr 2007 12:55:28 +0000 (14:55 +0200)]
dispatcher: Fix handling of Packages::CGI::http_code vs. error page

Only use http_code instead of the generic error page if it is
not a code from the 2XX group.

17 years agoAdd general about page and improve footer for static pages.
Frank Lichtenheld [Sat, 14 Apr 2007 11:44:07 +0000 (13:44 +0200)]
Add general about page and improve footer for static pages.

The about/index page explains how to get the code and
lists all the copyright statements and the license.

17 years agoAdd GPL text
Frank Lichtenheld [Sat, 14 Apr 2007 11:27:40 +0000 (13:27 +0200)]
Add GPL text

It was always understood that this code is licensed under the
GPL. So it should carry the GPL text with it.

17 years agoDoShow.pm: Don't show "special:" debtags
Frank Lichtenheld [Sat, 14 Apr 2007 10:47:04 +0000 (12:47 +0200)]
DoShow.pm: Don't show "special:" debtags

packages.d.o is for end users who are probably not interested in
the various special: tags that are more useful for debtags maintainance.
(This can be moved to the template if ever the need arises to display these
tags)

17 years agoBackwards compatibility mode for reportbug
Frank Lichtenheld [Sat, 14 Apr 2007 10:44:51 +0000 (12:44 +0200)]
Backwards compatibility mode for reportbug

Force exact=1 if UserAgent looks like reportbug.
Otherwise it would get confused by the new behaviour
to show non-exact matches per default, too.

The real solution for this is of course to let it
use another format instead of HTML.

17 years agoSearch.pm: Define fallback suites for oldstable-*
Frank Lichtenheld [Sat, 14 Apr 2007 00:54:24 +0000 (02:54 +0200)]
Search.pm: Define fallback suites for oldstable-*

We really need to make this regex based (e.g. foo-* always
falls back to foo). Anyway, here the short term fix.

17 years agoAdd some .gitignore files
Frank Lichtenheld [Sat, 14 Apr 2007 00:31:09 +0000 (02:31 +0200)]
Add some .gitignore files

Mainly for files generated from *.in by setup-site
and for the generated output directories.

17 years agomirror.tmpl: Add some more mirrors for volatile
Frank Lichtenheld [Sat, 14 Apr 2007 00:19:35 +0000 (02:19 +0200)]
mirror.tmpl: Add some more mirrors for volatile

Also update the mirror list page to the official one.

17 years agoDescription Search: Move to Xapian
Frank Lichtenheld [Sat, 14 Apr 2007 00:18:37 +0000 (02:18 +0200)]
Description Search: Move to Xapian

Use Xapian as Backend for fulltext search in descriptions.
Introduces new do_xapian_search function to be able to switch
to the old do_fulltext_search in case of problems.

17 years agosyncarchive_installer: Don't skip oldstable, sarge has an installer
Frank Lichtenheld [Fri, 13 Apr 2007 19:20:33 +0000 (21:20 +0200)]
syncarchive_installer: Don't skip oldstable, sarge has an installer

17 years agosyncarchive: add oldstable backports and volatile
Frank Lichtenheld [Thu, 12 Apr 2007 23:56:08 +0000 (01:56 +0200)]
syncarchive: add oldstable backports and volatile

Also remove stable backports, since there are none for etch
yet.

17 years agostatic: Add a simple index page and use ttree to build and install
Frank Lichtenheld [Thu, 12 Apr 2007 23:52:20 +0000 (01:52 +0200)]
static: Add a simple index page and use ttree to build and install

Add a simple index page to static that we can use as homepage if we don't
want to redirect to an external search form like we do on the official
packages.debian.org.

Also use ttree to build and install the contents of static. This allows
to use TT for preprocessing. The first example of such a file is the
added index file.

17 years agosearch_contents.tmpl: Don't offer a link to the search with the same suite
Frank Lichtenheld [Thu, 12 Apr 2007 23:47:38 +0000 (01:47 +0200)]
search_contents.tmpl: Don't offer a link to the search with the same suite

Since that is essentially a link to the page the user is looking at.

17 years agoarchitectures.tmpl: Change MIPS architecture names
Frank Lichtenheld [Thu, 12 Apr 2007 23:46:25 +0000 (01:46 +0200)]
architectures.tmpl: Change MIPS architecture names

MIPS -> MIPS (big-endian)
MIPS (DEC) -> MIPS (little-endian)

This ports a change recently made to the Debian webpage.
The DEC is a historical name that may confuse newer users.

17 years agodispatcher: Fix HTTP error code for "format not supported"
Frank Lichtenheld [Thu, 12 Apr 2007 22:28:58 +0000 (00:28 +0200)]
dispatcher: Fix HTTP error code for "format not supported"

405 is actually the error for not supported HTTP request (i.e.
GET, POST, etc). 406 is the correct code for content formats.

17 years agoPage.pm: Let get_version_string sort architectures alphabetically
Frank Lichtenheld [Thu, 12 Apr 2007 21:52:55 +0000 (23:52 +0200)]
Page.pm: Let get_version_string sort architectures alphabetically

17 years agoindex.tmpl: Fix two bugs
Frank Lichtenheld [Thu, 12 Apr 2007 21:36:49 +0000 (23:36 +0200)]
index.tmpl: Fix two bugs

One missing semicolon added.

One variable named corrected (navigation_pre -> nav_arr)

17 years agodispatcher: Allow to use 'any' as an architecture name
Frank Lichtenheld [Thu, 12 Apr 2007 21:05:06 +0000 (23:05 +0200)]
dispatcher: Allow to use 'any' as an architecture name

This will not set the arch parameter since it is essentially
a no-op anyway

17 years agodispatcher: Update suite aliases for etch release
Frank Lichtenheld [Thu, 12 Apr 2007 21:04:11 +0000 (23:04 +0200)]
dispatcher: Update suite aliases for etch release

17 years agosearch.tmpl: Fix two bugs
Frank Lichtenheld [Thu, 12 Apr 2007 21:03:01 +0000 (23:03 +0200)]
search.tmpl: Fix two bugs

The subsection key was renamed from .subsect to .subsection at one point.
However the template was not updated.

Unset archive and architecture for links to binary packages.

17 years agoshow.tmpl: Add a 'Source' entry in the navigation bar for source packages
Frank Lichtenheld [Thu, 12 Apr 2007 21:00:42 +0000 (23:00 +0200)]
show.tmpl: Add a 'Source' entry in the navigation bar for source packages

Make 'Source' a replacement for the suite link and make the latter
not go to the source index page but the normal index page.

17 years agocreate_index_pages: Forgot to create directory for source index pages
Frank Lichtenheld [Thu, 12 Apr 2007 20:58:42 +0000 (22:58 +0200)]
create_index_pages: Forgot to create directory for source index pages

17 years agoshow.tmpl: Improve VCS-* handling
Frank Lichtenheld [Thu, 12 Apr 2007 20:19:36 +0000 (22:19 +0200)]
show.tmpl: Improve VCS-* handling

Add new VCS Mercurial (aka Hg)

Handle VCS-Browser

17 years agoDoShow.pm: Handle complex debtags
Frank Lichtenheld [Thu, 12 Apr 2007 20:18:35 +0000 (22:18 +0200)]
DoShow.pm: Handle complex debtags

Add code that correctly parses and splits debtags
like devel::{buildtools,lang:c,lang:c++}

17 years agoshow.tmpl: In the experimental nag, link to the changelog
Frank Lichtenheld [Thu, 12 Apr 2007 19:48:18 +0000 (21:48 +0200)]
show.tmpl: In the experimental nag, link to the changelog

Since we already tell the user to read it, we can actually
link to it, too. Yay, Hyperlinks :)

17 years agoshow.tmpl: Add links to DDPO pages for maintainers
Frank Lichtenheld [Thu, 12 Apr 2007 19:47:06 +0000 (21:47 +0200)]
show.tmpl: Add links to DDPO pages for maintainers

17 years agotemplates: Define missing pts_url
Frank Lichtenheld [Thu, 12 Apr 2007 19:34:47 +0000 (21:34 +0200)]
templates: Define missing pts_url

pts_url was used in the templates but never actually defined

17 years agonon-US: don't download anymore
Frank Lichtenheld [Thu, 12 Apr 2007 19:31:14 +0000 (21:31 +0200)]
non-US: don't download anymore

Don't try to download any non-US information anymore.
Don't delete the various non-US hacks from the parsing and displaying
code yet. This can be done as a second step.

17 years agocron.d: Use git instead of svn
Frank Lichtenheld [Thu, 12 Apr 2007 19:20:43 +0000 (21:20 +0200)]
cron.d: Use git instead of svn

17 years agokfreebsd: Enable again
Frank Lichtenheld [Thu, 12 Apr 2007 19:09:20 +0000 (21:09 +0200)]
kfreebsd: Enable again

On second thought, just use another mirror.

17 years agoprepare_newpkg: Also create a list of source package names
Frank Lichtenheld [Thu, 12 Apr 2007 19:08:32 +0000 (21:08 +0200)]
prepare_newpkg: Also create a list of source package names

This isn't used further yet but might be useful to also present a list
of new source packages.

17 years agoDoShow: Add Pre-Depends to dependency output
Frank Lichtenheld [Thu, 12 Apr 2007 15:36:08 +0000 (17:36 +0200)]
DoShow: Add Pre-Depends to dependency output

17 years agovcs information: Improve HTML output
Frank Lichtenheld [Thu, 12 Apr 2007 15:33:58 +0000 (17:33 +0200)]
vcs information: Improve HTML output

Add a link to the package page of the used VCS.

17 years agodebtags: Make HTML output more pretty
Frank Lichtenheld [Thu, 12 Apr 2007 15:31:49 +0000 (17:31 +0200)]
debtags: Make HTML output more pretty

Don't look up the description on the debtags vocabulary in the script
but in the template. Split facet and tag in the script so that we can
merge together multiple tags with the same facet.

17 years agoapache.conf: Add some more "no rewrite" patterns
Frank Lichtenheld [Thu, 12 Apr 2007 15:28:01 +0000 (17:28 +0200)]
apache.conf: Add some more "no rewrite" patterns

Don't rewrite /about/, we will put static pages there
Don't rewrite *.js files

17 years agocron.d: Disable some scripts for the time beeing
Frank Lichtenheld [Thu, 12 Apr 2007 15:12:14 +0000 (17:12 +0200)]
cron.d: Disable some scripts for the time beeing

100syncarchive_kfreebsd is disabled because the
archive server doesn't respond anymore

300extract_changelogs is disabled because I have
no full archive on the test server.