deb/packages.git
16 years agoAdd mail stuff from old code
Frank Lichtenheld [Tue, 28 Feb 2006 21:41:42 +0000 (21:41 +0000)]
Add mail stuff from old code

16 years agoFix some minor issues
Frank Lichtenheld [Tue, 28 Feb 2006 21:28:07 +0000 (21:28 +0000)]
Fix some minor issues

16 years agoDon't let come virtual packages in our way
Frank Lichtenheld [Tue, 28 Feb 2006 17:30:32 +0000 (17:30 +0000)]
Don't let come virtual packages in our way
also use new URL handling here

16 years agoUpdate
Frank Lichtenheld [Tue, 28 Feb 2006 17:05:34 +0000 (17:05 +0000)]
Update

16 years ago* completly overhaul URL generating. Now things like debug or language
Frank Lichtenheld [Tue, 28 Feb 2006 17:04:00 +0000 (17:04 +0000)]
* completly overhaul URL generating. Now things like debug or language
  options should get preserved on subsequent links
* Move param handling from Search.pm to CGI.pm since that is more appropriate
  nowadays (some of the other stuff should really move to DB.pm, too)
* be stricter about what is allowed after package name in URLs
  (only architecture really) so that we can avoid more false
  URL interpretation

16 years agoAdd changelogs/ to exclusion list for rewrites
Frank Lichtenheld [Fri, 24 Feb 2006 13:18:22 +0000 (13:18 +0000)]
Add changelogs/ to exclusion list for rewrites

16 years agoSort packages listed by pkg_list
Frank Lichtenheld [Fri, 24 Feb 2006 13:17:52 +0000 (13:17 +0000)]
Sort packages listed by pkg_list

16 years agoMake a reminder that fb_suite dealing isn't always giving correct results,
Jeroen van Wolffelaar [Fri, 24 Feb 2006 03:24:36 +0000 (03:24 +0000)]
Make a reminder that fb_suite dealing isn't always giving correct results,
I'll fix it later, but it's currently too hard to think about correctly

16 years agoupdate
Frank Lichtenheld [Fri, 24 Feb 2006 03:21:58 +0000 (03:21 +0000)]
update

16 years agoSupport multiple archives
Frank Lichtenheld [Fri, 24 Feb 2006 03:21:30 +0000 (03:21 +0000)]
Support multiple archives

16 years agoFix download locations for source packages
Frank Lichtenheld [Fri, 24 Feb 2006 01:56:46 +0000 (01:56 +0000)]
Fix download locations for source packages
Introduce fallback suites in read_entry_simple so that
 we can e.g. look up the dependencies for experimental in unstable

16 years agoSome fixes to archive handling
Frank Lichtenheld [Fri, 24 Feb 2006 00:36:27 +0000 (00:36 +0000)]
Some fixes to archive handling

16 years agoFix some minor issues
Frank Lichtenheld [Thu, 23 Feb 2006 19:03:35 +0000 (19:03 +0000)]
Fix some minor issues

16 years agoClarify that some packages are merely *also* a virtual package
Jeroen van Wolffelaar [Thu, 23 Feb 2006 17:52:57 +0000 (17:52 +0000)]
Clarify that some packages are merely *also* a virtual package

16 years agoUpdate
Frank Lichtenheld [Thu, 23 Feb 2006 16:55:30 +0000 (16:55 +0000)]
Update

16 years agoAlso send charset for RSS file
Frank Lichtenheld [Thu, 23 Feb 2006 16:54:34 +0000 (16:54 +0000)]
Also send charset for RSS file

16 years agoAdd format parameter (used by DoNewPkg and DoIndex)
Frank Lichtenheld [Thu, 23 Feb 2006 16:50:14 +0000 (16:50 +0000)]
Add format parameter (used by DoNewPkg and DoIndex)
Add mode paramter (used by DoNewPkg)
Add DoNewPkg which displays the list of new packages

16 years agoAdd hostname variable
Frank Lichtenheld [Thu, 23 Feb 2006 16:46:48 +0000 (16:46 +0000)]
Add hostname variable

16 years agoNow that the archive isn't as important anymore, use per suite lists
Frank Lichtenheld [Thu, 23 Feb 2006 16:45:46 +0000 (16:45 +0000)]
Now that the archive isn't as important anymore, use per suite lists
of sections, subsections, and priorities

16 years agoFix two warnings
Jeroen van Wolffelaar [Thu, 23 Feb 2006 15:30:12 +0000 (15:30 +0000)]
Fix two warnings

16 years agoprovides should be handled exactly like the short desc
Frank Lichtenheld [Thu, 23 Feb 2006 14:05:36 +0000 (14:05 +0000)]
provides should be handled exactly like the short desc

