]>
git.deb.at Git - deb/packages.git/log
Frank Lichtenheld [Sat, 14 Apr 2007 17:23:39 +0000 (19:23 +0200)]
Basic configuration for packages.ubuntu.com
Site is actually packages.ubuntu.lichtenheld.net until
I switch the real site to this code.
This doesn't change any HTML templates yet. So the site
still look a lot like packages.debian.org. Basic
functionality should be there, though.
Frank Lichtenheld [Sat, 14 Apr 2007 17:20:40 +0000 (19:20 +0200)]
Default to etch mod_perl configuration since this is self-hosted by me
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
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
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
Frank Lichtenheld [Tue, 21 Nov 2006 22:29:39 +0000 (22:29 +0000)]
fun with module name differences between sarge and etch
Frank Lichtenheld [Tue, 21 Nov 2006 22:22:13 +0000 (22:22 +0000)]
Update for use with apache2/mod-perl2
Frank Lichtenheld [Tue, 21 Nov 2006 21:52:29 +0000 (21:52 +0000)]
Do some often needed adjustments when setting up a site with
a central script
Frank Lichtenheld [Tue, 21 Nov 2006 19:35:19 +0000 (19:35 +0000)]
Add these two images so that we don't have to link to
the versions on www.debian.org
Frank Lichtenheld [Sun, 19 Nov 2006 19:43:48 +0000 (19:43 +0000)]
import 010cvs (renamed to 010svn of course) and 050checkinst from old code.
Frank Lichtenheld [Sun, 12 Nov 2006 23:58:34 +0000 (23:58 +0000)]
Try to handle binNMUs better (new version format only)
Prefer packages from central archive over others (i.e. unofficial
ones)
Frank Lichtenheld [Sun, 12 Nov 2006 23:15:49 +0000 (23:15 +0000)]
Escape any & we add in make_search_url
Frank Lichtenheld [Sun, 12 Nov 2006 20:59:51 +0000 (20:59 +0000)]
Better error message when config.sh is missing
(Similar fix to DB.pm)
Frank Lichtenheld [Sun, 12 Nov 2006 20:24:48 +0000 (20:24 +0000)]
Create $DBDIR if it doesn't exist
Handle missing Packages/Sources files a little bit more gracefully which makes the log much easier to read
Frank Lichtenheld [Sun, 12 Nov 2006 18:17:32 +0000 (18:17 +0000)]
The "back from the dark" Commit :)
Handle missing packages_small.db better to produce a more meaningful error
message in the log
Frank Lichtenheld [Sun, 16 Apr 2006 20:55:37 +0000 (20:55 +0000)]
Merge AMD64 changes from current code
Jeroen van Wolffelaar [Fri, 24 Mar 2006 02:11:36 +0000 (02:11 +0000)]
Show debtags if available
Jeroen van Wolffelaar [Mon, 6 Mar 2006 14:37:57 +0000 (14:37 +0000)]
Skip arch:all for 3rd party repositories that provide new archs
Frank Lichtenheld [Fri, 3 Mar 2006 22:13:12 +0000 (22:13 +0000)]
There are no Contents files for udebs. But there are Contents files
for volatile
Frank Lichtenheld [Fri, 3 Mar 2006 14:16:13 +0000 (14:16 +0000)]
Fix some smaller issues reported by Thijs Kinkhorst
Frank Lichtenheld [Fri, 3 Mar 2006 13:39:53 +0000 (13:39 +0000)]
We welcome DoSearchContents.pm to the "multiple keywords" age
Jeroen van Wolffelaar [Fri, 3 Mar 2006 09:16:28 +0000 (09:16 +0000)]
Fix cross-suite links, copy&waste mistake
Frank Lichtenheld [Fri, 3 Mar 2006 03:24:32 +0000 (03:24 +0000)]
Support multiple keywords
Frank Lichtenheld [Fri, 3 Mar 2006 03:23:44 +0000 (03:23 +0000)]
Fix linking to pure virtual packages in dep_list. Linking is not
correctly in all cases, though
Frank Lichtenheld [Fri, 3 Mar 2006 02:39:54 +0000 (02:39 +0000)]
Small adjustments
Jeroen van Wolffelaar [Fri, 3 Mar 2006 02:29:25 +0000 (02:29 +0000)]
Hilight the keyword in contents searches
Jeroen van Wolffelaar [Fri, 3 Mar 2006 02:15:05 +0000 (02:15 +0000)]
Fix going via the 3 modes of contents search
Frank Lichtenheld [Fri, 3 Mar 2006 00:54:09 +0000 (00:54 +0000)]
- Fix some issues with non-US handling
- volatile and backports are archives, partly revert a earlier patch
that accidently removed that
- after that we can clean-up some ftp_site handling code
(except for some ugly non-US hacks)
- add kfreebsd-amd64
Frank Lichtenheld [Fri, 3 Mar 2006 00:21:58 +0000 (00:21 +0000)]
Add missing comma
Frank Lichtenheld [Fri, 3 Mar 2006 00:06:53 +0000 (00:06 +0000)]
- Make lookup of download sites completly archive based
- Add some kfreebsd-Mirrors (via Robert Millan)
- Add kfreebsd-amd64 support
Frank Lichtenheld [Thu, 2 Mar 2006 23:53:28 +0000 (23:53 +0000)]
- Merge in some changes by Joey
- Some code cleanup
Frank Lichtenheld [Thu, 2 Mar 2006 00:29:27 +0000 (00:29 +0000)]
- Further fixes to the arch handling
- Give some hints for related searches