]> git.deb.at Git - deb/packages.git/log
deb/packages.git
18 years agoDisplay the index pages from within dispatcher.pl. That reduces the complexity
Frank Lichtenheld [Wed, 22 Feb 2006 22:20:20 +0000 (22:20 +0000)]
Display the index pages from within dispatcher.pl. That reduces the complexity
of the Apache setup

18 years agoRevert the commit that deleted some version-related methods since they
Frank Lichtenheld [Wed, 22 Feb 2006 22:18:37 +0000 (22:18 +0000)]
Revert the commit that deleted some version-related methods since they
are used by create_index_pages

18 years agoUups, forgot one use of $debug_allowed
Frank Lichtenheld [Wed, 22 Feb 2006 20:39:35 +0000 (20:39 +0000)]
Uups, forgot one use of $debug_allowed

18 years agoMove $debug_allowed to CGI as a real constant and modify all debug() calls
Frank Lichtenheld [Wed, 22 Feb 2006 20:20:37 +0000 (20:20 +0000)]
Move $debug_allowed to CGI as a real constant and modify all debug() calls
with a if DEBUG so that perl can possibly optimise them away completly

18 years agoAdd stuff
Jeroen van Wolffelaar [Wed, 22 Feb 2006 02:35:41 +0000 (02:35 +0000)]
Add stuff

18 years agoMove list of files to the end of the table, other entries relate more directly
Jeroen van Wolffelaar [Wed, 22 Feb 2006 02:30:04 +0000 (02:30 +0000)]
Move list of files to the end of the table, other entries relate more directly
to the package itself

