15 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

15 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

15 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.

15 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.

15 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.

15 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>

15 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.

15 years agolib/Packages/ Don't shorten the dsc name
Frank Lichtenheld [Sat, 9 Jun 2007 21:10:58 +0000 (23:10 +0200)]
lib/Packages/ 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.

15 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.

15 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".

15 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.

15 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>

15 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.

15 years agolib/Packages/ Fix source package retrieval
Frank Lichtenheld [Sun, 3 Jun 2007 08:24:20 +0000 (10:24 +0200)]
lib/Packages/ 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.

15 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

Spotted by Ben Hutchings

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

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

15 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

15 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.

15 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.

15 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.

15 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

15 years agoDeb/ Fix handling of ~ vs. empty string
Frank Lichtenheld [Sat, 2 Jun 2007 16:01:29 +0000 (18:01 +0200)]
Deb/ 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.

15 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 files.

15 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.

15 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

15 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.

15 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.

15 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.

15 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

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

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

15 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.

15 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.

15 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.

15 years Don't show "special:" debtags
Frank Lichtenheld [Sat, 14 Apr 2007 10:47:04 +0000 (12:47 +0200)] 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

15 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.

15 years Define fallback suites for oldstable-*
Frank Lichtenheld [Sat, 14 Apr 2007 00:54:24 +0000 (02:54 +0200)] 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.

15 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.

15 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.

15 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.

15 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

15 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

15 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

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.

15 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.

15 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.

15 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.

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

15 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)

15 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

15 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

15 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.

15 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.

15 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

15 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

15 years Handle complex debtags
Frank Lichtenheld [Thu, 12 Apr 2007 20:18:35 +0000 (22:18 +0200)] Handle complex debtags

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

15 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 :)

15 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

15 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

15 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.

15 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

15 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.

15 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.

15 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

15 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.

15 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.

15 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

15 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.

15 years Update list of architectures
Frank Lichtenheld [Thu, 12 Apr 2007 15:10:33 +0000 (17:10 +0200)] Update list of architectures

Adapt list of architectures for oldstable/stable/testing to
etch release.

15 years agos/stable/oldstable/
Frank Lichtenheld [Mon, 9 Apr 2007 20:48:02 +0000 (20:48 +0000)]

15 years agoAlso download Release(.gpg) for security
Frank Lichtenheld [Mon, 9 Apr 2007 20:47:14 +0000 (20:47 +0000)]
Also download Release(.gpg) for security

15 years agoUse the debtags vocabulary to be able to show prettier tag names
Frank Lichtenheld [Sat, 2 Dec 2006 00:13:13 +0000 (00:13 +0000)]
Use the debtags vocabulary to be able to show prettier tag names

15 years agostring2id(): Also allow ":.-"
Frank Lichtenheld [Sat, 2 Dec 2006 00:08:52 +0000 (00:08 +0000)]
string2id(): Also allow ":.-"

15 years agoSome updates to list of supported fields and about the reportbug
Frank Lichtenheld [Tue, 28 Nov 2006 23:25:20 +0000 (23:25 +0000)]
Some updates to list of supported fields and about the reportbug

15 years agoAdd a proof-of-concept rfc822 output for search results
Frank Lichtenheld [Tue, 28 Nov 2006 02:44:49 +0000 (02:44 +0000)]
Add a proof-of-concept rfc822 output for search results

15 years agoImprove error handling:
Frank Lichtenheld [Tue, 28 Nov 2006 02:25:17 +0000 (02:25 +0000)]
Improve error handling:
 - Make it possible to control the returned HTTP code
 - Use always the html error template, we have no others anyway
 - Try to avoid mixing the apache generated and our own error
   messages (this needs more work)

15 years agoSome misc fixes
Frank Lichtenheld [Tue, 28 Nov 2006 02:22:11 +0000 (02:22 +0000)]
Some misc fixes

