]> git.deb.at Git - deb/packages.git/log
deb/packages.git
18 years agoThese changes make the search_packages.pl script mod_perl ready
Frank Lichtenheld [Fri, 3 Feb 2006 20:03:19 +0000 (20:03 +0000)]
These changes make the search_packages.pl script mod_perl ready
and try to make some optimisations for this (e.g. tie'ing the
Databases only once)

18 years agoAlso move the result printing to a function
Frank Lichtenheld [Thu, 2 Feb 2006 16:00:16 +0000 (16:00 +0000)]
Also move the result printing to a function

18 years agoDo some work to get show_package.pl to work -- not completed yet
Jeroen van Wolffelaar [Thu, 2 Feb 2006 15:52:46 +0000 (15:52 +0000)]
Do some work to get show_package.pl to work -- not completed yet

18 years agoAdd $Id$
Jeroen van Wolffelaar [Thu, 2 Feb 2006 15:39:22 +0000 (15:39 +0000)]
Add $Id$

18 years ago* Move all the debug/error/message output to functions so that
Frank Lichtenheld [Thu, 2 Feb 2006 15:32:21 +0000 (15:32 +0000)]
* Move all the debug/error/message output to functions so that
  we can bundle all output at one point
* Read root variable (for $ROOT) from config.sh if available

18 years agoBluntly copy package_pages_walker
Jeroen van Wolffelaar [Thu, 2 Feb 2006 15:29:20 +0000 (15:29 +0000)]
Bluntly copy package_pages_walker

18 years agoPrint links to alternative suites, print raw data from _all db
Jeroen van Wolffelaar [Thu, 2 Feb 2006 15:07:43 +0000 (15:07 +0000)]
Print links to alternative suites, print raw data from _all db

18 years agoCompletly remove the XML stuff. I never really used it and currently it
Frank Lichtenheld [Thu, 2 Feb 2006 14:44:26 +0000 (14:44 +0000)]
Completly remove the XML stuff. I never really used it and currently it
just clobbers the code

18 years ago* Fix display of binary packages in source package search
Frank Lichtenheld [Thu, 2 Feb 2006 14:40:24 +0000 (14:40 +0000)]
* Fix display of binary packages in source package search
* Completly get rid of global variables in read_* and do_names_search

18 years agoPrint footer
Jeroen van Wolffelaar [Thu, 2 Feb 2006 13:58:08 +0000 (13:58 +0000)]
Print footer

18 years agoMove some more parameter logic to the Search.pm modul
Frank Lichtenheld [Thu, 2 Feb 2006 13:57:34 +0000 (13:57 +0000)]
Move some more parameter logic to the Search.pm modul

18 years agoFirst version of the 'static page' dynamic perl script
Jeroen van Wolffelaar [Thu, 2 Feb 2006 13:49:08 +0000 (13:49 +0000)]
First version of the 'static page' dynamic perl script

18 years agoSet $ROOT. Sorry Frank, but I don't know much about globals and config.sh...
Jeroen van Wolffelaar [Thu, 2 Feb 2006 13:25:28 +0000 (13:25 +0000)]
Set $ROOT. Sorry Frank, but I don't know much about globals and config.sh...
maybe you can look into that :)?

18 years agoAllow "static page" url's
Jeroen van Wolffelaar [Thu, 2 Feb 2006 13:23:32 +0000 (13:23 +0000)]
Allow "static page" url's

18 years ago- Move fulltext search to own function, too
Frank Lichtenheld [Thu, 2 Feb 2006 13:17:31 +0000 (13:17 +0000)]
- Move fulltext search to own function, too
- Use fewer global variables in the search functions, should be
  reduced to none, really
- Fix some Perl warnings

