]>
git.deb.at Git - deb/packages.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
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
Jeroen van Wolffelaar [Tue, 14 Feb 2006 00:33:15 +0000 (00:33 +0000)]
Implement exact filename searching
Jeroen van Wolffelaar [Tue, 14 Feb 2006 00:27:02 +0000 (00:27 +0000)]
Implement search_contents bluntly
Frank Lichtenheld [Mon, 13 Feb 2006 23:44:35 +0000 (23:44 +0000)]
Add working download.pl
Jeroen van Wolffelaar [Mon, 13 Feb 2006 23:42:24 +0000 (23:42 +0000)]
Clarify where virtual stuff goes wrong
Jeroen van Wolffelaar [Mon, 13 Feb 2006 23:18:31 +0000 (23:18 +0000)]
Fix path to contents db
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
Jeroen van Wolffelaar [Mon, 13 Feb 2006 20:49:57 +0000 (20:49 +0000)]
Add documentation about used backend files
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
Jeroen van Wolffelaar [Fri, 10 Feb 2006 22:17:27 +0000 (22:17 +0000)]
Fix a link w.r.t. $ROOT
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
Jeroen van Wolffelaar [Fri, 10 Feb 2006 21:52:05 +0000 (21:52 +0000)]
Fix typo, add entry for contents search
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
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.
Frank Lichtenheld [Fri, 10 Feb 2006 05:05:50 +0000 (05:05 +0000)]
Print out headers
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
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
Jeroen van Wolffelaar [Wed, 8 Feb 2006 20:26:18 +0000 (20:26 +0000)]
Fix regex for contents lines: stray tabs got included
Jeroen van Wolffelaar [Wed, 8 Feb 2006 20:17:43 +0000 (20:17 +0000)]
Show filelist from suite/arch specific db
Jeroen van Wolffelaar [Wed, 8 Feb 2006 20:06:00 +0000 (20:06 +0000)]
Generate contents indices for all suites and archs
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
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
Jeroen van Wolffelaar [Tue, 7 Feb 2006 16:21:51 +0000 (16:21 +0000)]
First version of parse-contents, for proto-implementing postfix searches
Frank Lichtenheld [Tue, 7 Feb 2006 15:53:55 +0000 (15:53 +0000)]
Adapt to DB format changes
Jeroen van Wolffelaar [Tue, 7 Feb 2006 15:43:41 +0000 (15:43 +0000)]
Note about archive/suite, note bug in amd64/security
Jeroen van Wolffelaar [Tue, 7 Feb 2006 15:40:55 +0000 (15:40 +0000)]
Make a note about order in _small.db
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
Jeroen van Wolffelaar [Tue, 7 Feb 2006 14:46:34 +0000 (14:46 +0000)]
Oops - drop debugging print
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
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
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
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
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
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
Frank Lichtenheld [Mon, 6 Feb 2006 01:39:49 +0000 (01:39 +0000)]
Fix non-US handling
Fix handling of packages without source package
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.
Frank Lichtenheld [Mon, 6 Feb 2006 01:34:26 +0000 (01:34 +0000)]
Import from old source
Jeroen van Wolffelaar [Mon, 6 Feb 2006 00:16:40 +0000 (00:16 +0000)]
Fix several minor issues, mostly configuration-like stuff
Frank Lichtenheld [Sun, 5 Feb 2006 16:59:48 +0000 (16:59 +0000)]
* Move coniguratio stuf to own module
* Overhaul archive handling for show_package
* Begin to make the URL handling somewhat consistent
* Fix source files handling, which was broken by the last upload
Frank Lichtenheld [Sun, 5 Feb 2006 03:14:33 +0000 (03:14 +0000)]
* Complete pmoreinfo
* Some big speed optimisations
Frank Lichtenheld [Sun, 5 Feb 2006 01:55:18 +0000 (01:55 +0000)]
show_package.pl Basic stuff works with still some rough edges and dirty
corners
Frank Lichtenheld [Sat, 4 Feb 2006 21:00:17 +0000 (21:00 +0000)]
A minimal working version of show_package.pl (essentially porting yesterday's
search_packages changes over)
Frank Lichtenheld [Sat, 4 Feb 2006 20:59:08 +0000 (20:59 +0000)]
Used wrong variable for displaying the final benchmark result.
Which actually explains a lot ;)
Frank Lichtenheld [Sat, 4 Feb 2006 00:27:17 +0000 (00:27 +0000)]
Uups
Frank Lichtenheld [Sat, 4 Feb 2006 00:14:50 +0000 (00:14 +0000)]
* Add back some parts of the cron job (100syncarchive_*)
* Use these files from bin/parse-*
* Support different archives
Frank Lichtenheld [Sat, 4 Feb 2006 00:12:06 +0000 (00:12 +0000)]
Forgot to commit some new files related to the mod_perl changes
Frank Lichtenheld [Fri, 3 Feb 2006 20:05:40 +0000 (20:05 +0000)]
Update
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)
Frank Lichtenheld [Thu, 2 Feb 2006 16:00:16 +0000 (16:00 +0000)]
Also move the result printing to a function
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
Jeroen van Wolffelaar [Thu, 2 Feb 2006 15:39:22 +0000 (15:39 +0000)]
Add $Id$
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
Jeroen van Wolffelaar [Thu, 2 Feb 2006 15:29:20 +0000 (15:29 +0000)]
Bluntly copy package_pages_walker
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
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
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
Jeroen van Wolffelaar [Thu, 2 Feb 2006 13:58:08 +0000 (13:58 +0000)]
Print footer
Frank Lichtenheld [Thu, 2 Feb 2006 13:57:34 +0000 (13:57 +0000)]
Move some more parameter logic to the Search.pm modul
Jeroen van Wolffelaar [Thu, 2 Feb 2006 13:49:08 +0000 (13:49 +0000)]
First version of the 'static page' dynamic perl script
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 :)?
Jeroen van Wolffelaar [Thu, 2 Feb 2006 13:23:32 +0000 (13:23 +0000)]
Allow "static page" url's
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
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)
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/
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
Jeroen van Wolffelaar [Thu, 2 Feb 2006 12:11:38 +0000 (12:11 +0000)]
Some random idea's and thoughts
Jeroen van Wolffelaar [Thu, 2 Feb 2006 11:29:41 +0000 (11:29 +0000)]
Copy of default search form page
Jeroen van Wolffelaar [Thu, 2 Feb 2006 11:27:42 +0000 (11:27 +0000)]
Use $SEARCH_CGI
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
Jeroen van Wolffelaar [Thu, 2 Feb 2006 11:25:40 +0000 (11:25 +0000)]
Introduce $SEARCH_CGI
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
Jeroen van Wolffelaar [Thu, 2 Feb 2006 01:36:01 +0000 (01:36 +0000)]
Some general checklist notes
Jeroen van Wolffelaar [Thu, 2 Feb 2006 01:35:20 +0000 (01:35 +0000)]
First version of TODO listing items to think about
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
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
Frank Lichtenheld [Thu, 2 Feb 2006 00:39:13 +0000 (00:39 +0000)]
Add full text search
Jeroen van Wolffelaar [Thu, 2 Feb 2006 00:16:06 +0000 (00:16 +0000)]
Drop NUL characters and collate whitespace in descriptions.txt
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
Jeroen van Wolffelaar [Wed, 1 Feb 2006 23:51:41 +0000 (23:51 +0000)]
Implement source postfixes
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
Frank Lichtenheld [Wed, 1 Feb 2006 21:55:20 +0000 (21:55 +0000)]
Implement source package names search (no binary package information
yet)
Jeroen van Wolffelaar [Wed, 1 Feb 2006 21:46:00 +0000 (21:46 +0000)]
Drop srcversion logic that was unused
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
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
Frank Lichtenheld [Wed, 1 Feb 2006 21:15:14 +0000 (21:15 +0000)]
Split section (main, etc.) from subsection (admin, etc.) on db generation
Jeroen van Wolffelaar [Wed, 1 Feb 2006 20:39:59 +0000 (20:39 +0000)]
Implement package postfix indexing
Frank Lichtenheld [Wed, 1 Feb 2006 20:00:45 +0000 (20:00 +0000)]
Implement subword package search by linear search. Too slow, though
Frank Lichtenheld [Wed, 1 Feb 2006 19:13:44 +0000 (19:13 +0000)]
* Implement exact packages search
* Implement path parsing
Frank Lichtenheld [Wed, 1 Feb 2006 19:08:15 +0000 (19:08 +0000)]
Add some dummy sub routines that emulate some yet missing modules
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
Jeroen van Wolffelaar [Wed, 1 Feb 2006 15:28:50 +0000 (15:28 +0000)]
Remove debugging shortcut
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
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
Frank Lichtenheld [Wed, 1 Feb 2006 14:44:35 +0000 (14:44 +0000)]
Add apache configuration
Frank Lichtenheld [Wed, 1 Feb 2006 14:29:55 +0000 (14:29 +0000)]
Paging stuff that is independent from any backend considerations
Frank Lichtenheld [Wed, 1 Feb 2006 14:26:41 +0000 (14:26 +0000)]
Include some stuff from the old pages we will need anyway
Frank Lichtenheld [Wed, 1 Feb 2006 14:18:12 +0000 (14:18 +0000)]
Uups
Jeroen van Wolffelaar [Wed, 1 Feb 2006 13:59:49 +0000 (13:59 +0000)]
Trunk created