summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-06-28mostly aesthetic changes and initial "breadcrumbs"Sean Finney5-122/+182
2008-06-28don't bother sorting package entries when parsingSean Finney1-3/+1
no reason to, assuming i make a better way to track progress.
2008-06-28have a "slightly" more efficient frontpage querySean Finney4-6/+19
2008-06-28db "optimizations" fsvo "optimization"Sean Finney2-23/+24
stop the voodoo with home-rolled "auto increment" type stuff. also, use sqlite "extensions" for conflict resolution (in schema for all but the source package table, which has it in saveSourcePackage), so that we don't need to check for pre-existing records. the "OR REPLACE" was doing this previously, but had wierd effects with modifying the primary key, which would cause db inconsistency and *really* wierd effects when combined with the triggers).
2008-06-28properly filter on suite/pkg when creating ArchiveSean Finney1-3/+1
2008-06-28key fixup, pkg index, remove blank rows from sqlSean Finney1-9/+7
2008-06-28remove need for initial empty rows, fix syntax errSean Finney1-4/+4
2008-06-26slightly refine the package results handlingSean Finney1-1/+2
2008-06-26whoops, forgot to add searchresults templateSean Finney1-0/+34
2008-06-26package search / versionless implementationSean Finney4-52/+61
going to /packages/pkg now gives a table of contents with the available versions for the package, or the results of a widers search in the case of no exact matches also removed a bunch of dead code from DB mostly
2008-06-26add new collection row factory, query cleanupSean Finney2-42/+37
2008-06-26don't use html backtrace for cmdline testingSean Finney1-1/+3
2008-06-25cleanup/reorganize pagehandler command handlingSean Finney1-77/+103
2008-06-25fix broken downloads from patch view pageSean Finney3-16/+18
2008-06-25frontpage rework and quick/dirty jump formSean Finney4-14/+34
2008-06-24modify relateSourcePackage to take package/versionSean Finney2-5/+5
...instead of a source package, which should remove an extra query and also allow changing the behaviour for findSourcePackage later on as well
2008-06-24add package anchor in tocSean Finney1-0/+1
2008-06-24remove debug printing cruft for db bootstrappingSean Finney1-1/+0
2008-06-24fix for direct patches in subdirsSean Finney1-1/+1
2008-06-24strip epoch before looking for diff.gz fileSean Finney1-2/+6
2008-06-24remove suite info from packagevers template etcSean Finney3-5/+4
the suite isn't readily available, and doesn't make much sense anyway since a single package/version can be shared in multiple suites.
2008-06-24add support for displaying "direct" changesSean Finney4-6/+39
i.e. changes made directly to files (not using any patching system and not underneath ./debian) also introduce new Diffstat class for mangling diff stats in various ways.
2008-06-24slightly smarter frontpage handlingSean Finney1-2/+3
2008-06-24remove Writers, move to templates to TemplatesSean Finney3-36/+3
2008-06-24slightly optimize query logic w/ INSERT OR REPLACESean Finney1-26/+11
2008-06-24remove hardcoded url assumptionsSean Finney2-15/+13
pagehandler now parses commands relative to Conf.root_url (which really should be called something else, like Conf.base_dir), allowing for both flexible subdir-based installs and vhost based installs.
2008-06-24reference static content from unique pathSean Finney2-3/+2
...so we can alias it directly, which should allow for the cleanest subdir vs. vhost support
2008-06-23don't declare ArchiveDiffer with empty parentSean Finney1-1/+1
2008-06-23split up generator and parsing logic in ArchiveSean Finney1-5/+68
also introduce a singleton-like ArchiveDiffer class. the idea is to eventually minimize the number of db queries and speed up the archive<->database sync.
2008-06-22big commit with db and cgi handling updatesSean Finney11-122/+402
i know it's bad form to lump this all together. oh well :p gen-patch-info now does very little besides processing packages and updating the relevant database entries. pretty much everything else is dynamically generated from pagehandler.py now.
2008-06-22add *.db to gitignore, to ignore the sqlite db(s)Sean Finney1-0/+1
2008-06-11saving some work on sqlite related stuffSean Finney2-0/+72
2008-06-11omit displaying info for empty patchesSean Finney1-2/+4
2008-06-11further cgi related fixesSean Finney4-4/+18
2008-06-11initial stab at cgi-based patch generationSean Finney6-1/+123
complete with many ugly hacks to workaround the lack of an underlying database. hopefully it's all marked with XXX for later fixing :) does not cover all patch cases, in fact currently it only covers series patch viewing and downloading.
2008-06-10aesthetic change to url schemeSean Finney1-6/+6
2008-06-10sorting fixups/cleanupsSean Finney1-18/+13
2008-06-10TODO file updatesSean Finney1-0/+20
2008-06-10template fixupsSean Finney2-12/+28
2008-06-10add a DiffGzHandler to the PackageVers templateSean Finney1-4/+15
2008-06-10add key-based sorting on package listingsSean Finney1-2/+6
2008-06-10updates to Patch/DiffGzHandlerSean Finney2-15/+75
Patch now implements a diffstat() functionality, and is slightly more robust in series parsing at the expense of being totally ugly. Diffstat had some minor cleanups and slight improvements to __main__.
2008-06-09add cmdline opts for selective pkg/suite processingSean Finney2-8/+32
2008-06-05partially cgi-ify code, temp. stop per-pkg pagesSean Finney3-73/+3
so this breaks things a bit, but it seems a design decision is being made that everything doesn't have to be static after all, given the huge disk space requirements it would create...
2008-06-05new classes for diff/diff.gz handlingSean Finney2-0/+133
DiffGzHandler should be an extensible interface to getting whatever info is needed from a diff.gz file. Patch (and PatchSeries from the same module) should be an extensible interface for whatever mangling we need to with patches.
2008-06-05add vim swapfiles to .gitignoreSean Finney1-0/+1
2008-06-04post modulizing readme updateSean Finney1-2/+2
2008-06-04most modulizing cleanup and guts-hidingSean Finney2-23/+18
2008-06-04update pyc ignore rule in gitignoreSean Finney1-1/+1
2008-06-04split up / modularize python code just a bitSean Finney5-212/+243