18 years agoPrint total page evaluation time if debug allowed (also nice hint that you
Jeroen van Wolffelaar [Thu, 2 Feb 2006 12:47:44 +0000 (12:47 +0000)]
Print total page evaluation time if debug allowed (also nice hint that you
left that on in production)

18 years agoFix thinko, now returning all substring results again
Jeroen van Wolffelaar [Thu, 2 Feb 2006 12:34:25 +0000 (12:34 +0000)]
Fix thinko, now returning all substring results again
s/too much hits/too many hits/

18 years agoDeal correctly with exact matches on substring search, and don't yield bogus
Jeroen van Wolffelaar [Thu, 2 Feb 2006 12:23:50 +0000 (12:23 +0000)]
Deal correctly with exact matches on substring search, and don't yield bogus
only result when there was no match

18 years agoSome random idea's and thoughts
Jeroen van Wolffelaar [Thu, 2 Feb 2006 12:11:38 +0000 (12:11 +0000)]
Some random idea's and thoughts

18 years agoCopy of default search form page
Jeroen van Wolffelaar [Thu, 2 Feb 2006 11:29:41 +0000 (11:29 +0000)]
Copy of default search form page

18 years agoUse $SEARCH_CGI
Jeroen van Wolffelaar [Thu, 2 Feb 2006 11:27:42 +0000 (11:27 +0000)]
Use $SEARCH_CGI

18 years agoIntroduce php wrapper for those hosts that don't have perl enabled
Jeroen van Wolffelaar [Thu, 2 Feb 2006 11:26:47 +0000 (11:26 +0000)]
Introduce php wrapper for those hosts that don't have perl enabled

18 years agoIntroduce $SEARCH_CGI
Jeroen van Wolffelaar [Thu, 2 Feb 2006 11:25:40 +0000 (11:25 +0000)]
Introduce $SEARCH_CGI

18 years agoRead options from stdin when called from PHP, nuke tons of warnings by setting
Jeroen van Wolffelaar [Thu, 2 Feb 2006 11:00:52 +0000 (11:00 +0000)]
Read options from stdin when called from PHP, nuke tons of warnings by setting
$debug if not defined

18 years agoSome general checklist notes
Jeroen van Wolffelaar [Thu, 2 Feb 2006 01:36:01 +0000 (01:36 +0000)]
Some general checklist notes

18 years agoFirst version of TODO listing items to think about
Jeroen van Wolffelaar [Thu, 2 Feb 2006 01:35:20 +0000 (01:35 +0000)]
First version of TODO listing items to think about

18 years agoIn postfixes db's, store empty prefix as '^' to work around weird split
Jeroen van Wolffelaar [Thu, 2 Feb 2006 01:02:23 +0000 (01:02 +0000)]
In postfixes db's, store empty prefix as '^' to work around weird split
behaviour

18 years agoImplement postfix search for source packages and merge the
Frank Lichtenheld [Thu, 2 Feb 2006 00:51:35 +0000 (00:51 +0000)]
Implement postfix search for source packages and merge the
code for names and sourcenames search together

18 years agoAdd full text search
Frank Lichtenheld [Thu, 2 Feb 2006 00:39:13 +0000 (00:39 +0000)]
Add full text search

18 years agoDrop NUL characters and collate whitespace in descriptions.txt
Jeroen van Wolffelaar [Thu, 2 Feb 2006 00:16:06 +0000 (00:16 +0000)]
Drop NUL characters and collate whitespace in descriptions.txt

18 years agoIn packages_all_$suite, store only description Id, not full description, nor
Jeroen van Wolffelaar [Thu, 2 Feb 2006 00:08:37 +0000 (00:08 +0000)]
In packages_all_$suite, store only description Id, not full description, nor
repeat those fields that are already in the index. *do* add fields that are
not normally available, such as the section & subsection one, and always a
'source' one without version, that always exists and points to the source.

Drop maintainer too, that info should be gotten from source package, which has
co-maintainers too

18 years agoImplement source postfixes
Jeroen van Wolffelaar [Wed, 1 Feb 2006 23:51:41 +0000 (23:51 +0000)]
Implement source postfixes

18 years agoImplement prefix search for package name subword matches. Should be way
Frank Lichtenheld [Wed, 1 Feb 2006 23:32:30 +0000 (23:32 +0000)]
Implement prefix search for package name subword matches. Should be way
faster now

18 years agoImplement source package names search (no binary package information
Frank Lichtenheld [Wed, 1 Feb 2006 21:55:20 +0000 (21:55 +0000)]
Implement source package names search (no binary package information
yet)

18 years agoDrop srcversion logic that was unused
Jeroen van Wolffelaar [Wed, 1 Feb 2006 21:46:00 +0000 (21:46 +0000)]
Drop srcversion logic that was unused

18 years agoSet priority to '-' if it isn't in the Sources.gz file
Jeroen van Wolffelaar [Wed, 1 Feb 2006 21:45:33 +0000 (21:45 +0000)]
Set priority to '-' if it isn't in the Sources.gz file

18 years ago- Add working debugging mode (1 as parameter -> do only non-free)
Jeroen van Wolffelaar [Wed, 1 Feb 2006 21:29:41 +0000 (21:29 +0000)]
- Add working debugging mode (1 as parameter -> do only non-free)
- Add sources_small.db
- Split section also in sources_all

18 years agoSplit section (main, etc.) from subsection (admin, etc.) on db generation
Frank Lichtenheld [Wed, 1 Feb 2006 21:15:14 +0000 (21:15 +0000)]
Split section (main, etc.) from subsection (admin, etc.) on db generation

18 years agoImplement package postfix indexing
Jeroen van Wolffelaar [Wed, 1 Feb 2006 20:39:59 +0000 (20:39 +0000)]
Implement package postfix indexing

18 years agoImplement subword package search by linear search. Too slow, though
Frank Lichtenheld [Wed, 1 Feb 2006 20:00:45 +0000 (20:00 +0000)]
Implement subword package search by linear search. Too slow, though

18 years ago* Implement exact packages search
Frank Lichtenheld [Wed, 1 Feb 2006 19:13:44 +0000 (19:13 +0000)]
* Implement exact packages search
* Implement path parsing

18 years agoAdd some dummy sub routines that emulate some yet missing modules
Frank Lichtenheld [Wed, 1 Feb 2006 19:08:15 +0000 (19:08 +0000)]
Add some dummy sub routines that emulate some yet missing modules

18 years ago* Adapt for current hosting (i.e. packages.debian.net)
Frank Lichtenheld [Wed, 1 Feb 2006 19:07:22 +0000 (19:07 +0000)]
* Adapt for current hosting (i.e. packages.debian.net)
* Add possibility to pass path-info to the search script via
  PT

18 years agoRemove debugging shortcut
Jeroen van Wolffelaar [Wed, 1 Feb 2006 15:28:50 +0000 (15:28 +0000)]
Remove debugging shortcut

18 years agoParse scripts for Packages.gz files and Sources.gz files, to generate database
Jeroen van Wolffelaar [Wed, 1 Feb 2006 15:18:06 +0000 (15:18 +0000)]
Parse scripts for Packages.gz files and Sources.gz files, to generate database
files

18 years agoInclude all stuff to be quickly able to set up a experimental search script
Frank Lichtenheld [Wed, 1 Feb 2006 15:09:57 +0000 (15:09 +0000)]
Include all stuff to be quickly able to set up a experimental search script

18 years agoAdd apache configuration
Frank Lichtenheld [Wed, 1 Feb 2006 14:44:35 +0000 (14:44 +0000)]
Add apache configuration

18 years agoPaging stuff that is independent from any backend considerations
Frank Lichtenheld [Wed, 1 Feb 2006 14:29:55 +0000 (14:29 +0000)]
Paging stuff that is independent from any backend considerations

18 years agoInclude some stuff from the old pages we will need anyway
Frank Lichtenheld [Wed, 1 Feb 2006 14:26:41 +0000 (14:26 +0000)]
Include some stuff from the old pages we will need anyway

18 years agoUups
Frank Lichtenheld [Wed, 1 Feb 2006 14:18:12 +0000 (14:18 +0000)]
Uups

18 years agoTrunk created
Jeroen van Wolffelaar [Wed, 1 Feb 2006 13:59:49 +0000 (13:59 +0000)]
Trunk created