16 years agoMake sure also only-virtual packages are listed in packages_small.db
Jeroen van Wolffelaar [Thu, 23 Feb 2006 13:56:29 +0000 (13:56 +0000)]
Make sure also only-virtual packages are listed in packages_small.db

16 years agoPackages, that were both real and virtual were listed twice
Frank Lichtenheld [Thu, 23 Feb 2006 13:22:35 +0000 (13:22 +0000)]
Packages, that were both real and virtual were listed twice

16 years agoRemove stray </td>
Jeroen van Wolffelaar [Thu, 23 Feb 2006 12:48:52 +0000 (12:48 +0000)]
Remove stray </td>

16 years agoIt was late
Frank Lichtenheld [Thu, 23 Feb 2006 12:30:30 +0000 (12:30 +0000)]
It was late

16 years agoNow that we have changed the nesting of the loops remove workaround
Frank Lichtenheld [Thu, 23 Feb 2006 11:41:26 +0000 (11:41 +0000)]
Now that we have changed the nesting of the loops remove workaround
needed for the previous one

16 years agoPut $architecture loop in the inner, and ensure all kind of suite-specific
Jeroen van Wolffelaar [Thu, 23 Feb 2006 10:35:38 +0000 (10:35 +0000)]
Put $architecture loop in the inner, and ensure all kind of suite-specific
databases are really suite-specific, and not just have info of the last
processed $archive

16 years agoAdd stuff
Jeroen van Wolffelaar [Thu, 23 Feb 2006 10:30:29 +0000 (10:30 +0000)]
Add stuff

16 years agoClean-up behind Jeroen :)
Frank Lichtenheld [Thu, 23 Feb 2006 05:38:25 +0000 (05:38 +0000)]
Clean-up behind Jeroen :)
Also begin working on newpkg support
create_index_pages doesn't work again yet, but I really need some sleep
right now ;)

16 years agoAdd missing "if DEBUG"
Frank Lichtenheld [Thu, 23 Feb 2006 03:37:30 +0000 (03:37 +0000)]
Add missing "if DEBUG"

16 years agoReally adapt these to new archive/suite definitions
Frank Lichtenheld [Thu, 23 Feb 2006 03:37:15 +0000 (03:37 +0000)]
Really adapt these to new archive/suite definitions

16 years agoAdd forgotten DEBUG
Jeroen van Wolffelaar [Thu, 23 Feb 2006 03:18:28 +0000 (03:18 +0000)]
Add forgotten DEBUG

16 years agoAdd a link to the source at the top
Jeroen van Wolffelaar [Thu, 23 Feb 2006 02:57:11 +0000 (02:57 +0000)]
Add a link to the source at the top

16 years agoSimply some stuff due to (suite,arch) now being unique and $archive being
Jeroen van Wolffelaar [Thu, 23 Feb 2006 02:52:48 +0000 (02:52 +0000)]
Simply some stuff due to (suite,arch) now being unique and $archive being
'just' a field

16 years agoRetrieve backports & volatile to their own suite
Jeroen van Wolffelaar [Thu, 23 Feb 2006 02:31:33 +0000 (02:31 +0000)]
Retrieve backports & volatile to their own suite

16 years agoChange _small.db layout a bit, to include virtual packages consisely at the
Jeroen van Wolffelaar [Thu, 23 Feb 2006 02:28:15 +0000 (02:28 +0000)]
Change _small.db layout a bit, to include virtual packages consisely at the
top, and the newest of the concrete packages as the first item, significantly
simplifying read_entry_small

16 years agoFix an error I introduced in an earlier commit
Frank Lichtenheld [Thu, 23 Feb 2006 00:48:11 +0000 (00:48 +0000)]
Fix an error I introduced in an earlier commit

16 years agoTypo in format string
Frank Lichtenheld [Thu, 23 Feb 2006 00:19:51 +0000 (00:19 +0000)]
Typo in format string

16 years agoEliminate the last non-translatable strings
Frank Lichtenheld [Thu, 23 Feb 2006 00:17:58 +0000 (00:17 +0000)]
Eliminate the last non-translatable strings

16 years agoAdd a note about search_packages compatibility
Frank Lichtenheld [Thu, 23 Feb 2006 00:17:05 +0000 (00:17 +0000)]
Add a note about search_packages compatibility

16 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

16 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

16 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

16 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

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

16 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

16 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

16 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

16 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)

16 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

16 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

16 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

16 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

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

16 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.

16 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

16 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

16 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

16 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

16 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

16 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 (&)

16 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

16 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

16 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.

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

16 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)

16 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

16 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

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

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

16 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

16 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)

16 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.

16 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

16 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

16 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

16 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

16 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.

16 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

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

16 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

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

16 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

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

16 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

16 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)

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

16 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

16 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

16 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

16 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...

16 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

16 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

16 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

16 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

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

16 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

16 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

16 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

16 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)