]>
git.deb.at Git - deb/packages.git/log
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.
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.
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.
Frank Lichtenheld [Sun, 17 Jun 2007 15:13:03 +0000 (17:13 +0200)]
parse-translations: new script to parse the Translation files
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
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.
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.
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.
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>
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.
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.
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.
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".
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.
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>
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.
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.
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
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 /
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
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.
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.
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.
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.
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.
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.
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.
Frank Lichtenheld [Thu, 19 Apr 2007 12:41:07 +0000 (14:41 +0200)]
config change
patch to the local archive has changed
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.
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.
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.
Frank Lichtenheld [Sat, 14 Apr 2007 13:56:20 +0000 (15:56 +0200)]
Provide backwards compatibility for newpkg pages
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.
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.
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.
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.
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)
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.
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.
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.
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.
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.
Frank Lichtenheld [Fri, 13 Apr 2007 19:20:33 +0000 (21:20 +0200)]
syncarchive_installer: Don't skip oldstable, sarge has an installer
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.
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.
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.
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.
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.
Frank Lichtenheld [Thu, 12 Apr 2007 21:52:55 +0000 (23:52 +0200)]
Page.pm: Let get_version_string sort architectures alphabetically
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)
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
Frank Lichtenheld [Thu, 12 Apr 2007 21:04:11 +0000 (23:04 +0200)]
dispatcher: Update suite aliases for etch release
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.
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.
Frank Lichtenheld [Thu, 12 Apr 2007 20:58:42 +0000 (22:58 +0200)]
create_index_pages: Forgot to create directory for source index pages
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
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++}
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 :)
Frank Lichtenheld [Thu, 12 Apr 2007 19:47:06 +0000 (21:47 +0200)]
show.tmpl: Add links to DDPO pages for maintainers
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
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.
Frank Lichtenheld [Thu, 12 Apr 2007 19:20:43 +0000 (21:20 +0200)]
cron.d: Use git instead of svn
Frank Lichtenheld [Thu, 12 Apr 2007 19:09:20 +0000 (21:09 +0200)]
kfreebsd: Enable again
On second thought, just use another mirror.
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.
Frank Lichtenheld [Thu, 12 Apr 2007 15:36:08 +0000 (17:36 +0200)]
DoShow: Add Pre-Depends to dependency 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.
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.
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
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.
Frank Lichtenheld [Thu, 12 Apr 2007 15:10:33 +0000 (17:10 +0200)]
config.sh: Update list of architectures
Adapt list of architectures for oldstable/stable/testing to
etch release.
Frank Lichtenheld [Mon, 9 Apr 2007 20:48:02 +0000 (20:48 +0000)]
s/stable/oldstable/
Frank Lichtenheld [Mon, 9 Apr 2007 20:47:14 +0000 (20:47 +0000)]
Also download Release(.gpg) for security
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
Frank Lichtenheld [Sat, 2 Dec 2006 00:08:52 +0000 (00:08 +0000)]
string2id(): Also allow ":.-"
Frank Lichtenheld [Tue, 28 Nov 2006 23:25:20 +0000 (23:25 +0000)]
Some updates to list of supported fields and about the reportbug
concerns
Frank Lichtenheld [Tue, 28 Nov 2006 02:44:49 +0000 (02:44 +0000)]
Add a proof-of-concept rfc822 output for search results
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)
Frank Lichtenheld [Tue, 28 Nov 2006 02:22:11 +0000 (02:22 +0000)]
Some misc fixes
Frank Lichtenheld [Tue, 28 Nov 2006 02:21:08 +0000 (02:21 +0000)]
Move a remaining HTML message from DoShow.pm to show.tmpl
(this commit contaminates the config.tmpl with the packages.debian.net
settings, but I couldn't care less atm ;)
Frank Lichtenheld [Tue, 28 Nov 2006 00:40:55 +0000 (00:40 +0000)]
Try another layout for the "moreinfo" part
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
Frank Lichtenheld [Tue, 28 Nov 2006 00:38:49 +0000 (00:38 +0000)]
Some updates to the mirror list
Frank Lichtenheld [Tue, 28 Nov 2006 00:38:27 +0000 (00:38 +0000)]
Add a missing </a>
Frank Lichtenheld [Tue, 28 Nov 2006 00:36:44 +0000 (00:36 +0000)]
Finally fix the new packages rss feed
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
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
Frank Lichtenheld [Fri, 24 Nov 2006 01:31:51 +0000 (01:31 +0000)]
Move more messages from DoSearch.pm to search.tmpl, similar to what
I've already done for search_contents.tmpl
Frank Lichtenheld [Fri, 24 Nov 2006 01:30:19 +0000 (01:30 +0000)]
Also create source versions for suite_index
Frank Lichtenheld [Fri, 24 Nov 2006 01:29:46 +0000 (01:29 +0000)]
Fix the nav bars to make more sense for source pages
Frank Lichtenheld [Fri, 24 Nov 2006 01:28:24 +0000 (01:28 +0000)]
@TAKE_NEWEST: add url
@STORE_ALL: add sha1, sha256, and task
Frank Lichtenheld [Fri, 24 Nov 2006 01:27:20 +0000 (01:27 +0000)]
Make the Packages::(Src)Page object available to the template
Frank Lichtenheld [Fri, 24 Nov 2006 01:26:19 +0000 (01:26 +0000)]
Fix the links to versions of a site in other languages
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
Frank Lichtenheld [Thu, 23 Nov 2006 22:26:24 +0000 (22:26 +0000)]
Add a note about section handling in search_contents
Frank Lichtenheld [Thu, 23 Nov 2006 22:24:05 +0000 (22:24 +0000)]
make sure all_architectures is sorted
some whitespace fixes
Frank Lichtenheld [Thu, 23 Nov 2006 22:23:04 +0000 (22:23 +0000)]
Add facilities to display a site wide message on all pages
Frank Lichtenheld [Thu, 23 Nov 2006 22:22:29 +0000 (22:22 +0000)]
Fix "search in all architectures" link
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
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.
Frank Lichtenheld [Thu, 23 Nov 2006 00:46:41 +0000 (00:46 +0000)]
ftp.debian.org doesn't have all architectures, so better don't
use it as default value