18 years agoMove version info to arch table (only when there are actually multiple
Jeroen van Wolffelaar [Wed, 22 Feb 2006 02:27:38 +0000 (02:27 +0000)]
Move version info to arch table (only when there are actually multiple
versions), making looks at the top a bit more clearer

18 years agoShow full pathnames in filelist view
Jeroen van Wolffelaar [Wed, 22 Feb 2006 01:54:52 +0000 (01:54 +0000)]
Show full pathnames in filelist view

18 years agoShow full path (with initial slash)
Jeroen van Wolffelaar [Wed, 22 Feb 2006 01:51:53 +0000 (01:51 +0000)]
Show full path (with initial slash)

18 years agoUse _g instead of gettext, the former works, the latter doesn't
Jeroen van Wolffelaar [Wed, 22 Feb 2006 01:51:14 +0000 (01:51 +0000)]
Use _g instead of gettext, the former works, the latter doesn't

18 years agoInform user about using aptitude/synaptic instead of this website is also
Jeroen van Wolffelaar [Wed, 22 Feb 2006 01:44:30 +0000 (01:44 +0000)]
Inform user about using aptitude/synaptic instead of this website is also
possible

18 years agoReplace _() with _g() everywhere. Oddly enough, it works under mod_perl,
Frank Lichtenheld [Wed, 22 Feb 2006 01:41:28 +0000 (01:41 +0000)]
Replace _() with _g() everywhere. Oddly enough, it works under mod_perl,
but not anywhere else

18 years agoRemove a line that only made sense in the context where I copied the
Frank Lichtenheld [Wed, 22 Feb 2006 01:31:57 +0000 (01:31 +0000)]
Remove a line that only made sense in the context where I copied the
code from

18 years agoMisc documentation updates
Frank Lichtenheld [Wed, 22 Feb 2006 01:28:26 +0000 (01:28 +0000)]
Misc documentation updates

18 years agoAdd basic l10n support.
Frank Lichtenheld [Wed, 22 Feb 2006 01:20:31 +0000 (01:20 +0000)]
Add basic l10n support.
Still has some rough edges, especially the fact that MultiViews and my
Rewrite rules don't play together at all.

18 years agoUse fgrep also for description search
Jeroen van Wolffelaar [Wed, 22 Feb 2006 00:49:57 +0000 (00:49 +0000)]
Use fgrep also for description search

18 years agoMake a list of pieces that still need to be merged from old code
Frank Lichtenheld [Wed, 22 Feb 2006 00:41:36 +0000 (00:41 +0000)]
Make a list of pieces that still need to be merged from old code

18 years agoActually update index pages in cronjob
Frank Lichtenheld [Wed, 22 Feb 2006 00:38:43 +0000 (00:38 +0000)]
Actually update index pages in cronjob

18 years agoRevert r143 for DoShow.pm, I accidently *reduced* imports, breaking it
Jeroen van Wolffelaar [Wed, 22 Feb 2006 00:35:44 +0000 (00:35 +0000)]
Revert r143 for DoShow.pm, I accidently *reduced* imports, breaking it

18 years agoImport marker from Packages::HTML where used
Jeroen van Wolffelaar [Wed, 22 Feb 2006 00:20:13 +0000 (00:20 +0000)]
Import marker from Packages::HTML where used

18 years agoUse the correct URL parameter separator (&)
Jeroen van Wolffelaar [Tue, 21 Feb 2006 14:26:24 +0000 (14:26 +0000)]
Use the correct URL parameter separator (&)

18 years agoremove $SEARCH_CGI since it is always identical with $SEARCH_URL
Frank Lichtenheld [Tue, 21 Feb 2006 13:53:57 +0000 (13:53 +0000)]
remove $SEARCH_CGI since it is always identical with $SEARCH_URL
nowadays.
Fix some generated URLS

18 years agoFix a few warnings, be more strict in what we accept
Jeroen van Wolffelaar [Tue, 21 Feb 2006 13:27:22 +0000 (13:27 +0000)]
Fix a few warnings, be more strict in what we accept

18 years agoBig CSS cleanup, move all style definitions to CSS files.
Frank Lichtenheld [Tue, 21 Feb 2006 13:19:24 +0000 (13:19 +0000)]
Big CSS cleanup, move all style definitions to CSS files.
Split CSS files in debian.css and packages.css.

18 years agoCleanup old stuff
Frank Lichtenheld [Tue, 21 Feb 2006 13:18:25 +0000 (13:18 +0000)]
Cleanup old stuff

18 years agoUse exact wallclocktime when available (it's in the 'perl' package)
Jeroen van Wolffelaar [Tue, 21 Feb 2006 13:07:45 +0000 (13:07 +0000)]
Use exact wallclocktime when available (it's in the 'perl' package)

18 years agoMake result display of DoSearchContents actually usable
Frank Lichtenheld [Tue, 21 Feb 2006 03:26:10 +0000 (03:26 +0000)]
Make result display of DoSearchContents actually usable

18 years agoNote problem with kfreebsd-i386 contents files
Frank Lichtenheld [Tue, 21 Feb 2006 03:25:25 +0000 (03:25 +0000)]
Note problem with kfreebsd-i386 contents files

18 years agoHmm, architecture names can contain '-'
Frank Lichtenheld [Tue, 21 Feb 2006 01:15:50 +0000 (01:15 +0000)]
Hmm, architecture names can contain '-'

18 years agoActually search on filenames
Jeroen van Wolffelaar [Mon, 20 Feb 2006 15:35:04 +0000 (15:35 +0000)]
Actually search on filenames

18 years agoprint_deps: If a virtual package is only provided by a few packages,
Frank Lichtenheld [Mon, 20 Feb 2006 15:31:00 +0000 (15:31 +0000)]
print_deps: If a virtual package is only provided by a few packages,
show a list of these directly

18 years agochange read_entry_simple again to use
Frank Lichtenheld [Mon, 20 Feb 2006 15:29:42 +0000 (15:29 +0000)]
change read_entry_simple again to use
real package > virtual package > fuzzy real package > fuzzy virtual package
(Better would probably be to return real and virtual packages seperatly to give
the caller more choice over what preferences he wants)

18 years agoFix contents search my moving it to lib, like the rest. Still a bit rough.
Jeroen van Wolffelaar [Mon, 20 Feb 2006 15:26:24 +0000 (15:26 +0000)]
Fix contents search my moving it to lib, like the rest. Still a bit rough.

18 years agoin read_entry_simple, prefer real packages over virtual ones
Frank Lichtenheld [Mon, 20 Feb 2006 15:21:39 +0000 (15:21 +0000)]
in read_entry_simple, prefer real packages over virtual ones

18 years agoFix handling of parameters when more than one replace pattern has
Frank Lichtenheld [Mon, 20 Feb 2006 15:05:34 +0000 (15:05 +0000)]
Fix handling of parameters when more than one replace pattern has
been given

18 years agoDefault to sourcenames search when displaying source packages
Frank Lichtenheld [Mon, 20 Feb 2006 14:53:37 +0000 (14:53 +0000)]
Default to sourcenames search when displaying source packages

18 years agoFix usage of wrong hash introduced by last commits
Frank Lichtenheld [Mon, 20 Feb 2006 14:52:16 +0000 (14:52 +0000)]
Fix usage of wrong hash introduced by last commits

18 years agoMerge print_deps and print_src_deps and move the differences of print_src_deps
Frank Lichtenheld [Mon, 20 Feb 2006 14:43:53 +0000 (14:43 +0000)]
Merge print_deps and print_src_deps and move the differences of print_src_deps
to SrcPage->get_dep_field.

18 years agoAdd an additional debug output to track $too_many_hits better
Frank Lichtenheld [Mon, 20 Feb 2006 14:42:33 +0000 (14:42 +0000)]
Add an additional debug output to track $too_many_hits better

18 years agoadd stuff
Jeroen van Wolffelaar [Mon, 20 Feb 2006 14:38:53 +0000 (14:38 +0000)]
add stuff

18 years agoFix copy&waste error in label
Jeroen van Wolffelaar [Mon, 20 Feb 2006 14:35:51 +0000 (14:35 +0000)]
Fix copy&waste error in label

18 years agoAlways set $opts{searchon_form}
Frank Lichtenheld [Mon, 20 Feb 2006 14:35:40 +0000 (14:35 +0000)]
Always set $opts{searchon_form}

18 years agoUnbuffered output, for tail -f'ing cron.log
Jeroen van Wolffelaar [Mon, 20 Feb 2006 14:32:16 +0000 (14:32 +0000)]
Unbuffered output, for tail -f'ing cron.log

18 years agoAdd stuff
Jeroen van Wolffelaar [Mon, 20 Feb 2006 14:28:33 +0000 (14:28 +0000)]
Add stuff

18 years ago- Fix typo in quicksearch box
Jeroen van Wolffelaar [Mon, 20 Feb 2006 14:24:46 +0000 (14:24 +0000)]
- Fix typo in quicksearch box
- add option for contents search
- drop "only" from "Package names only", because that makes less sense now
- parse 'default' correctly

18 years agoI renamed the config dir a while ago, fix that (now that we have something
Frank Lichtenheld [Mon, 20 Feb 2006 13:33:16 +0000 (13:33 +0000)]
I renamed the config dir a while ago, fix that (now that we have something
using this variable with the changelogs stuff)

18 years agoAdd a missing brace
Frank Lichtenheld [Mon, 20 Feb 2006 02:57:15 +0000 (02:57 +0000)]
Add a missing brace

18 years agoAdd a simple script that call parse-packages, parse-source and parse-contents
Frank Lichtenheld [Mon, 20 Feb 2006 02:35:41 +0000 (02:35 +0000)]
Add a simple script that call parse-packages, parse-source and parse-contents

18 years agoAlso skip experimental when using a local mirror
Frank Lichtenheld [Mon, 20 Feb 2006 02:34:51 +0000 (02:34 +0000)]
Also skip experimental when using a local mirror

18 years agoThere is no installer in experimental
Frank Lichtenheld [Mon, 20 Feb 2006 02:27:40 +0000 (02:27 +0000)]
There is no installer in experimental

18 years agoof course we should only delete the lockfile after we finished but
Frank Lichtenheld [Mon, 20 Feb 2006 02:27:18 +0000 (02:27 +0000)]
of course we should only delete the lockfile after we finished but
not if we canceled the job because we couldn't get the lock...

18 years agoImport the old changelog extraction stuff
Frank Lichtenheld [Mon, 20 Feb 2006 01:54:09 +0000 (01:54 +0000)]
Import the old changelog extraction stuff

18 years agoRemove stupid debugging aid I forgot in the code
Frank Lichtenheld [Thu, 16 Feb 2006 03:23:57 +0000 (03:23 +0000)]
Remove stupid debugging aid I forgot in the code

18 years agoOnly have one CGI-Script and move most of the code from the
Frank Lichtenheld [Wed, 15 Feb 2006 00:31:11 +0000 (00:31 +0000)]
Only have one CGI-Script and move most of the code from the
old ones to modules

18 years agoCreate DBDIR if it doesn't exist
Frank Lichtenheld [Tue, 14 Feb 2006 22:09:22 +0000 (22:09 +0000)]
Create DBDIR if it doesn't exist

18 years agoDrop obsolete fixme
Jeroen van Wolffelaar [Tue, 14 Feb 2006 02:54:54 +0000 (02:54 +0000)]
Drop obsolete fixme

18 years agoUpdate copyright notice -- in this file, no code not my own
Jeroen van Wolffelaar [Tue, 14 Feb 2006 02:54:21 +0000 (02:54 +0000)]
Update copyright notice -- in this file, no code not my own

18 years agoHandle security and non-US correctly
Frank Lichtenheld [Tue, 14 Feb 2006 02:45:43 +0000 (02:45 +0000)]
Handle security and non-US correctly

18 years agoDon't redo expensive cross-suite merging merging when not needed
Jeroen van Wolffelaar [Tue, 14 Feb 2006 02:13:48 +0000 (02:13 +0000)]
Don't redo expensive cross-suite merging merging when not needed

18 years agoDocument contents backend stuff loosely, still subject to change
Jeroen van Wolffelaar [Tue, 14 Feb 2006 02:07:32 +0000 (02:07 +0000)]
Document contents backend stuff loosely, still subject to change
(filenames_$suite.txt is inadequate)

18 years agoAdd my comments
Jeroen van Wolffelaar [Tue, 14 Feb 2006 02:02:40 +0000 (02:02 +0000)]
Add my comments

18 years agoImplement exact filename searches properly, implement random-substring
Jeroen van Wolffelaar [Tue, 14 Feb 2006 01:37:27 +0000 (01:37 +0000)]
Implement exact filename searches properly, implement random-substring
filename searches (but takes 4s worstcase on merkel...)

18 years agoMake it more obvious what are static strings and what are parameters
Frank Lichtenheld [Tue, 14 Feb 2006 01:28:00 +0000 (01:28 +0000)]
Make it more obvious what are static strings and what are parameters

18 years agoTry to give an overview over the different uses of packages.d.o
Frank Lichtenheld [Tue, 14 Feb 2006 01:12:44 +0000 (01:12 +0000)]
Try to give an overview over the different uses of packages.d.o
and the parameters that need to be given for each one

18 years agoImplement exact filename searching
Jeroen van Wolffelaar [Tue, 14 Feb 2006 00:33:15 +0000 (00:33 +0000)]
Implement exact filename searching

18 years agoImplement search_contents bluntly
Jeroen van Wolffelaar [Tue, 14 Feb 2006 00:27:02 +0000 (00:27 +0000)]
Implement search_contents bluntly

18 years agoAdd working download.pl
Frank Lichtenheld [Mon, 13 Feb 2006 23:44:35 +0000 (23:44 +0000)]
Add working download.pl

18 years agoClarify where virtual stuff goes wrong
Jeroen van Wolffelaar [Mon, 13 Feb 2006 23:42:24 +0000 (23:42 +0000)]
Clarify where virtual stuff goes wrong

18 years agoFix path to contents db
Jeroen van Wolffelaar [Mon, 13 Feb 2006 23:18:31 +0000 (23:18 +0000)]
Fix path to contents db

18 years ago- Significant performance and memory demand improvements
Jeroen van Wolffelaar [Mon, 13 Feb 2006 23:15:24 +0000 (23:15 +0000)]
- Significant performance and memory demand improvements
- cache filename list appropriately
- create reverse db per suite, not per (suite,arch)
- stash DB's in subdir of $DBDIR, to not clutter the toplevel dbdir up too
  much

18 years agoAdd documentation about used backend files
Jeroen van Wolffelaar [Mon, 13 Feb 2006 20:49:57 +0000 (20:49 +0000)]
Add documentation about used backend files

18 years agoDisable multi-page results while that is inefficient and we don't show more
Jeroen van Wolffelaar [Fri, 10 Feb 2006 22:18:31 +0000 (22:18 +0000)]
Disable multi-page results while that is inefficient and we don't show more
than 100 results ever anyway

18 years agoFix a link w.r.t. $ROOT
Jeroen van Wolffelaar [Fri, 10 Feb 2006 22:17:27 +0000 (22:17 +0000)]
Fix a link w.r.t. $ROOT

18 years agoFix full description search: operator precedence causing zero hits, match
Jeroen van Wolffelaar [Fri, 10 Feb 2006 22:17:05 +0000 (22:17 +0000)]
Fix full description search: operator precedence causing zero hits, match
arch=all always instead of never, and stop after 100 results and set
too_many_results accordingly

18 years agoFix typo, add entry for contents search
Jeroen van Wolffelaar [Fri, 10 Feb 2006 21:52:05 +0000 (21:52 +0000)]
Fix typo, add entry for contents search

18 years agoAdd note about wrong assumption that a package is either virtual or concrete
Jeroen van Wolffelaar [Fri, 10 Feb 2006 21:49:47 +0000 (21:49 +0000)]
Add note about wrong assumption that a package is either virtual or concrete

18 years agoOptimize and improve full description search by stripping away insignificant
Jeroen van Wolffelaar [Fri, 10 Feb 2006 12:49:58 +0000 (12:49 +0000)]
Optimize and improve full description search by stripping away insignificant
characters, and use 'index' instead of 'regex'. Dropped possibility to do
caseful searches.

18 years agoPrint out headers
Frank Lichtenheld [Fri, 10 Feb 2006 05:05:50 +0000 (05:05 +0000)]
Print out headers

18 years ago* complete virtual package support
Frank Lichtenheld [Fri, 10 Feb 2006 02:13:18 +0000 (02:13 +0000)]
* complete virtual package support
* hardcode encoding of script output to be declared as utf-8 for now, better
  than the CGI.pm default of ISO-8859-1

18 years agoBegin implementing virtual package support.
Frank Lichtenheld [Thu, 9 Feb 2006 17:48:17 +0000 (17:48 +0000)]
Begin implementing virtual package support.
search_package is already working, show_package needs more work

18 years agoFix regex for contents lines: stray tabs got included
Jeroen van Wolffelaar [Wed, 8 Feb 2006 20:26:18 +0000 (20:26 +0000)]
Fix regex for contents lines: stray tabs got included

18 years agoShow filelist from suite/arch specific db
Jeroen van Wolffelaar [Wed, 8 Feb 2006 20:17:43 +0000 (20:17 +0000)]
Show filelist from suite/arch specific db

18 years agoGenerate contents indices for all suites and archs
Jeroen van Wolffelaar [Wed, 8 Feb 2006 20:06:00 +0000 (20:06 +0000)]
Generate contents indices for all suites and archs

18 years agoBasic show_filelist -- works, but ignores arch & suite, takes always the same
Jeroen van Wolffelaar [Wed, 8 Feb 2006 14:31:21 +0000 (14:31 +0000)]
Basic show_filelist -- works, but ignores arch & suite, takes always the same
db

18 years agoWrite out filelists to packages_contents.db in locate-like packed format
Jeroen van Wolffelaar [Wed, 8 Feb 2006 13:32:35 +0000 (13:32 +0000)]
Write out filelists to packages_contents.db in locate-like packed format

18 years agoFirst version of parse-contents, for proto-implementing postfix searches
Jeroen van Wolffelaar [Tue, 7 Feb 2006 16:21:51 +0000 (16:21 +0000)]
First version of parse-contents, for proto-implementing postfix searches

18 years agoAdapt to DB format changes
Frank Lichtenheld [Tue, 7 Feb 2006 15:53:55 +0000 (15:53 +0000)]
Adapt to DB format changes

18 years agoNote about archive/suite, note bug in amd64/security
Jeroen van Wolffelaar [Tue, 7 Feb 2006 15:43:41 +0000 (15:43 +0000)]
Note about archive/suite, note bug in amd64/security

18 years agoMake a note about order in _small.db
Jeroen van Wolffelaar [Tue, 7 Feb 2006 15:40:55 +0000 (15:40 +0000)]
Make a note about order in _small.db

18 years ago- Add $ROOT at appropriate places
Jeroen van Wolffelaar [Tue, 7 Feb 2006 15:20:54 +0000 (15:20 +0000)]
- Add $ROOT at appropriate places
- Move display of 'kB' to the column itself, and right align it

18 years agoOops - drop debugging print
Jeroen van Wolffelaar [Tue, 7 Feb 2006 14:46:34 +0000 (14:46 +0000)]
Oops - drop debugging print

18 years agoReduce complexity during show_package by storing info in _all.db files
Jeroen van Wolffelaar [Tue, 7 Feb 2006 14:41:04 +0000 (14:41 +0000)]
Reduce complexity during show_package by storing info in _all.db files
NUL-separated.
Also, lookup source packages by archive/suite, instead of version

18 years agoSome adjustments:
Frank Lichtenheld [Tue, 7 Feb 2006 13:29:53 +0000 (13:29 +0000)]
Some adjustments:
 - filelist is arch specific
 - there will be "static" source package pages
 - we shouldn't change the sections index urls just for fun

18 years agoAdd a first attampt at some URL layout document. Comments more than welcome
Jeroen van Wolffelaar [Tue, 7 Feb 2006 13:17:30 +0000 (13:17 +0000)]
Add a first attampt at some URL layout document. Comments more than welcome

18 years ago* Add source package display
Frank Lichtenheld [Tue, 7 Feb 2006 01:01:00 +0000 (01:01 +0000)]
* Add source package display
* Move most of the DB init code to own module

18 years agoCreate index pages
Frank Lichtenheld [Mon, 6 Feb 2006 01:42:28 +0000 (01:42 +0000)]
Create index pages
Some source version handling fixes
Introduce list of section/subsection/priority by suite/archive. Since
these are only used for the static pages currently, they are stored
rather expensive via Storable.
Add priority sorting to Deb::Versions

18 years agoFinally get a working solution that handles both static and dynamic
Frank Lichtenheld [Mon, 6 Feb 2006 01:40:32 +0000 (01:40 +0000)]
Finally get a working solution that handles both static and dynamic
pages correctly

18 years agoFix non-US handling
Frank Lichtenheld [Mon, 6 Feb 2006 01:39:49 +0000 (01:39 +0000)]
Fix non-US handling
Fix handling of packages without source package

18 years agoUse local files instead of www.debian.org ones.
Frank Lichtenheld [Mon, 6 Feb 2006 01:38:02 +0000 (01:38 +0000)]
Use local files instead of www.debian.org ones.
Fix handling of packages with missing source package.

18 years agoImport from old source
Frank Lichtenheld [Mon, 6 Feb 2006 01:34:26 +0000 (01:34 +0000)]
Import from old source