15 years agoMove a remaining HTML message from to show.tmpl
Frank Lichtenheld [Tue, 28 Nov 2006 02:21:08 +0000 (02:21 +0000)]
Move a remaining HTML message from to show.tmpl
(this commit contaminates the config.tmpl with the
settings, but I couldn't care less atm ;)

15 years agoTry another layout for the "moreinfo" part
Frank Lichtenheld [Tue, 28 Nov 2006 00:40:55 +0000 (00:40 +0000)]
Try another layout for the "moreinfo" part

15 years agoBe more verbose in the suggestion to use apt and explain how to
Frank Lichtenheld [Tue, 28 Nov 2006 00:40:11 +0000 (00:40 +0000)]
Be more verbose in the suggestion to use apt and explain how to
use one of the listed mirrors in the own sources.list

15 years agoSome updates to the mirror list
Frank Lichtenheld [Tue, 28 Nov 2006 00:38:49 +0000 (00:38 +0000)]
Some updates to the mirror list

15 years agoAdd a missing </a>
Frank Lichtenheld [Tue, 28 Nov 2006 00:38:27 +0000 (00:38 +0000)]
Add a missing </a>

15 years agoFinally fix the new packages rss feed
Frank Lichtenheld [Tue, 28 Nov 2006 00:36:44 +0000 (00:36 +0000)]
Finally fix the new packages rss feed

15 years agoDownload Release and Release.gpg files. We could use them one day
Frank Lichtenheld [Mon, 27 Nov 2006 23:47:09 +0000 (23:47 +0000)]
Download Release and Release.gpg files. We could use them one day
to verify downloaded Packages.gz files

15 years agoExperimental support for url and vcs-*. Not sure if the latter really
Frank Lichtenheld [Fri, 24 Nov 2006 01:33:24 +0000 (01:33 +0000)]
Experimental support for url and vcs-*. Not sure if the latter really
belongs to p.d.o or if using it in the PTS should be enough.
The former is only used for source packages as many binary packages
include the url in the description, too

15 years agoMove more messages from to search.tmpl, similar to what
Frank Lichtenheld [Fri, 24 Nov 2006 01:31:51 +0000 (01:31 +0000)]
Move more messages from to search.tmpl, similar to what
I've already done for search_contents.tmpl

15 years agoAlso create source versions for suite_index
Frank Lichtenheld [Fri, 24 Nov 2006 01:30:19 +0000 (01:30 +0000)]
Also create source versions for suite_index

15 years agoFix the nav bars to make more sense for source pages
Frank Lichtenheld [Fri, 24 Nov 2006 01:29:46 +0000 (01:29 +0000)]
Fix the nav bars to make more sense for source pages

15 years ago@TAKE_NEWEST: add url
Frank Lichtenheld [Fri, 24 Nov 2006 01:28:24 +0000 (01:28 +0000)]
@TAKE_NEWEST: add url
@STORE_ALL: add sha1, sha256, and task

15 years agoMake the Packages::(Src)Page object available to the template
Frank Lichtenheld [Fri, 24 Nov 2006 01:27:20 +0000 (01:27 +0000)]
Make the Packages::(Src)Page object available to the template

15 years agoFix the links to versions of a site in other languages
Frank Lichtenheld [Fri, 24 Nov 2006 01:26:19 +0000 (01:26 +0000)]
Fix the links to versions of a site in other languages

15 years agoAdd a list of fields from Packages/Sources we currently don't use
Frank Lichtenheld [Fri, 24 Nov 2006 01:25:23 +0000 (01:25 +0000)]
Add a list of fields from Packages/Sources we currently don't use

15 years agoAdd a note about section handling in search_contents
Frank Lichtenheld [Thu, 23 Nov 2006 22:26:24 +0000 (22:26 +0000)]
Add a note about section handling in search_contents

15 years agomake sure all_architectures is sorted
Frank Lichtenheld [Thu, 23 Nov 2006 22:24:05 +0000 (22:24 +0000)]
make sure all_architectures is sorted
some whitespace fixes

15 years agoAdd facilities to display a site wide message on all pages
Frank Lichtenheld [Thu, 23 Nov 2006 22:23:04 +0000 (22:23 +0000)]
Add facilities to display a site wide message on all pages

15 years agoFix "search in all architectures" link
Frank Lichtenheld [Thu, 23 Nov 2006 22:22:29 +0000 (22:22 +0000)]
Fix "search in all architectures" link

15 years agoexperiment a little with the use of JavaScript. Right now I use
Frank Lichtenheld [Thu, 23 Nov 2006 21:32:40 +0000 (21:32 +0000)]
experiment a little with the use of JavaScript. Right now I use
it to make the display of some potentially very long lists
(binary packages in source package search results and providers
of virtual packages in dependency listings) optional for the user

15 years agoAdd string2id function that is useful in generating HTML id attributes
Frank Lichtenheld [Thu, 23 Nov 2006 21:30:36 +0000 (21:30 +0000)]
Add string2id function that is useful in generating HTML id attributes
from random data.

15 years doesn't have all architectures, so better don't
Frank Lichtenheld [Thu, 23 Nov 2006 00:46:41 +0000 (00:46 +0000)] doesn't have all architectures, so better don't
use it as default value

15 years agoRemove the _ subroutine. I don't use it anyway and even its sheer
Frank Lichtenheld [Wed, 22 Nov 2006 19:38:03 +0000 (19:38 +0000)]
Remove the _ subroutine. I don't use it anyway and even its sheer
existance seems to lead to problems with some Perl versions

15 years agoThe Big, the Fat and the Ugly commit ;)
Frank Lichtenheld [Tue, 21 Nov 2006 23:46:55 +0000 (23:46 +0000)]
The Big, the Fat and the Ugly commit ;)
 - Make output via Template Toolkit (libtemplate-perl) and
   not "manual". This should seperate the logic of data
   retrieval and data display and make adding new output
   formats and styles easier. Lets see how this turns out :)
 - While doing this I also reworked most of the site designs
   and added a lot of new information and hopefully structure
   to the output
Currently broken:
 - Most of the l10n stuff since I need to find
   a good way to feed the templates to gettext first.
   (this is not "RC" for an use on p.d.o)
 - RSS feed of new packages. Didn't came around yet to convert
   this one.
   (this one is "RC")
 - probably a lot of minor things

15 years agofun with module name differences between sarge and etch
Frank Lichtenheld [Tue, 21 Nov 2006 22:29:39 +0000 (22:29 +0000)]
fun with module name differences between sarge and etch