summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-07-05remove update trigger for package_rel_mapsSean Finney1-10/+0
since now we "mark" new package relationss (which is necessary for removing old relations), remove the update trigger, which would otherwise end up deleting everything in the database...
2008-07-05use a "marked" field to catch stale/removed pkgsSean Finney2-3/+9
2008-07-05no such thing as varchar in sqliteSean Finney1-1/+1
2008-07-01slightly better breadcrumbs in headerSean Finney2-13/+11
2008-07-01left-align diffstat infoSean Finney1-0/+1
2008-06-28shrink the diffstat info a bitSean Finney2-1/+6
2008-06-28force -p1 for diffstat generationSean Finney1-2/+2
2008-06-28remove superfluous diffgz in summarySean Finney1-6/+0
it shows up in the next table below if it exists, anyway.
2008-06-28fix a long overdue XXX wrt diffgz's in pagehandlerSean Finney2-21/+15
2008-06-28minor template touchups / fixesSean Finney3-3/+13
2008-06-28add copyright blah and git links at page bottomSean Finney2-0/+19
2008-06-28xhtml compliance: esc. [^a-zA-Z0-9-] from <a name>Sean Finney2-5/+10
2008-06-28superfluous css changeSean Finney1-0/+1
2008-06-28make summary a little more compactSean Finney1-9/+7
2008-06-28strip surrounding ws from diffstat outputSean Finney1-1/+1
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.